Skip to content

Ensure that the viewer clears the workerPort option when using "fake" workers #19939

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

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Without this "fake" workers may be ignored in the API, which isn't really what you want when manually providing the disableWorker=true hash parameter. (Note that this requires the pdfBugEnabled option/preference to be set as well.)

Also, after the changes in PR #19810 we can just load the "fake" worker directly in development mode and don't need to manually assign it to the global scope.

@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/36beb94b5d72daf/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/36beb94b5d72daf/output.txt

Total script time: 0.96 mins

Published

@Snuffleupagus Snuffleupagus changed the title Ensure that viewer clears the workerPort option when using "fake" workers Ensure that the viewer clears the workerPort option when using "fake" workers May 17, 2025
…e" workers

Without this "fake" workers may be ignored in the API, which isn't really what you want when manually providing the `disableWorker=true` hash parameter. (Note that this requires the `pdfBugEnabled` option/preference to be set as well.)

Also, after the changes in PR 19810 we can just load the "fake" worker directly in development mode and don't need to manually assign it to the global scope.
@Snuffleupagus Snuffleupagus force-pushed the disableWorker-clear-workerPort branch from bd2355f to eef1e3e Compare May 17, 2025 09:41
@calixteman
Copy link
Contributor

I'm just using this to check that the win bot is ok:
/botio-windows unittest

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

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/751d06f5b7c6a9b/output.txt

Total script time: 10.55 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. Thank you.

@Snuffleupagus Snuffleupagus merged commit f72f240 into mozilla:master May 18, 2025
11 of 13 checks passed
@Snuffleupagus Snuffleupagus deleted the disableWorker-clear-workerPort branch May 18, 2025 06:38
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