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

Replace done callbacks in the font-tests with async/await instead #13263

Merged
merged 2 commits into from Apr 21, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

No description provided.

@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/afd6c5bb5eebbe4/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/ffaa042170ad00d/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/afd6c5bb5eebbe4/output.txt

Total script time: 1.85 mins

  • Font Tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/ffaa042170ad00d/output.txt

Total script time: 3.68 mins

  • Font Tests: Passed

@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/609f1301a11d9e0/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/efd7cf73f3383fc/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/609f1301a11d9e0/output.txt

Total script time: 1.87 mins

  • Font Tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/efd7cf73f3383fc/output.txt

Total script time: 60.00 mins

@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/9a0566b9abfbb0d/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/13130e486ba9f41/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/9a0566b9abfbb0d/output.txt

Total script time: 1.84 mins

  • Font Tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/13130e486ba9f41/output.txt

Total script time: 5.13 mins

  • Font Tests: Passed

Copy link
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me with the comment addressed.

test/font/fontutils.js Outdated Show resolved Hide resolved
@Snuffleupagus Snuffleupagus marked this pull request as draft April 20, 2021 21:35
By replacing `XMLHttpRequest` with a `fetch` call, the helper function can be modernized to use async/await instead.
Note that the headers doesn't seem necessary to set now, since:
 - The Fetch API provides a method for accessing the response as *text*, which renders the "Content-type" header unnecessary.
 - According to https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name, the "Content-length" header isn't necessary.
@Snuffleupagus
Copy link
Collaborator Author

/botio fonttest

@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/cc1f24a218c3eff/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/5966d5239d525f2/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/cc1f24a218c3eff/output.txt

Total script time: 1.85 mins

  • Font Tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/5966d5239d525f2/output.txt

Total script time: 3.56 mins

  • Font Tests: Passed

@Snuffleupagus Snuffleupagus marked this pull request as ready for review April 20, 2021 21:51
@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/9cacc3cfdd926a1/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/8fb67353b43ef5c/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/9cacc3cfdd926a1/output.txt

Total script time: 1.83 mins

  • Font Tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/8fb67353b43ef5c/output.txt

Total script time: 4.70 mins

  • Font Tests: Passed

@timvandermeij timvandermeij merged commit 2d073b9 into mozilla:master Apr 21, 2021
@timvandermeij
Copy link
Contributor

Looks really good, and using the fetch API is also much cleaner. Thank you for doing this!

@Snuffleupagus Snuffleupagus deleted the font-tests-rm-done branch April 21, 2021 19:31
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.

None yet

3 participants