browser/devtools/webconsole/test/test-repeated-messages.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/webconsole/test/test-repeated-messages.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html dir="ltr" xml:lang="en-US" lang="en-US">
     1.6 +  <head>
     1.7 +    <meta charset="utf8">
     1.8 +    <title>Test for bugs 720180, 800510 and 865288</title>
     1.9 +    <script>
    1.10 +      function testConsole() {
    1.11 +        console.log("foo repeat"); console.log("foo repeat");
    1.12 +        console.log("foo repeat"); console.error("foo repeat");
    1.13 +      }
    1.14 +      function testConsoleObjects() {
    1.15 +        for (var i = 0; i < 3; i++) {
    1.16 +          var o = { id: "abba" + i };
    1.17 +          console.log("abba", o);
    1.18 +        }
    1.19 +      }
    1.20 +    </script>
    1.21 +    <style>
    1.22 +      body {
    1.23 +        background-image: foobarz;
    1.24 +      }
    1.25 +      p {
    1.26 +        background-image: foobarz;
    1.27 +      }
    1.28 +    </style>
    1.29 +    <!--
    1.30 +    - Any copyright is dedicated to the Public Domain.
    1.31 +    - http://creativecommons.org/publicdomain/zero/1.0/
    1.32 +    -->
    1.33 +  </head>
    1.34 +  <body>
    1.35 +    <p>Hello world!</p>
    1.36 +  </body>
    1.37 +</html>
    1.38 +

mercurial