Bug 1451196: Disable the intermittent part of test layout/style/test/test_shape_outside_CORS.html. draft
authorBrad Werth <bwerth@mozilla.com>
Tue, 17 Apr 2018 09:16:32 -0700
changeset 783754 ccb8da338681f1d3f27e2f1f1751c8abaad3bac2
parent 783746 5ded36cb383d3ccafd9b6c231c5120dcdae196a2
push id106767
push userbwerth@mozilla.com
push dateTue, 17 Apr 2018 16:36:24 +0000
bugs1451196
milestone61.0a1
Bug 1451196: Disable the intermittent part of test layout/style/test/test_shape_outside_CORS.html. MozReview-Commit-ID: GQbQ0HQFlJX
layout/style/test/file_shape_outside_CORS.html
--- a/layout/style/test/file_shape_outside_CORS.html
+++ b/layout/style/test/file_shape_outside_CORS.html
@@ -23,29 +23,32 @@
   display: inline-block;
 }
 </style>
 
 <script>
 const DOMAIN = "http://mochi.test:8888";
 
 function sendResults() {
+  // Disable this first part until Bug 1454694.
+  /*
   let divAllow = document.getElementById("allow");
   let divAllowSib = divAllow.nextElementSibling;
   window.parent.postMessage({
     "result": (divAllowSib.getBoundingClientRect().left == divAllow.getBoundingClientRect().left),
-    "message": "Test 1: Sibling is at same left offset as div (shape-outside was allowed).",
+    "message": "Test 1: Sibling should be at same left offset as div (shape-outside should be allowed), and onload should only fire after layout is complete.",
     },
     DOMAIN);
+  */
 
   let divRefuse = document.getElementById("refuse");
   let divRefuseSib = divRefuse.nextElementSibling;
   window.parent.postMessage({
     "result": (divRefuseSib.getBoundingClientRect().left != divRefuse.getBoundingClientRect().left),
-    "message": "Test 2: Sibling is at different left offset from div (shape-outside was refused).",
+    "message": "Test 2: Sibling should be at different left offset from div (shape-outside should be refused).",
     },
     DOMAIN);
 
   window.parent.postMessage({"done": true}, DOMAIN);
 }
 </script>
 </head>
 <body onload="sendResults()">