diff options
Diffstat (limited to 'browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js')
-rw-r--r-- | browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js new file mode 100644 index 0000000000..808c08c8d3 --- /dev/null +++ b/browser/tools/mozscreenshots/mozscreenshots/extension/lib/mozscreenshots-script.js @@ -0,0 +1,21 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +console.log(document, document.body); +console.assert(false, "Failing mozscreenshots assertion"); + +console.group("Grouped Message"); +console.log("group message 1"); +console.groupEnd(); + +console.count("counter"); +console.count("counter"); + +console.log("first", { a: 1 }, "second", { b: "hello" }, "third", { + c: new Map(), +}); +console.log("first", { a: 1 }, "second", { b: "hello" }); +console.log("first", { a: 1 }, "\nsecond", { b: "hello" }); +console.log("first", "\nsecond"); +console.log("\nfirst", "second"); |