Bug 1187578 - Regression test case for element with > 10 LOW_PRIORITY element children. r=bgrinstead
authorBrian Grinstead <bgrinstead@mozilla.com>
Mon, 27 Jul 2015 09:14:00 +0200
changeset 286663 f027369b116a543ba2edfef01e7ec90830425578
parent 286662 401b8c51f0edcfb9e71ec3323c3324988cd37707
child 286664 c5e15548e6c801d7e7850141cf01bb72fd7060bd
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrinstead
bugs1187578
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1187578 - Regression test case for element with > 10 LOW_PRIORITY element children. r=bgrinstead
browser/devtools/inspector/test/browser_inspector_breadcrumbs.js
browser/devtools/inspector/test/doc_inspector_breadcrumbs.html
--- a/browser/devtools/inspector/test/browser_inspector_breadcrumbs.js
+++ b/browser/devtools/inspector/test/browser_inspector_breadcrumbs.js
@@ -8,16 +8,17 @@
 const TEST_URI = TEST_URL_ROOT + "doc_inspector_breadcrumbs.html";
 const NODES = [
   {selector: "#i1111", result: "i1 i11 i111 i1111"},
   {selector: "#i22", result: "i2 i22 i221"},
   {selector: "#i2111", result: "i2 i21 i211 i2111"},
   {selector: "#i21", result: "i2 i21 i211 i2111"},
   {selector: "#i22211", result: "i2 i22 i222 i2221 i22211"},
   {selector: "#i22", result: "i2 i22 i222 i2221 i22211"},
+  {selector: "#i3", result: "i3 i31"},
 ];
 
 add_task(function*() {
   let { inspector } = yield openInspectorForURL(TEST_URI);
   let container = inspector.panelDoc.getElementById("inspector-breadcrumbs");
 
   for (let node of NODES) {
     info("Testing node " + node.selector);
--- a/browser/devtools/inspector/test/doc_inspector_breadcrumbs.html
+++ b/browser/devtools/inspector/test/doc_inspector_breadcrumbs.html
@@ -37,11 +37,32 @@
         <div id="i222">
           <div id="i2221">
             <div id="i22211">
             </div>
           </div>
         </div>
       </div>
     </article>
+    <article id="i3">
+      <link id="i31" />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+      <link />
+    </article>
     <div id='pseudo-container'></div>
   </body>
 </html>