browser/devtools/shared/test/browser_toolbar_webconsole_errors_count.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/shared/test/browser_toolbar_webconsole_errors_count.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<!-- Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/ -->
     1.7 +<html>
     1.8 +<head>
     1.9 +  <meta charset="UTF-8">
    1.10 +  <title>Developer Toolbar Tests - errors count in the Web Console button</title>
    1.11 +  <script type="text/javascript">
    1.12 +    console.log("foobarBug762996consoleLog");
    1.13 +    window.onload = function() {
    1.14 +      window.foobarBug762996load();
    1.15 +    };
    1.16 +    window.foobarBug762996a();
    1.17 +  </script>
    1.18 +  <script type="text/javascript">
    1.19 +    window.foobarBug762996b();
    1.20 +  </script>
    1.21 +</head>
    1.22 +<body>
    1.23 +  <p>Hello world! Test for errors count in the Web Console button (developer
    1.24 +  toolbar).</p>
    1.25 +  <p style="color: foobarBug762996css"><button>click me</button></p>
    1.26 +  <script type="text/javascript;version=1.8">
    1.27 +    "use strict";
    1.28 +    let testObj = {};
    1.29 +    document.querySelector("button").onclick = function() {
    1.30 +      let test = testObj.fooBug788445 + "warning";
    1.31 +      window.foobarBug762996click();
    1.32 +    };
    1.33 +  </script>
    1.34 +</body>
    1.35 +</html>

mercurial