Bug 720083 - postMessage doesn't need the targetOrigin. r=bent
authorAndrea Marchesini <amarchesini@mozilla.com>
Wed, 03 Oct 2012 18:19:22 -0400
changeset 109243 439eafb9c71e5b11dce5ab60afe6fecd1e59e058
parent 109242 db347c212f8063033e2b43bcb386dcf762916455
child 109244 47345d8698842da3f6a3833caf3b961d3ba04410
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersbent
bugs720083
milestone18.0a1
Bug 720083 - postMessage doesn't need the targetOrigin. r=bent
dom/system/gonk/ril_worker.js
--- a/dom/system/gonk/ril_worker.js
+++ b/dom/system/gonk/ril_worker.js
@@ -3755,17 +3755,17 @@ let RIL = {
       RIL.sendDOMMessage(cmdDetails);
     }
   },
 
   /**
    * Send messages to the main thread.
    */
   sendDOMMessage: function sendDOMMessage(message) {
-    postMessage(message, "*");
+    postMessage(message);
   },
 
   /**
    * Handle incoming requests from the RIL. We find the method that
    * corresponds to the request type. Incidentally, the request type
    * _is_ the method name, so that's easy.
    */