Bug 1430014 - Part 2: Adjust test assertion expectations. r?xidorn draft
authorCameron McCormack <cam@mcc.id.au>
Fri, 12 Jan 2018 14:02:36 +0800
changeset 720809 efc0104f2cccff9fe336ecb92651565f5175bce6
parent 720808 e2cdbb506983f78b08bdf136af2426ad0b877511
child 720810 e690bba942b4e0f1b44fddb59a28d98d24ad01d9
push id95652
push userbmo:cam@mcc.id.au
push dateTue, 16 Jan 2018 09:34:40 +0000
reviewersxidorn
bugs1430014
milestone59.0a1
Bug 1430014 - Part 2: Adjust test assertion expectations. r?xidorn We no longer assert here when stylo-chrome is enabled. MozReview-Commit-ID: CbVItBV2Q5V
layout/xul/test/test_bug381167.xhtml
--- a/layout/xul/test/test_bug381167.xhtml
+++ b/layout/xul/test/test_bug381167.xhtml
@@ -21,21 +21,16 @@ https://bugzilla.mozilla.org/show_bug.cg
 </xul:tree>
 <pre id="test">
 <script type="application/javascript">
 
 /** Test for Bug 381167 **/
 
 SimpleTest.waitForExplicitFinish();
 
-if (SpecialPowers.DOMWindowUtils.isStyledByServo) {
-  // Stylo currently asserts for any XUL bits.
-  SimpleTest.expectAssertions(3, 3);
-}
-
 function closeit() {
   var evt = document.createEvent('KeyboardEvent');
                                  evt.initKeyEvent('keypress', true, true,
                                  window,
                                  true, false, false, false,
                                  'W'.charCodeAt(0), 0);
   window.dispatchEvent(evt);