Bug 1427512 - Part 30: Stop testing whether Ci shims should be removed. r=bz draft
authorCameron McCormack <cam@mcc.id.au>
Sun, 07 Jan 2018 19:34:51 +0800
changeset 717731 296b2834fa4ee3cea75d8201caca04b6843aa21d
parent 717730 6b8a3e9e6a974f247ee0a46e2527ba86b1e7473d
child 745317 435178bdc0d1bebbcfc9354ac7b5d333381bdecc
push id94746
push userbmo:cam@mcc.id.au
push dateTue, 09 Jan 2018 10:21:54 +0000
reviewersbz
bugs1427512
milestone59.0a1
Bug 1427512 - Part 30: Stop testing whether Ci shims should be removed. r=bz Whether the shims are no longer needed for Web compat is independent of whether we can remove the interfaces themselves. MozReview-Commit-ID: 2KGEfRSejgS
js/xpconnect/tests/mochitest/test_bug790732.html
--- a/js/xpconnect/tests/mochitest/test_bug790732.html
+++ b/js/xpconnect/tests/mochitest/test_bug790732.html
@@ -33,23 +33,16 @@ https://bugzilla.mozilla.org/show_bug.cg
   //is(Ci.nsIDOMSimpleGestureEvent, SimpleGestureEvent);
   is(Ci.nsIDOMUIEvent, UIEvent);
   is(Ci.nsIDOMHTMLMediaElement, HTMLMediaElement);
   is(Ci.nsIDOMOfflineResourceList, OfflineResourceList);
   is(Ci.nsIDOMRange, Range);
   is(Ci.nsIDOMSVGLength, SVGLength);
   is(Ci.nsIDOMNodeFilter, NodeFilter);
   is(Ci.nsIDOMXPathResult, XPathResult);
-
-  // Test for Bug 895231
-  for (var k of Object.keys(Components.interfaces)) {
-    ok(SpecialPowers.Ci.hasOwnProperty(k),
-       k + " should be removed from the Components shim");
-  }
-
   </script>
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=790732">Mozilla Bug 790732</a>
 <p id="display"></p>
 <div id="content" style="display: none">
 
 </div>