Bug 1307896 - Fixed spelling of "receive" in the assert messages. r?jdm
MozReview-Commit-ID: HdHQFV9yXG3
--- 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,
};
}
};