Bug 1307896 - Fixed spelling of "receive" in the assert messages. r?jdm draft
authorBrad Werth <bwerth@mozilla.com>
Wed, 05 Oct 2016 12:16:02 -0700
changeset 421317 dab387bddb84abef3b7d896834ae65f98227e291
parent 421258 e8fa13708c070d1fadf488ed9d951464745b4e17
child 533036 555e3ef4eaaa60f3d15c88edf828834714a31e62
push id31454
push userbwerth@mozilla.com
push dateWed, 05 Oct 2016 19:42:05 +0000
reviewersjdm
bugs1307896
milestone52.0a1
Bug 1307896 - Fixed spelling of "receive" in the assert messages. r?jdm MozReview-Commit-ID: HdHQFV9yXG3
dom/presentation/tests/xpcshell/test_multicast_dns_device_provider.js
--- a/dom/presentation/tests/xpcshell/test_multicast_dns_device_provider.js
+++ b/dom/presentation/tests/xpcshell/test_multicast_dns_device_provider.js
@@ -612,17 +612,17 @@ function handleOnSessionRequest() {
   let provider = Cc[PROVIDER_CONTRACT_ID].createInstance(Ci.nsIPresentationDeviceProvider);
   let listener = {
     QueryInterface: XPCOMUtils.generateQI([Ci.nsIPresentationDeviceListener,
                                            Ci.nsISupportsWeakReference]),
     addDevice: function(device) {},
     removeDevice: function(device) {},
     updateDevice: function(device) {},
     onSessionRequest: function(device, url, presentationId, controlChannel) {
-      Assert.ok(true, "recieve onSessionRequest event");
+      Assert.ok(true, "receive onSessionRequest event");
       this.request = {
         deviceId: device.id,
         url: url,
         presentationId: presentationId,
       };
     }
   };
 
@@ -685,17 +685,17 @@ function handleOnSessionRequestFromUnkno
     },
     removeDevice: function(device) {
       Assert.ok(false, "shouldn't remote any device");
     },
     updateDevice: function(device) {
       Assert.ok(false, "shouldn't update any device");
     },
     onSessionRequest: function(device, url, presentationId, controlChannel) {
-      Assert.ok(true, "recieve onSessionRequest event");
+      Assert.ok(true, "receive onSessionRequest event");
       this.request = {
         deviceId: device.id,
         url: url,
         presentationId: presentationId,
       };
     }
   };