Bug 1446880: updated exception test to new setIdentityProvider API. r=jib
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Wed, 04 Apr 2018 20:47:46 -0700
changeset 777808 22194a92dbc7cae80afcdeb264160215f5bd9998
parent 777807 444064b5910ead569165e8a1ef60136107f43e79
child 777809 bc75aa07f46f37719fda4ae7e0f45d893ba37a03
push id105296
push userpaolo.mozmail@amadzone.org
push dateThu, 05 Apr 2018 10:49:16 +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");
     }