Timeout in toolkit/components/pdfjs/test/test_pdf_file_in_iframe.html in M-xorig
Categories
(GeckoView Graveyard :: Sandboxing, defect, P1)
Tracking
(firefox120 wontfix, firefox121 fixed)
People
(Reporter: owlish, Assigned: calixte)
References
Details
(Whiteboard: [fission:android][fxdroid])
Attachments
(1 file)
This test fails on all Android builds with both isolateEverything
and isolateHighValue
isolation strategies (fission.webContentIsolationStrategy
set to 1 or 2 respectively).
Failures:
[task 2023-11-03T20:29:25.869Z] 20:29:25 INFO - TEST-START | toolkit/components/pdfjs/test/test_pdf_file_in_iframe.html
[task 2023-11-03T20:34:28.540Z] 20:34:28 WARNING - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/test_pdf_file_in_iframe.html | Test timed out. -
[task 2023-11-03T20:34:28.540Z] 20:34:28 WARNING - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/test_pdf_file_in_iframe.html | [SimpleTest.finish()] No checks actually run. (You need to call ok(), is(), or similar functions at least once. Make sure you use SimpleTest.waitForExplicitFinish() if you need it.)
[task 2023-11-03T20:34:28.540Z] 20:34:28 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2023-11-03T20:34:28.540Z] 20:34:28 INFO - afterCleanup@SimpleTest/SimpleTest.js:1477:18
[task 2023-11-03T20:34:28.540Z] 20:34:28 INFO - executeCleanupFunction@SimpleTest/SimpleTest.js:1562:7
[task 2023-11-03T20:34:28.541Z] 20:34:28 INFO - SimpleTest.finish@SimpleTest/SimpleTest.js:1582:3
[task 2023-11-03T20:34:28.541Z] 20:34:28 INFO - @SimpleTest/SimpleTest.js:2265:16
[task 2023-11-03T20:34:28.541Z] 20:34:28 INFO - async*@SimpleTest/SimpleTest.js:2262:17
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
Hey calixte, do you know what might be going on here?
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
An await
is missing here:
https://searchfox.org/mozilla-central/source/toolkit/components/pdfjs/content/GeckoViewPdfjsParent.sys.mjs#353
but unfortunately, this isn't enough to fix the issue.
When we're getting Nimbus data, we send a message to the parent, then it gets the data, send them to the child and the child notifies an observer to send them to the content process.
For any reason, when the test is ran with --enable-xorigin-tests
, the observer doesn't receive the notification:
- https://searchfox.org/mozilla-central/source/toolkit/components/pdfjs/content/GeckoViewPdfjsChild.sys.mjs#41
- https://searchfox.org/mozilla-central/source/toolkit/components/pdfjs/content/PdfStreamConverter.sys.mjs#318-323
The test works correctly on Android without the above option and on desktop with/without the option.
:owlish, do you know what's wrong here ? or do you know who could help me to figure out what's wrong ?
Assignee | ||
Comment 4•1 year ago
|
||
I found what's wrong.
Here:
https://searchfox.org/mozilla-central/source/toolkit/components/pdfjs/content/GeckoViewPdfjsParent.sys.mjs#341-344
we must use sendAsyncMessage
to send a message the child actor, right now a new pair of actors is created which is wrong.
Updated•1 year ago
|
Comment 6•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•9 months ago
|
Description
•