зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
442 B
HTML
17 строки
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>
|