Intermittent browser/base/content/test/general/browser_bug734076.js | no domain was inherited for 'show only this frame' - false == true -
Categories
(Firefox :: General, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: emilio)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disable-recommended])
Attachments
(1 file, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details |
#[markdown(off)]
Filed by: cbrindusan [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=243096082&repo=autoland
12:35:22 INFO - TEST-START | browser/base/content/test/general/browser_bug734076.js
12:35:23 INFO - TEST-INFO | started process screencapture
12:35:23 INFO - TEST-INFO | screencapture: exit 0
12:35:23 INFO - Buffered messages logged at 12:35:22
12:35:23 INFO - Entering test bound
12:35:23 INFO - Run subtest view background image
12:35:23 INFO - onImage: false
12:35:23 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: "data:text/html,%3Cscript%3Edocument.write(document.domain);%3C/script%3E" line: 0}]
12:35:23 INFO - TEST-PASS | browser/base/content/test/general/browser_bug734076.js | no domain was inherited for view background image - true == true -
12:35:23 INFO - Run subtest view image
12:35:23 INFO - onImage: true
12:35:23 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: "data:text/html,%3Cscript%3Edocument.write(document.domain);%3C/script%3E" line: 0}]
12:35:23 INFO - TEST-PASS | browser/base/content/test/general/browser_bug734076.js | no domain was inherited for view image - true == true -
12:35:23 INFO - Buffered messages logged at 12:35:23
12:35:23 INFO - Run subtest show only this frame
12:35:23 INFO - onImage: false
12:35:23 INFO - Buffered messages finished
12:35:23 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug734076.js | no domain was inherited for 'show only this frame' - false == true -
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 4•6 years ago
|
||
This bug has a very high failure rate in just a few days since Bug 1440537 initially landed here https://hg.mozilla.org/integration/autoland/rev/f7c39167006152340a7347a16c349bb54a8d1711 but was backed out and relanded here https://hg.mozilla.org/integration/autoland/rev/87f038262ac3d4431a569c1fad9bee5668a332de
It has failed 172 times so far since April 29 https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2019-04-24&endday=2019-05-01&tree=trunk&bug=1547489
Th range and failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&searchStr=os%2Cx%2C10.10%2Cshippable%2Copt%2Cmochitests%2Ctest-macosx64-shippable%2Fopt-mochitest-browser-chrome-e10s-7%2Cm%28bc7%29&tochange=9b16812e723e3dff41c118cd9bcd1f7535452f36&fromchange=f6766ba4ac77c6757c4e4db7598a2e685f23fcf6&group_state=expanded
Emilio, please take a look at this as soon as you get the chance. It fails 7-8 times out of 20. Thank you.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
Same as the other test.
This one I haven't verified yet it fixes the intermittent (try is running atm),
but I'm moderately sure it will.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 8•6 years ago
|
||
I could repro this locally with the background image test, wat.
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Assignee | ||
Comment 10•6 years ago
|
||
This test is already somewhat racy. At least locally, I could see the
background-image test fail sometimes in chaos mode. This is because we don't
wait for the background-image to load. But that's a different bug in any case.
Anyway, this failure happens because we're sending an event to the <iframe>,
but the context menu code expects the target of the event to be a node inside
the cross-origin iframe, in order for this check to work:
Since <iframe> is cross-origin, stuff in it may not have been laid out yet.
This will also be a problem with fission, afaict, where that check wouldn't
even be possible, I think. If stuff there hasn't been laid out, the thing
getting the event (the contextmenu's target) is the <iframe>, rather than the
content document's target.
Make sure to target content under the subframe for now. This change is a bit
subtle, in the sense that what ensures stuff is getting laid out after this
change is the getBoundingClientRect() calls in:
However we rely on those all over the place already (even before my change), so
I think this is the easiest / better test fix for now.
With Fission we'll probably need to change how those context-menu checks work so
that they work when targeting the <iframe> or forward to the nested child
process or something.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 12•6 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 14•6 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Updated•3 years ago
|
Description
•