gecko-dev/dom/bindings/test/test_bug773326.html

17 lines
442 B
HTML

<!doctype html>
<meta charset=utf-8>
<title>Test for Bug 773326</title>
<script src=/resources/testharness.js></script>
<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")
</script>