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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html dir="ltr" xml:lang="en-US" lang="en-US">
michael@0 3 <head>
michael@0 4 <meta charset="utf8">
michael@0 5 <title>Test for bugs 720180, 800510 and 865288</title>
michael@0 6 <script>
michael@0 7 function testConsole() {
michael@0 8 console.log("foo repeat"); console.log("foo repeat");
michael@0 9 console.log("foo repeat"); console.error("foo repeat");
michael@0 10 }
michael@0 11 function testConsoleObjects() {
michael@0 12 for (var i = 0; i < 3; i++) {
michael@0 13 var o = { id: "abba" + i };
michael@0 14 console.log("abba", o);
michael@0 15 }
michael@0 16 }
michael@0 17 </script>
michael@0 18 <style>
michael@0 19 body {
michael@0 20 background-image: foobarz;
michael@0 21 }
michael@0 22 p {
michael@0 23 background-image: foobarz;
michael@0 24 }
michael@0 25 </style>
michael@0 26 <!--
michael@0 27 - Any copyright is dedicated to the Public Domain.
michael@0 28 - http://creativecommons.org/publicdomain/zero/1.0/
michael@0 29 -->
michael@0 30 </head>
michael@0 31 <body>
michael@0 32 <p>Hello world!</p>
michael@0 33 </body>
michael@0 34 </html>
michael@0 35

mercurial