browser/devtools/shared/test/browser_toolbar_webconsole_errors_count.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

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