Bug 1430014 - Part 2: Adjust test assertion expectations. r?xidorn
We no longer assert here when stylo-chrome is enabled.
MozReview-Commit-ID: CbVItBV2Q5V
--- 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);