Closed Bug 837042 Opened 9 years ago Closed 9 years ago
Remove gecko property from send
Message To Java
All messages sent via sendMessageToJava() have a gecko property for the data. We can remove this superfluous property to reduce code cruft and JSON processing.
This will break add-ons, but if we care about doing this, it would be easy enough to keep the old implementation around and change everything in the patch to use a different function (sendMessageToJava2 or something similar).
This keeps support for the gecko property and logs a warning if it's used. Maybe we can remove this check altogether once add-ons have been updated?
Comment on attachment 709153 [details] [diff] [review] Remove gecko property from sendMessageToJava, v2 Let's get some Try server runs before landing
Attachment #709153 - Flags: review?(mark.finkle) → review+
Try run looks good: https://tbpl.mozilla.org/?tree=Try&rev=b0d88cf2d28a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.