Backed out changeset e12c6f7d6676 (bug 885107) on suspicion of causing bug 894952

This commit is contained in:
Ed Morley 2013-07-18 14:43:52 +01:00
parent 496b5f94d7
commit 7f830b443a
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,11 @@
<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")

View File

@ -12,6 +12,12 @@
<div id="log"></div>
<script>
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 2);
} else {
SimpleTest.expectAssertions(2);
}
setup({explicit_done: true});
runTest();