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

[api-minor] Remove the default-factories from the viewer components (PR 15811 follow-up) #16592

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

The changes in PR #15811 have now been included in no less than six official releases, hence it should hopefully be OK to remove this now.

…PR 15811 follow-up)

The changes in PR 15811 have now been included in no less than six official releases, hence it should hopefully be OK to remove this now.
…s the expected functionality

Until now we've not actually had *any* tests that ensure that the *official* PDF.js-viewer API exposes the intended functionality, which means that things can easily break accidentally.

*Please note:* This unit-test cannot (easily) be run in Node.js-environments, since the `external/webL10n/l10n.js` file contains various browser-specific functionality.
}
}
/* 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.
@mozilla mozilla deleted a comment from moz-tools-bot Jun 24, 2023
@mozilla mozilla deleted a comment from moz-tools-bot Jun 24, 2023
@mozilla mozilla deleted a comment from moz-tools-bot Jun 24, 2023
@mozilla mozilla deleted a comment from moz-tools-bot Jun 24, 2023
@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/b8b817bff04d70f/output.txt

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

@Snuffleupagus Snuffleupagus linked an issue Jun 24, 2023 that may be closed by this pull request
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

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

Total script time: 2.63 mins

  • Unit Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/99d2dfcc23e4904/output.txt

Total script time: 11.28 mins

  • Unit Tests: Passed

@timvandermeij timvandermeij merged commit 436699b into mozilla:master Jun 24, 2023
@timvandermeij
Copy link
Contributor

Looks good!

@Snuffleupagus Snuffleupagus deleted the rm-viewer-component-default-factory branch June 25, 2023 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export enum FindState from pdf viewer
3 participants