mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
17 lines
442 B
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>
|