Closed
Bug 885965
Opened 11 years ago
Closed 11 years ago
Intermittent browser_typeAheadFind.js | Test timed out | Found a browser window after previous test timed out
Categories
(Toolkit :: Find Toolbar, defect)
Toolkit
Find Toolbar
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: ttaubert, Assigned: jaws)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 1 obsolete file)
1.25 KB,
patch
|
ttaubert
:
review+
|
Details | Diff | Splinter Review |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 6•11 years ago
|
||
My test for bug 882977 made this go perma-orange, but with these changes to browser_typeAheadFind.js this timeout goes away. The previous approach of relying on focus doesn't seem as durable as this approach.
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 773087 [details] [diff] [review] Patch Review of attachment 773087 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/base/content/test/browser_typeAheadFind.js @@ +10,5 @@ > waitForExplicitFinish(); > > + registerCleanupFunction(function() { > + Services.prefs.setCharPref("browser.startup.homepage", oldHomepage); > + Services.prefs.setIntPref("browser.startup.page", oldPage); I didn't use Services.prefs.clearUserPref here because browser.startup.page has a value of 1 when this test begins but calling Services.prefs.clearUserPref("browser.startup.page") sets the value to 0.
Reporter | ||
Comment 8•11 years ago
|
||
Comment on attachment 773087 [details] [diff] [review] Patch Review of attachment 773087 [details] [diff] [review]: ----------------------------------------------------------------- I doesn't seem right to tinker with browser.startup.homepage just to make this test work. Locally, replacing 'pageshow' with 'load' makes the test work for me together with the test for bug 882977.
Attachment #773087 -
Flags: review?(ttaubert)
Assignee | ||
Comment 9•11 years ago
|
||
I only wish I had thought of that approach first :P I also removed the use of arguments.callee since it's deprecated.
Attachment #773087 -
Attachment is obsolete: true
Attachment #773409 -
Flags: review?(ttaubert)
Reporter | ||
Comment 10•11 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #9) > I also removed the use of arguments.callee since it's deprecated. Good catch.
Reporter | ||
Updated•11 years ago
|
Attachment #773409 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a50080f91ba8
OS: Mac OS X → All
Hardware: x86_64 → All
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a50080f91ba8
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Comment 13•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/109cf2fd4e57
status-firefox24:
--- → fixed
status-firefox25:
--- → fixed
Comment hidden (Legacy TBPL/Treeherder Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•