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

Add unit-tests to check that more PDF.js APIs expose the expected functionality #16658

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

Snuffleupagus
Copy link
Collaborator

Similar to e.g. PR #16587, let's ensure that the pdf.worker.js and pdf.image_decoders.js files expose the expected functionality.

…ctionality

Similar to e.g. PR 16587, let's ensure that the `pdf.worker.js` and `pdf.image_decoders.js` files expose the expected functionality.
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

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

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/b39a508e2244b75/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/b39a508e2244b75/output.txt

Total script time: 2.62 mins

  • Unit Tests: Passed

// eslint-disable-next-line no-unused-vars
const pdfjsBuild = PDFJSDev.eval("BUNDLE_BUILD");
/* eslint-disable-next-line no-unused-vars */
const pdfjsVersion =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable pdfjsVersion.
const pdfjsVersion =
typeof PDFJSDev !== "undefined" ? PDFJSDev.eval("BUNDLE_VERSION") : void 0;
/* eslint-disable-next-line no-unused-vars */
const pdfjsBuild =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable pdfjsBuild.
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

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

Total script time: 12.88 mins

  • Unit Tests: Passed

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

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

LGTM.

@Snuffleupagus Snuffleupagus merged commit 5696c3a into mozilla:master Jul 8, 2023
@Snuffleupagus Snuffleupagus deleted the test-more-APIs branch July 8, 2023 06:17
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