/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejections should be fixed. "use strict"; thisTestLeaksUncaughtRejectionsAndShouldBeFixed(null); thisTestLeaksUncaughtRejectionsAndShouldBeFixed( "TypeError: this.toolbox is null"); // Test the webconsole output for various types of DOM Nodes. const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" + "test/test-console-output-dom-elements.html"; var inputTests = [ { input: "testBodyNode()", output: '
', printOutput: "[object HTMLBodyElement]", inspectable: true, noClick: true, inspectorIcon: true }, { input: "testDocumentElement()", output: '', printOutput: "[object HTMLHtmlElement]", inspectable: true, noClick: true, inspectorIcon: true }, { input: "testDocument()", output: "HTMLDocument \u2192 " + TEST_URI, printOutput: "[object HTMLDocument]", inspectable: true, noClick: true, inspectorIcon: false }, { input: "testNode()", output: '', printOutput: "[object HTMLParagraphElement]", inspectable: true, noClick: true, inspectorIcon: true }, { input: "testNodeList()", output: "NodeList [
,
,