Bug 1093485 - typo for NotifySendFileStatus in Nfc.js. r=dimi.
authorYoshi Huang <allstars.chh@mozilla.com>
Tue, 04 Nov 2014 15:59:24 +0800
changeset 213987 d1046e5b1f73037bbc002ded173abb1cf185af98
parent 213986 40dcd6bdf40dbaef1bcad54b3548d35aebe41d37
child 213988 dbbb19ff95250e97b10c0e1bbb8f47056cb1817e
push id27770
push usercbook@mozilla.com
push dateWed, 05 Nov 2014 12:30:43 +0000
treeherdermozilla-central@72ae882fce1a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdimi
bugs1093485
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1093485 - typo for NotifySendFileStatus in Nfc.js. r=dimi. From e9190c7fef01cab0e09aaa303a5b4db117ce7a37 Mon Sep 17 00:00:00 2001 --- dom/nfc/gonk/Nfc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dom/nfc/gonk/Nfc.js
--- a/dom/nfc/gonk/Nfc.js
+++ b/dom/nfc/gonk/Nfc.js
@@ -327,17 +327,17 @@ XPCOMUtils.defineLazyGetter(this, "gMess
           this.checkP2PRegistration(message);
           return null;
         case "NFC:NotifyUserAcceptedP2P":
           this.notifyUserAcceptedP2P(message.data.appId);
           return null;
         case "NFC:NotifySendFileStatus":
           // Upon receiving the status of sendFile operation, send the response
           // to appropriate content process.
-          message.data.type = "NotifySendFileStatus";
+          message.data.type = "NotifySendFileStatusResponse";
           if (message.data.status !== NFC.NFC_SUCCESS) {
             message.data.errorMsg =
               this.nfc.getErrorMessage(NFC.NFC_GECKO_ERROR_SEND_FILE_FAILED);
           }
           this.nfc.sendNfcResponse(message.data);
           return null;
         default:
           return this.nfc.receiveMessage(message);