Perma dom/media/tests/crashtests/1429507_1.html | load failed: timed out waiting for reftest-wait to be removed when Gecko 147 merges to beta on 2025-12-08
Categories
(Core :: DOM: Navigation, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox145 | --- | unaffected |
| firefox146 | --- | unaffected |
| firefox147 | + | disabled |
| firefox148 | --- | verified |
People
(Reporter: agoloman, Assigned: vhilla)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Updated•7 months ago
|
| Assignee | ||
Comment 1•7 months ago
|
||
Can reproduce with android, central-as-beta, nofis. The window.open("/") call fails.
Here's the log
1-27 14:22:27.435 6747 6788 I GeckoDump: TEST START
11-27 14:22:27.441 6691 6713 I Gecko : [Parent 6691, Main Thread] WARNING: NS_ENSURE_TRUE(domWin) failed: file /home/vincent/mozilla-unified/widget/android/GeckoProcessManager.h:41
11-27 14:22:27.446 6747 6788 W GeckoEditableChild: No editable parent
11-27 14:22:27.451 6691 6713 I Gecko : [Parent 6691, Main Thread] WARNING: NS_ENSURE_TRUE(domWin) failed: file /home/vincent/mozilla-unified/widget/android/GeckoProcessManager.h:41
11-27 14:22:27.451 6691 6713 I Gecko : [Parent 6691, Main Thread] WARNING: '!browserDOMWin', file /home/vincent/mozilla-unified/dom/ipc/ContentParent.cpp:5256
11-27 14:22:27.451 6691 6713 I Gecko : [Parent 6691, Main Thread] WARNING: 'NS_FAILED(rv)', file /home/vincent/mozilla-unified/dom/ipc/ContentParent.cpp:5490
11-27 14:22:27.452 6747 6788 I Gecko : [Child 6747, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /home/vincent/mozilla-unified/obj-debug-android/dist/include/mozilla/dom/SyncedContextInlines.h:95
11-27 14:22:27.453 6747 6788 E Web Content: [JavaScript Error: "TypeError: can't access property "foo", o1 is null" {file: "http://192.168.184.28:8888/tests/dom/media/tests/crashtests/1429507_1.html" line: 9}]
| Assignee | ||
Comment 2•7 months ago
|
||
On android, central-as-beta, with fission, the !browserDOMWin is passing.
On Linux, !browserDOMWin seems to fail always. I checked central-as-beta with and without fission, as well as central before bug 543435.
| Assignee | ||
Comment 3•7 months ago
|
||
A webpage in GeckoView can do window.open('/'). Perhaps it's an issue with reftests.
| Assignee | ||
Comment 4•7 months ago
|
||
Hm, it seems android nofis ends up using a different, earlier created BrowserParent.
In both cases, the logs show
nsFrameLoader::TryRemoteBrowserInternalpassingrootWin->GetBrowserDOMWindow()totopParent, which is null right now.- Then
GeckoViewNavigation onInitBrowsersetsbrowserDOMWindowon the inner window, which propagates to some root window. - Another
TryRemoteBrowserInternaloccurs and setsbrowserDOMWindowon a differenttopParent. - The test runs and does
window.open().
With fission, we use the second BrowserParent and with nofis, the first one.
| Assignee | ||
Comment 5•6 months ago
|
||
Oh, I added the window reuse check in D265268. Everything else is wrapped in a try-catch, so perhaps the window.open call already failed before bug 543435.
| Assignee | ||
Comment 6•6 months ago
|
||
I verified it with the parent rev of bug 543435 (https://hg-edge.mozilla.org/integration/autoland/rev/37f1c536fdb89cd69039774a87f3ad8a94b95328).
Already before the patch, with android nofis, central-as-beta, o1 was null. This just wasn't noticeable.
I'll remove the window reuse check and update the comment. With the window reuse change in bug 543435, the only necessary change to this test would've been the added / to have a non-sync load.
| Assignee | ||
Comment 7•6 months ago
|
||
Bug 543435 changed when window reuse occured and made the initial about:blank
load sync.
This required changing the loaded URL of the tests for bug 1429507 to non-blank
URLs. I added code to verify the window is reused, but aparently window.open
can fail in reftests in certain configurations, already before bug 543435.
Updated•6 months ago
|
Updated•6 months ago
|
| Assignee | ||
Comment 8•6 months ago
|
||
If someone thinks it's needed, I'm happy to file a follow-up bug for this. But I don't think it's needed. My best guess is there is some race in GeckoView reftest infrastructure that leads to there being no nsIBrowserDOMWindow associated with the test window. But if it only occurs with android nofis, and we'll have fission soon, it's probably not worth spending effort on.
Comment 9•6 months ago
|
||
This is failing on early beta too, as seen here
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•6 months ago
|
Updated•6 months ago
|
Comment 11•6 months ago
|
||
| Reporter | ||
Comment 12•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Updated•6 months ago
|
Description
•