|
1 <!DOCTYPE HTML> |
|
2 <!-- Any copyright is dedicated to the Public Domain. |
|
3 http://creativecommons.org/publicdomain/zero/1.0/ --> |
|
4 <html> |
|
5 <head> |
|
6 <meta charset="UTF-8"> |
|
7 <title>Developer Toolbar Tests - errors count in the Web Console button</title> |
|
8 <script type="text/javascript"> |
|
9 console.log("foobarBug762996consoleLog"); |
|
10 window.onload = function() { |
|
11 window.foobarBug762996load(); |
|
12 }; |
|
13 window.foobarBug762996a(); |
|
14 </script> |
|
15 <script type="text/javascript"> |
|
16 window.foobarBug762996b(); |
|
17 </script> |
|
18 </head> |
|
19 <body> |
|
20 <p>Hello world! Test for errors count in the Web Console button (developer |
|
21 toolbar).</p> |
|
22 <p style="color: foobarBug762996css"><button>click me</button></p> |
|
23 <script type="text/javascript;version=1.8"> |
|
24 "use strict"; |
|
25 let testObj = {}; |
|
26 document.querySelector("button").onclick = function() { |
|
27 let test = testObj.fooBug788445 + "warning"; |
|
28 window.foobarBug762996click(); |
|
29 }; |
|
30 </script> |
|
31 </body> |
|
32 </html> |