Backed out changeset a7882c91ca20 (bug 1305194) for leaking docshells, e.g. in browser_Finder_hidden_textarea.js and browser_findbar.js. r=backout
This commit is contained in:
@@ -221,12 +221,7 @@ add_task(function* testModalResults() {
|
||||
yield promiseOpenFindbar(findbar);
|
||||
Assert.ok(!findbar.hidden, "Findbar should be open now.");
|
||||
|
||||
let timeout = kIteratorTimeout;
|
||||
if (word.length == 1)
|
||||
timeout *= 4;
|
||||
else if (word.length == 2)
|
||||
timeout *= 2;
|
||||
yield new Promise(resolve => setTimeout(resolve, timeout));
|
||||
yield new Promise(resolve => setTimeout(resolve, kIteratorTimeout));
|
||||
let promise = promiseTestHighlighterOutput(browser, word, expectedResult,
|
||||
expectedResult.extraTest);
|
||||
yield promiseEnterStringIntoFindField(findbar, word);
|
||||
|
||||
Reference in New Issue
Block a user