mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1096724 - Fix intermittent test_base-uri.html failures. r=ryanvm
This commit is contained in:
parent
5ea2a56dfc
commit
28f23b1235
@ -54,11 +54,16 @@ examiner.prototype = {
|
||||
}
|
||||
window.BaseURIExaminer = new examiner();
|
||||
|
||||
function finishTest() {
|
||||
window.BaseURIExaminer.remove();
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
function loadNextTest() {
|
||||
counter++;
|
||||
if (counter == testPolicies.length) {
|
||||
window.BaseURIExaminer.remove();
|
||||
SimpleTest.finish();
|
||||
finishTest();
|
||||
return;
|
||||
}
|
||||
var src = "http://example.com/tests/dom/security/test/csp/file_testserver.sjs";
|
||||
// append the file that should be served
|
||||
|
Loading…
Reference in New Issue
Block a user