-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
Remove more Internet Explorer code #2427
Remove more Internet Explorer code #2427
Conversation
This pull request fixes 2 alerts when merging 721e8e8 into 71998f5 - view on LGTM.com fixed alerts:
|
How about this?
|
The content of the All references to Internet Explorer must be removed from OpenMage. The last version of IE11 is no longer supported from June 15, 2022. As in the case of Adobe Flash Player, Microsoft has decided to remove it from Windows 10 in the following upgrades. It was the best browser to download other browser like Google Chrome. |
|
You are doing very well. We should establish as a rule so that a PR does not contain too many changes, especially on different aspects. It is easier to approve a PR that deals with an issue and is tested and approved quickly, than to keep testing it and delay approval because there are too many issues solved in it. |
Cleaning the OM code of IE chunks is much more extensive than we thought. I searched in the project for IE 6, IE 7, ..., IE 11 and I found references even in the layout files in /app/designs (e.g. "if IE lower than 6 load this css/js file". The hardest task is in the files where there are no comments related to IE. Relics left in the code that I think are over 10 years old. Today someone told me that what he learned 5 years ago in his field is no longer fully valid and that things have changed and he had to update himself with the latest news. That's what we do every day here |
@addison74 make sure you're only searching the 20.0 branch. IE compatibility was not removed from 1.9.4.x and many of the references you mention sound like things removed in #1073 |
I know about #1073, I have a few comments there. I didn't check if it was completely removed from 20.0. This time it is a special case, it is about an old browser which is no longer maintained, which has security and data presentation issues in the Frontend. IE 8 doesn't understand secured connection. OM should no longer support this browser. One is to ensure the compatibility of some extensions and another is to encourage the use of an expired and dangerous browser. Maybe we still find IE9 - IE11 installed through Windows 7 and 10, but I already see statistics where IE doesn't even exist anymore. In addition, Microsoft has decided that in the next phase of Windows it will eliminate IE once and for all. , It should have been removed from 1.9.4.x as well. |
It was not removed from 1.9.4.x because it was a breaking change. But also major changes like that shouldn't happen to an LTS release... no need to. If there are still MSIE code in 20.0 I will remove it as I come across it. |
721e8e8
to
024a8d5
Compare
This pull request fixes 1 alert when merging 024a8d5 into 71998f5 - view on LGTM.com fixed alerts:
|
I would remove from OM all the code related to Internet Explorer. This BC that we keep citing in posts when it comes to OM-19 I find it useful in the case of extensions/modules, a specific server configuration, but not in the case of an expired browser. Basically we want to protect the interests of a visitor of an OM-based store who refuses to update to a modern browser. IE 6 - 11 have big security issues, some versions don't even establish TLS1.2 connection anymore. Removing the OM code will not create trouble, only for those who use the expired browser. In conclusion, I don't see a BC issue at all in this case. |
We have to double check why #1073 was BC breaking. I don't think it was just because we remove MSIE compatibility, but I think it was a function declaration that changes. This could be an actual BC break for any module that might have extended that function. |
024a8d5
to
e9226d2
Compare
This pull request fixes 1 alert when merging c5db926 into d448eeb - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 152dae9 into bc4b2cd - view on LGTM.com fixed alerts:
|
Description (*)
Despite #1073, MSIE somehow lives on in our codebase. I am attempting to remove more instances of Internet Explorer.
This is a breaking change because of the removal of javascript functionsI instead made those functions stubs, so there shouldn't be a breaking change here.toggleSelectsUnderBlock
andsetLoaderPosition
. Also because #1073 was into 20.0 as well.This PR is not tested yet! I should test to see what happens if a user has duplicated a template that still callsSee abovetoggleSelectsUnderBlock
. I am not sure if it will break the JS or just log an error. If it breaks things, I can just make the content of those functions empty.Also I removedNow in separate PR #2434js/lib/flex.js
. I think it remained from #2271.Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)