Open Bug 684176 Opened 10 years ago Updated 2 years ago

Intermittent failure in test_bug454235.xhtml,test_bug454235.xul | offscreen browser is not visible

Categories

(Core :: DOM: Navigation, defect, P5)

All
Linux
defect

Tracking

()

REOPENED
Tracking Status
firefox16 --- affected
firefox17 --- affected
firefox18 --- affected

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [test disabled on Linux][leave open])

Attachments

(1 file, 1 obsolete file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=6235395#error0
Rev3 Fedora 12x64 mozilla-inbound opt test mochitest-other on 2011-09-01 13:43:14 PDT for push 3b04343f2382

3596 INFO TEST-START | chrome://mochitests/content/chrome/docshell/test/chrome/test_bug454235.xul
3597 INFO TEST-PASS | chrome://mochitests/content/chrome/docshell/test/chrome/test_bug454235.xul | hidden browser is visible
3598 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/docshell/test/chrome/test_bug454235.xul | offscreen browser is not visible
3599 INFO TEST-KNOWN-FAIL | chrome://mochitests/content/chrome/docshell/test/chrome/test_bug454235.xul | visible browser in offscreen browser is not visible
3600 INFO TEST-PASS | chrome://mochitests/content/chrome/docshell/test/chrome/test_bug454235.xul | hidden browser in offscreen browser is visible
3601 INFO TEST-END | chrome://mochitests/content/chrome/docshell/test/chrome/test_bug454235.xul | finished in 157ms
blassey, as test author please may you look at this / find someone who can?
(Or if you don't have the cycles, let me know and we can just disable the test on Linux)
Flags: needinfo?(blassey.bugs)
to be completely honest, I don't remember writing this test...
Flags: needinfo?(blassey.bugs)
smaug, focus is hard. Does anything here jump out at you?

Fennec no longer uses this offScreenBrowser flag, so I'm not sure how much we care about it not working well.
Flags: needinfo?(bugs)
Hmm, I wonder if this test should wait for focus, not load event before starting.

But since we have this functionality in the platform we should have tests for it, so I'm
reluctant to disable the test.
Flags: needinfo?(bugs)
Attached patch patch (obsolete) — Splinter Review
is this what you had in mind?
Attachment #680899 - Flags: review?(bugs)
Comment on attachment 680899 [details] [diff] [review]
patch

No.

SimpleTest.waitForFocus(doTest);
Attachment #680899 - Flags: review?(bugs) → review-
Attached patch patchSplinter Review
sent to try https://tbpl.mozilla.org/?tree=Try&rev=58b6515609b6
Attachment #680899 - Attachment is obsolete: true
Attachment #681151 - Flags: review?(bugs)
Comment on attachment 681151 [details] [diff] [review]
patch

Let's try this.
Attachment #681151 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/51ee7048088a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
smaug, any idea why the fix here didn't work?
Flags: needinfo?(bugs)
Hardware: x86_64 → All
smaug, any idea why the fix here didn't work?
(In reply to Ed Morley [:edmorley UTC+0] from comment #134)
> smaug, any idea why the fix here didn't work?

Well, the the fix was just an educated guess. Apparently not right one. Someone needs to
spend some time to fix this problem.
Flags: needinfo?(bugs) needinfo?(bugs) → needinfo-
(In reply to Ed Morley [:edmorley UTC+0] from comment #134)
> smaug, any idea why the fix here didn't work?

Well, the the fix was just an educated guess. Apparently not right one. Someone needs to
spend some time to fix this problem.
Whiteboard: [orange]
Too many failures; no one looking at this -> test disabled on Linux:
https://hg.mozilla.org/integration/mozilla-inbound/rev/120aae0f3f6a
Whiteboard: [test disabled][leave open]
Target Milestone: mozilla19 → ---
Whiteboard: [test disabled][leave open] → [test disabled on Linux][leave open]
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
Priority: P3 → P5
Summary: Intermittent failure in test_bug454235.xul | offscreen browser is not visible → Intermittent failure in test_bug454235.xhtml,test_bug454235.xul | offscreen browser is not visible
You need to log in before you can comment on or make changes to this bug.