Bug 1417138 part 1 - Remove expectAssertions from test_bug381167.xhtml. r?heycam draft
authorXidorn Quan <me@upsuper.org>
Wed, 15 Nov 2017 09:05:42 -0800
changeset 702687 fa0ef204ba9d2325b5466f4e8f6f30debbfa593b
parent 702686 2ea368494b8fbf131d5bfa385214b70315b60712
child 702688 b8a4667d995c050e05fc992e4f9baffb6f859c65
push id90592
push userxquan@mozilla.com
push dateThu, 23 Nov 2017 17:00:05 +0000
reviewersheycam
bugs1417138, 381167
milestone59.0a1
Bug 1417138 part 1 - Remove expectAssertions from test_bug381167.xhtml. r?heycam MozReview-Commit-ID: 1OroVsf9pHo
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);