Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=563487
5 -->
6 <head>
7 <!-- Put this before the mochi* stuff, since that adds various listeners -->
8 <script>
9 var exception = null;
10 try {
11 window.removeEventListener("foo", function() {}, false);
12 } catch (e) {
13 exception = e;
14 }
15 </script>
16 <title>Test for Bug 563487</title>
17 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
18 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
19 </head>
20 <body>
21 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=563487">Mozilla Bug 563487</a>
22 <p id="display"></p>
23 <div id="content" style="display: none">
25 </div>
26 <pre id="test">
27 <script type="application/javascript">
29 /** Test for Bug 563487 **/
30 is(exception, null, "removeEventListener threw");
31 </script>
32 </pre>
33 </body>
34 </html>