4 https://bugzilla.mozilla.org/show_bug.cgi?id=667612
7 <title>Test for Bug
667612</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=667612">Mozilla Bug
667612</a>
14 <div id=
"content" style=
"display: none">
18 <script class=
"testbody" type=
"text/javascript">
20 xhr = new XMLHttpRequest;
21 w = new Worker(
"empty.js");
22 window.addEventListener(
"load", null);
23 document.addEventListener(
"load", null);
24 document.body.addEventListener(
"load", null);
25 xhr.addEventListener(
"load", null);
26 w.addEventListener(
"load", null);
27 window.addEventListener(
"load", undefined);
28 document.addEventListener(
"load", undefined);
29 document.body.addEventListener(
"load", undefined);
30 xhr.addEventListener(
"load", undefined);
31 w.addEventListener(
"load", undefined);
33 ok(true,
"didn't throw");