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

In the autoprint integration test, resolve the promise on 'afterprint' event #18690

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

calixteman
Copy link
Contributor

No description provided.

@calixteman
Copy link
Contributor Author

It could fix (saw in #18670 (comment)):

�[32m.�[0mTEST-PASSED | must check if printing is triggered when the document is open
JavaScript warning: http://127.0.0.1:51169/build/generic/web/viewer.mjs, line 7494: Script terminated by timeout at:
useRenderedPage/<@http://127.0.0.1:51169/build/generic/web/viewer.mjs:7494:5
BlobCallback*useRenderedPage@http://127.0.0.1:51169/build/generic/web/viewer.mjs:7492:24
promise callback*renderNextPage@http://127.0.0.1:51169/build/generic/web/viewer.mjs:7483:176
renderPages@http://127.0.0.1:51169/build/generic/web/viewer.mjs:7487:12
window.print@http://127.0.0.1:51169/build/generic/web/viewer.mjs:7557:19
triggerPrinting@http://127.0.0.1:51169/build/generic/web/viewer.mjs:14145:14
dispatch@http://127.0.0.1:51169/build/generic/web/viewer.mjs:1426:15
#updateFromSandbox@http://127.0.0.1:51169/build/generic/web/viewer.mjs:7975:26
async*setDocument/<@http://127.0.0.1:51169/build/generic/web/viewer.mjs:7812:32
dispatch@http://127.0.0.1:51169/build/generic/web/viewer.mjs:1426:15
bindWindowEvents/<@http://127.0.0.1:51169/build/generic/web/viewer.mjs:14365:16
send@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs:156:18
createSandboxExternals/<@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs:162:39
U@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs:53:603451
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[939]:0x4bc61
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[1130]:0x580c0
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[210]:0xabc8
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[210]:0xbe9a
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[210]:0xbfc4
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[28]:0x1cbf
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[1127]:0x57ac0
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[210]:0xabc8
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[210]:0xbfc4
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[54]:0x2cbe
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[695]:0x38b4d
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[1009]:0x51284
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[691]:0x38282
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[391]:0x1da5a
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[854]:0x45d6d
@http://127.0.0.1:51169/build/generic/build/pdf.sandbox.mjs line 53 > WebAssembly.instantiate:wasm-function[1130]:0x580c0

@calixteman
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

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

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

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

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

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

Total script time: 8.99 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

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

Total script time: 18.59 mins

  • Integration Tests: Passed

@calixteman calixteman merged commit e3fd62d into mozilla:master Sep 4, 2024
6 checks passed
@calixteman calixteman deleted the print_test_afterprint branch September 4, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants