Bug 1237886 - Move testLotsOfAttributes up with other inspectorIcon assertions to prevent connection from closing;r=me
authorBrian Grinstead <bgrinstead@mozilla.com>
Mon, 11 Jan 2016 13:00:26 -0800
changeset 279360 250c5bf5634e9ca85c4b96ba3a8aab07a665f915
parent 279359 6808106ad88be87a836cf23507c0810f330fd168
child 279361 e2fbd9e0afeac6a72cf3a857f11b339f9d8d42f8
push id16960
push userbgrinstead@mozilla.com
push dateMon, 11 Jan 2016 21:00:50 +0000
treeherderfx-team@250c5bf5634e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1237886
milestone46.0a1
Bug 1237886 - Move testLotsOfAttributes up with other inspectorIcon assertions to prevent connection from closing;r=me
devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js
--- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js
+++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js
@@ -69,16 +69,25 @@ var inputTests = [
     output: "<p>",
     printOutput: "[object HTMLParagraphElement]",
     inspectable: true,
     noClick: true,
     inspectorIcon: true
   },
 
   {
+    input: "testLotsOfAttributes()",
+    output: '<p n="" m="" l="" k="" j="" i="" h="" g="" f="" e="" d="" c="" b="" a="" id="lots-of-attributes">',
+    printOutput: "[object HTMLParagraphElement]",
+    inspectable: true,
+    noClick: true,
+    inspectorIcon: true
+  },
+
+  {
     input: "testDocumentFragment()",
     output: "DocumentFragment [ <span.foo>, <div#fragdiv> ]",
     printOutput: "[object DocumentFragment]",
     inspectable: true,
     noClick: true,
     inspectorIcon: false
   },
 
@@ -94,25 +103,16 @@ var inputTests = [
   {
     input: "testUnattachedNode()",
     output: '<p class="such-class" data-data="such-data">',
     printOutput: "[object HTMLParagraphElement]",
     inspectable: true,
     noClick: true,
     inspectorIcon: false
   },
-
-  {
-    input: "testLotsOfAttributes()",
-    output: '<p n="" m="" l="" k="" j="" i="" h="" g="" f="" e="" d="" c="" b="" a="" id="lots-of-attributes">',
-    printOutput: "[object HTMLParagraphElement]",
-    inspectable: true,
-    noClick: true,
-    inspectorIcon: true
-  }
 ];
 
 function test() {
   requestLongerTimeout(2);
   Task.spawn(function*() {
     let {tab} = yield loadTab(TEST_URI);
     let hud = yield openConsole(tab);
     yield checkOutputForInputs(hud, inputTests);