mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 02:47:07 +00:00
Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron
This commit is contained in:
parent
7c21303600
commit
43b4a56161
@ -5,11 +5,6 @@
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<div id=log></div>
|
||||
<script>
|
||||
if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(2);
|
||||
}
|
||||
test(function() {
|
||||
new Worker("data:text/javascript,new XMLHttpRequest(42)");
|
||||
}, "Should not crash")
|
||||
|
@ -12,12 +12,6 @@
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(2);
|
||||
}
|
||||
|
||||
setup({explicit_done: true});
|
||||
runTest();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user