browser/devtools/shared/test/browser_toolbar_webconsole_errors_count.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial