зеркало из https://github.com/mozilla/gecko-dev.git
Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron
This commit is contained in:
Родитель
a661aa3612
Коммит
67b8678f7a
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче