Intermittent browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js | Test timed out -
Categories
(Core :: DOM: Security, defect, P5)
Tracking
()
Fission Milestone | Future |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, Whiteboard: [domsecurity-intermittent])
Attachments
(1 obsolete file)
Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=337282714&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EtY2Ta_9Rv27DBo45C5KrQ/runs/0/artifacts/public/logs/live_backing.log
[task 2021-04-21T11:39:43.758Z] 11:39:43 INFO - TEST-OK | browser/components/originattributes/test/browser/browser_firstPartyIsolation_js_uri.js | took 1211ms
[task 2021-04-21T11:39:43.767Z] 11:39:43 INFO - checking window state
[task 2021-04-21T11:39:43.786Z] 11:39:43 INFO - TEST-START | browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js
[task 2021-04-21T11:39:47.752Z] 11:39:47 INFO - GECKO(5496) | JavaScript error: resource:///actors/ContextMenuChild.jsm, line 540: TypeError: doc is null
[task 2021-04-21T11:40:28.813Z] 11:40:28 INFO - TEST-INFO | started process screenshot
[task 2021-04-21T11:40:28.871Z] 11:40:28 INFO - TEST-INFO | screenshot: exit 0
[task 2021-04-21T11:40:28.871Z] 11:40:28 INFO - Buffered messages logged at 11:39:43
[task 2021-04-21T11:40:28.871Z] 11:40:28 INFO - Entering test bound setup
[task 2021-04-21T11:40:28.871Z] 11:40:28 INFO - Setting the prefs.
[task 2021-04-21T11:40:28.871Z] 11:40:28 INFO - Setting MockFilePicker.
[task 2021-04-21T11:40:28.871Z] 11:40:28 INFO - Leaving test bound setup
[task 2021-04-21T11:40:28.872Z] 11:40:28 INFO - Entering test bound test_setup
[task 2021-04-21T11:40:28.872Z] 11:40:28 INFO - Leaving test bound test_setup
[task 2021-04-21T11:40:28.872Z] 11:40:28 INFO - Entering test bound testContextMenuSaveAs
[task 2021-04-21T11:40:28.872Z] 11:40:28 INFO - Open a new tab for testing "Save link as" in context menu.
[task 2021-04-21T11:40:28.872Z] 11:40:28 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/browser/components/originattributes/test/browser/file_saveAs.sjs?link=1" line: 0}]
[task 2021-04-21T11:40:28.872Z] 11:40:28 INFO - Buffered messages logged at 11:39:47
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - Open the context menu.
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - Console message: [JavaScript Error: "TypeError: doc is null" {file: "resource:///actors/ContextMenuChild.jsm" line: 540}]
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - handleEvent@resource:///actors/ContextMenuChild.jsm:540:9
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:574:32
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - synthesizeMouse/<@resource://testing-common/BrowserTestUtilsChild.jsm:334:34
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - wrapHandlingUserInput@resource://gre/modules/E10SUtils.jsm:895:7
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - synthesizeMouse@resource://testing-common/BrowserTestUtilsChild.jsm:330:15
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - receiveMessage@resource://testing-common/BrowserTestUtilsChild.jsm:149:21
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO -
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - Buffered messages finished
[task 2021-04-21T11:40:28.873Z] 11:40:28 INFO - TEST-UNEXPECTED-FAIL | browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js | Test timed out -
[task 2021-04-21T11:40:28.874Z] 11:40:28 INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-21T11:40:28.874Z] 11:40:28 INFO - TEST-UNEXPECTED-FAIL | browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js | Uncaught exception received from previously timed out test - popupshown listener not removed before the end of test
[task 2021-04-21T11:40:28.874Z] 11:40:28 INFO - GECKO(5496) | MEMORY STAT | vsize 2104272MB | vsizeMaxContiguous 69355295MB | residentFast 273MB | heapAllocated 80MB
[task 2021-04-21T11:40:28.874Z] 11:40:28 INFO - TEST-OK | browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js | took 45079ms
[task 2021-04-21T11:40:28.874Z] 11:40:28 INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-21T11:40:28.874Z] 11:40:28 INFO - TEST-UNEXPECTED-FAIL | browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js | Found a tab after previous test timed out: http://example.com/browser/browser/components/originattributes/test/browser/file_saveAs.sjs?link=1 -
[task 2021-04-21T11:40:28.894Z] 11:40:28 INFO - checking window state
[task 2021-04-21T11:40:28.912Z] 11:40:28 INFO - TEST-START | browser/components/originattributes/test/browser/browser_httpauth.js```
Comment hidden (Intermittent Failures Robot) |
Comment 2•4 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 3•3 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 6•3 years ago
|
||
Tracking for Fission Milestone "Future" because these test failures all have Fission enabled, but are very rare so far.
Comment 7•3 years ago
|
||
This test failure happens because a native context menu refuses to close because of unfortunate nesting of native event loops, see bug 1713897 comment 7. I will look for a workaround.
Comment 8•3 years ago
•
|
||
In a test app running on 11.3.1, the menu closes correctly and unwinds the stack as expected: https://share.firefox.dev/3cQR24p
Maybe this only occurs on 10.15 and earlier.
Edit: I've run the test app on 10.14 but couldn't trigger the stuckness there either. I can try on 10.15 too, but maybe the test app just doesn't trigger the right conditions.
Comment hidden (typo) |
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 12•3 years ago
|
||
Looks like the Mac part got fixed by bug 1717129, but there are remaining failures on Windows. Let's keep this bug open to track the Windows failures.
Comment hidden (obsolete) |
Updated•3 years ago
|
Comment hidden (obsolete) |
Updated•3 years ago
|
Comment 15•3 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #12)
Looks like the Mac part got fixed by bug 1717129, but there are remaining failures on Windows. Let's keep this bug open to track the Windows failures.
Note that this test is still skipped on Mac, so we don't know that bug 1717129 fixed this test on Mac:
[browser_firstPartyIsolation_saveAs.js]
skip-if =
fission && os == "mac" && !debug # Bug 1713897 - new Fission platform triage
Comment 16•3 years ago
|
||
Ah, right. I've put a patch to unskip the test into bug 1713897, so once that lands we can keep an eye on the test.
Comment hidden (Intermittent Failures Robot) |
Comment 18•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 19•3 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=347716076&repo=autoland&lineNumber=4562
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 23•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment hidden (Intermittent Failures Robot) |
Description
•