mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1174951, try to fix the intermittent failure in test_XHRDocURI.html, r=bz
This commit is contained in:
parent
d3cb3d27b3
commit
4794222292
@ -499,7 +499,14 @@ function runTest() {
|
||||
var chromeDoc = SpecialPowers.wrap(document);
|
||||
ok(chromeDoc.documentURI.indexOf("pushStateTest") > -1);
|
||||
|
||||
SimpleTest.executeSoon(function() { gen.next(); });
|
||||
|
||||
yield undefined;
|
||||
|
||||
history.back();
|
||||
SimpleTest.executeSoon(function() { gen.next(); });
|
||||
|
||||
yield undefined;
|
||||
|
||||
SimpleTest.finish();
|
||||
SpecialPowers.removePermission("systemXHR", document);
|
||||
|
Loading…
Reference in New Issue
Block a user