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 <head>
4 <title>postMessage throwing page</title>
5 <script type="application/javascript">
6 function receiveMessage(evt)
7 {
8 throw 17;
9 }
10 window.addEventListener("message", receiveMessage, false);
12 function setup()
13 {
14 var target = document.getElementById("location");
15 target.textContent = location.hostname + ":" + (location.port || 80);
16 }
18 window.addEventListener("load", setup, false);
19 </script>
20 </head>
21 <body>
22 <h1 id="location">No location!</h1>
23 </body>
24 </html>