Closed
Bug 451090
Opened 16 years ago
Closed 12 years ago
test_opener.html fails intermittently with 'Should be able to navigate popup by targeted hyperlink. | got Error: Permission denied to get property Window.document, expected "This frame was navigated."'
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ted, Assigned: abarth-mozilla)
References
()
Details
(Keywords: intermittent-failure)
From the linked tinderbox log: *** 12916 ERROR FAIL | Should be able to navigate popup by targeted hyperlink. | got Error: Permission denied to get property Window.document, expected "This frame was navigated." | /tests/docshell/test/navigation/test_opener.html
Reporter | ||
Comment 2•16 years ago
|
||
Apparently the error message got better, I don't know if this helps you more: *** 22452 ERROR TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_opener.html | Should be able to navigate popup by targeted hyperlink. - got Error: Permission denied for <http://localhost:8888> to get property Window.document from <http://test1.example.org>., expected "This frame was navigated." From: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1219236276.1219240177.10175.gz
Comment 4•16 years ago
|
||
(In reply to comment #3) > Duplicate of bug 448537 !? Based on comment dates: comment 2 is bug 448537; comment 0 is this (different) bug; and bug 446197 has yet a different error.
Assignee | ||
Comment 5•16 years ago
|
||
I found the race condition by inspecting the code. It's an but in the tests. If the intermittent failures are annoying, go ahead and disable them. I'll prepare a patch when I get back to the US. (It's the same issue in both test_opener.html and test_not_opener.html if you want to dup the bugs against this one.)
Reporter | ||
Comment 7•16 years ago
|
||
Adam: awesome! This isn't failing incredibly often, so I'd rather leave it enabled for now.
Assignee: nobody → abarth-mozilla
Reporter | ||
Comment 9•16 years ago
|
||
This also seems to timeout occasionally, spilling focus errors in its wake: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1219921032.1219925873.12623.gz *** 23183 INFO Running /tests/docshell/test/navigation/test_opener.html... *** 23184 ERROR TEST-UNEXPECTED-FAIL | /tests/docshell/test/navigation/test_opener.html | Test timed out. *** 23186 INFO Running /tests/docshell/test/navigation/test_popup-navigates-children.html... *** 23187 INFO Error: Unable to restore focus, expect failures and timeouts. Not sure if this is a symptom of the same problem.
Comment 10•16 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1220900437.1220907272.19130.gz Linux mozilla-central qm-centos5-moz2-01 dep unit test on 2008/09/08 12:00:37
Assignee | ||
Comment 11•16 years ago
|
||
I've re-implemented these tests in a way that should be reliable. See http://trac.webkit.org/changeset/36262 Once I port them to the mochitest framework, we can resolve this bug.
Blocks: 460474
Updated•16 years ago
|
Whiteboard: [orange]
Reporter | ||
Comment 12•16 years ago
|
||
Adam: do you have time to do this, or should we get someone else to fix it?
Assignee | ||
Comment 13•16 years ago
|
||
This isn't at the top of my list. If someone else would like to work on this, I'd be happy to answer questions.
Comment 14•15 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1256552535.1256553112.22574.gz appears to maybe be the new-world version of comment 9.
Comment 15•12 years ago
|
||
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that: * Haven't changed in > 6months * Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb} * Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive. I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases). Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange]
You need to log in
before you can comment on or make changes to this bug.
Description
•