Bug 1446880: updated exception test to new setIdentityProvider API. r=jib draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Wed, 04 Apr 2018 20:47:46 -0700
changeset 777653 84f63a03e84fd8cb620c606b2eede78db187ce2d
parent 777652 043a2217af0735ad0a5d0d72398e7771fd055105
push id105260
push userdrno@ohlmeier.org
push dateThu, 05 Apr 2018 03:49:09 +0000
reviewersjib
bugs1446880
milestone61.0a1
Bug 1446880: updated exception test to new setIdentityProvider API. r=jib MozReview-Commit-ID: 8gYEUiL1xvd
dom/bindings/test/test_exceptions_from_jsimplemented.html
--- a/dom/bindings/test/test_exceptions_from_jsimplemented.html
+++ b/dom/bindings/test/test_exceptions_from_jsimplemented.html
@@ -28,17 +28,17 @@ https://bugzilla.mozilla.org/show_bug.cg
     });
   } catch (e) {
     // b2g has no WebRTC, apparently
     todo(false, "No WebRTC on b2g yet");
   }
 
   conn.close();
   try {
-      conn.setIdentityProvider("example.com", "foo");
+      conn.setIdentityProvider("example.com", { protocol: "foo" });
       ok(false, "That call to setIdentityProvider should have thrown");
     } catch (e) {
       is(e.lineNumber, 36, "Exception should have been on line 36");
       is(e.message,
          "Peer connection is closed",
          "Should have the exception we expect");
     }