-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[WebProfilerBundle] Fixed IE8 support #12900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
korotovsky
commented
Dec 8, 2014
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | N/A |
License | MIT |
Doc PR | N/A |
IMO It has been said many times.. Ancient browsers are not supported in dev mode. |
@korotovsky thanks for your pull request and for helping us improve Symfony! Unfortunately, as pointed by @mvrhov, we usually don't accept this kind of pull request. The reason is that Symfony is a backend technology, so there is no need to test it with a specific browser. We understand that the end clients sometimes are stuck in a particular browser (e.g. IE8) but developers never are. If you are a Symfony developer, there is no reason to use IE8 to test the dev toolbar. That's why we decided to not dedicate any effort to make the debug toolbar compatible with ancient browsers. I hope you understand this decision! |
@mvrov So... Everything was fine in version <2.6. And in UPGRADE file this deprecation didn't listed. That's why this is bug, and should be fixed. |
@javiereguiluz That means our frontend developers now unable to test site in IE8 without any additional work from backend. (to disable toolbar in IE8). Sad. |
If it worked in Symfony 2.5 and considering the change here, which looks like very simple, I'm 👍 |
@javiereguiluz our policy was that we don't need to support IE8 in the profiler. But the WDT is displayed in the page itself, and errors in IE8 means it will break the page itself. We already fixed the IE support for it previously (see the changelog for 2.3.5). |
hmm, actually, IE8 does not implement |
@stof http://caniuse.com/#search=querySelectorAll
IE8 has partial |
IMHO, the profiler and the toolbar should provide the same support for browsers/versions. They are meant to be used by backend developers, they don't give any value for frontend developers trying to make the website compatible with older browsers. The problem is that they need an easy way to disable the web toolbar in those cases. AFAIK, the recommended way now would be having a different environment that extends from
I think that the important thing here is being able to disable the toolbar easily and look for a good way to do it. |
👍 ping @symfony/deciders |
👍 |
Thank you @korotovsky. |
This PR was merged into the 2.6 branch. Discussion ---------- [WebProfilerBundle] Fixed IE8 support | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Commits ------- a6dd6c9 [WebProfilerBundle] Fixed IE8 support
This PR was merged into the 2.6 branch. Discussion ---------- [WebProfilerBundle] Fixed IE8 support | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Commits ------- a6dd6c9 [WebProfilerBundle] Fixed IE8 support