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

Modernize, and remove SystemJS usage from, the font-tests #12532

Merged
merged 3 commits into from
Oct 26, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

Please refer to the individual commit messages for additional information.

With these changes, SystemJS is now only used to load the worker-file in development mode (pending removal once https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 is fixed).

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_fonttest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/3a4c2a835ae760d/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/3a4c2a835ae760d/output.txt

Total script time: 1.78 mins

  • Font Tests: Passed

This patch first of all enables linting of the files in the `test/font/` folder, and secondly it also re-factors all test files to use native `import`/`export` statements. Finally, all tests are now loaded correctly, rather than being included as scripts through the `font_test.html` file.
This was done automatically, using the `gulp lint --fix` command.
With these changes, SystemJS is now *only* used to load the worker-file in development mode (pending removal once https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 is fixed).
@Snuffleupagus Snuffleupagus marked this pull request as ready for review October 26, 2020 22:49
@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_fonttest from @Snuffleupagus received. Current queue size: 1

Live output at: http://54.67.70.0:8877/6dcfbbba521f31b/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/6dcfbbba521f31b/output.txt

Total script time: 1.76 mins

  • Font Tests: Passed

@timvandermeij timvandermeij merged commit 8098102 into mozilla:master Oct 26, 2020
@timvandermeij
Copy link
Contributor

Thank you for doing this! Much nicer without those global exports as well.

@Snuffleupagus Snuffleupagus deleted the refactor-font-tests branch October 27, 2020 08:35
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