Skip to content
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 code-paths only relevant for IE 11/Edge (non-Chromium based) from the web/ folder #12328

Merged
merged 1 commit into from
Sep 6, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

This patch purposely starts small, by removing IE-specific code from various JS/CSS files in the web/ folder.

There's obviously lots of potential for additional clean-up, especially the removal of no longer necessary polyfills in src/shared/compatibility.js, however that will require some care considering that certain polyfills may also be necessary for e.g. Node.js or the Chromium-extension as well.
Generally speaking, once we start removing polyfills it's probably a good idea to consult the compatibility information on https://developer.mozilla.org/ and also https://caniuse.com/ first. (Deciding on the lowest supported Chromium version, for the extension, would also seem like a good idea.)

…rom the `web/` folder

This patch purposely starts small, by removing IE-specific code from various JS/CSS files in the `web/` folder.

There's obviously lots of potential for additional clean-up, especially the removal of no longer necessary polyfills in `src/shared/compatibility.js`, however that will require some care considering that certain polyfills may also be necessary for e.g. Node.js or the Chromium-extension as well.
Generally speaking, once we start removing polyfills it's probably a good idea to consult the compatibility information on https://developer.mozilla.org/ and also https://caniuse.com/ first. (Deciding on the lowest supported Chromium version, for the extension, would also seem like a good idea.)
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Sep 6, 2020

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/46f6d11d6c5a828/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 6, 2020

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/46f6d11d6c5a828/output.txt

Total script time: 3.53 mins

Published

@timvandermeij timvandermeij merged commit 83e1bbe into mozilla:master Sep 6, 2020
@timvandermeij
Copy link
Contributor

Nice clean-up!

@Snuffleupagus Snuffleupagus deleted the rm-web-IE branch September 6, 2020 12:19
@mozilla mozilla deleted a comment from mr1260356 Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants