Skip to content

Conversation

@maettuu
Copy link
Contributor

@maettuu maettuu commented Aug 6, 2025

This test was automatically generated and could serve as a regression test for PR #18844. The added test:

  • fails on the codebase prior to the PR
  • passes on the codebase after the PR
  • still passes against today’s pdf.js master branch

It verifies that sans-serif is correctly mapped to Calibri and monospace to Lucida Console on Windows/Firefox.

This is part of our research at the ZEST group of University of Zurich in collaboration with Mozilla.
If you have any suggestions, questions, or simply want to learn more, feel free to contact us at [email protected] and [email protected].

Verifies that sans-serif is mapped to Calibri and monospace to Lucida Console on Windows/Firefox

See PR mozilla#18844
@maettuu
Copy link
Contributor Author

maettuu commented Sep 16, 2025

@calixteman Let me know if anything else is needed for merging :)

@calixteman
Copy link
Contributor

/botio unittest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @calixteman received. Current queue size: 0

Live output at: http://54.241.84.105:8877/8e29116b0490275/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_unittest from @calixteman received. Current queue size: 0

Live output at: http://54.193.163.58:8877/bbacdf39fa50a92/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/8e29116b0490275/output.txt

Total script time: 2.65 mins

  • Unit Tests: FAILED

@calixteman
Copy link
Contributor

@maettuu the newly added test is failing:

TEST-UNEXPECTED-FAIL | should use Calibri and Lucida Console on Windows with Firefox | in firefox | Error: <spyOnProperty> : Property platform does not have access type get
Usage: spyOnProperty(<object>, <propName>, [accessType]) in http://127.0.0.1:42501/node_modules/jasmine-core/lib/jasmine-core/jasmine.js (line 10072) 

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/bbacdf39fa50a92/output.txt

Total script time: 8.74 mins

  • Unit Tests: FAILED

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.

4 participants