-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[api-minor] Remove SystemJS usage, in development mode, from the worker #12563
[api-minor] Remove SystemJS usage, in development mode, from the worker #12563
Conversation
74e19ed
to
37162b5
Compare
37162b5
to
2cb7fe0
Compare
2cb7fe0
to
229ef40
Compare
229ef40
to
47b5e02
Compare
d4edbdc
to
e9b7843
Compare
e9b7843
to
6023063
Compare
6023063
to
dca3b31
Compare
ec02d34
to
e9b8fbd
Compare
744a84c
to
18e997d
Compare
18e997d
to
5105a5c
Compare
dbdf30e
to
1d61a58
Compare
70a9b32
to
1ebc9a7
Compare
5d0cc0c
to
02c4569
Compare
02c4569
to
0ba8de5
Compare
3e6abdf
to
18bf0e1
Compare
18bf0e1
to
80fd9c6
Compare
ee59c4d
to
35deb8e
Compare
4292d63
to
5cb7023
Compare
Now that https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 has landed in Firefox, we're able to use worker-modules during development :-) This removes the final piece of SystemJS usage from the PDF.js library, thus allowing a fair bit of clean-up, and we now use *only* native `import`/`export` statements everywhere in development mode.
… to re-format `src/core/{glyphlist, unicode}.js`" This reverts commit 56fa6d4 now that SystemJS is gone.
…apability` class This is not only slightly more compact, but it also simplifies the handling of the `settled` getter.
…read Now that we no longer depend on the old Babel version in SystemJS we can remove the `static get ...` work-arounds used to define constants, which leads to slightly more compact code.
5cb7023
to
88616f7
Compare
https://bugzilla.mozilla.org/show_bug.cgi?id=1812591 has now landed in Firefox Nightly, see also https://groups.google.com/a/mozilla.org/g/dev-platform/c/J5zqdaNSpAM, which should've been the final blocker for this PR :-) Please note: This patch only introduces worker modules for the development viewer, i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good overall.
It's good to see this patch becoming a reality.
Thank you.
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/92fc4d70c7aa33f/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/aa34e9d32a22860/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/aa34e9d32a22860/output.txt Total script time: 27.30 mins
Image differences available at: http://54.241.84.105:8877/aa34e9d32a22860/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/92fc4d70c7aa33f/output.txt Total script time: 34.05 mins
Image differences available at: http://54.193.163.58:8877/92fc4d70c7aa33f/reftest-analyzer.html#web=eq.log |
Nice work, and really good to get rid of SystemJS now! |
Now that https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 has landed in Firefox, we're able to use worker-modules during development :-)
This removes the final piece of SystemJS usage from the PDF.js library, thus allowing a fair bit of clean-up, and we now use only native
import
/export
statements everywhere in development mode.