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 <!-- Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ -->
3 <!doctype html>
5 <html>
6 <head>
7 <meta charset="utf-8"/>
8 <title>Debugger test page</title>
9 </head>
11 <body>
12 <button onclick="start()">Click me!</button>
14 <script type="text/javascript">
15 function test(aArg, bArg, cArg, dArg, eArg, fArg) {
16 var a = 1;
17 var b = { a: a };
18 var c = { a: 1, b: "beta", c: 3, d: false, e: null, f: fArg };
19 var myVar = {
20 _prop: 42,
21 get prop() { return this._prop; },
22 set prop(val) { this._prop = val; }
23 };
24 debugger;
25 }
27 function start() {
28 var a = { a: 1, b: "beta", c: 3, d: false, e: null, f: undefined };
29 var e = eval("test(a, 'beta', 3, false, null);");
30 }
32 var button = document.querySelector("button");
33 var buttonAsProto = Object.create(button);
34 </script>
35 </body>
37 </html>