gecko-dev/browser/components
Rob Wu ca2c1cf947 Bug 1299411 - Pass port parameter to port.onMessage r=kmag
This should have been a part of bug 1298810, but that only set the
argument for native messaging ports, which does not use Port from
ExtensionUtils. The port parameter must also be included in runtime's
Port.onMessage to avoid regressions when the port implementations are
unified and native messaging starts using runtime's Port.

Note that starting from this commit, multiple onMessage listeners
receive the same (cloned) message instead of a new clone per listener.
This is a side effect of using `fire.withoutClone` instead of `fire`:
`fire` clones all parameters, but ports are not cloneable so we have
to use `fire.withoutClone` instead. This change with regards to message
cloning is fully compatible with Chrome's messaging API (which also
passes the same message object to all `port.onMessage` calls).

MozReview-Commit-ID: AUDuUKHkXCM

--HG--
extra : rebase_source : b91d701bba21f376935961a6eeb1a8489ac5591b
2016-09-24 11:34:26 +02:00
..
about Bug 1308351 - make about:rights web-linkable like about:license and friends, r=mikedeboer 2016-10-07 11:19:49 +01:00
build Bug 1302855 - Fold browsercomps into xul; r=bsmedberg 2016-09-27 19:54:37 -07:00
contextualidentity Bug 1308938: skip check for about: pages. r=baku 2016-10-19 15:16:34 +08:00
controlcenter/content Bug 1299437 - Manually calculate height changes of the control center's permission list until we have a real fix for sizing issues in panelmultiview, r=jaws. 2016-09-12 13:32:25 +02:00
customizableui Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws 2016-10-18 12:34:35 +01:00
dirprovider Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
downloads Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
extensions Bug 1299411 - Pass port parameter to port.onMessage r=kmag 2016-09-24 11:34:26 +02:00
feeds Bug 1311343 - Enable eslint of browser/components/feeds/; r=standard8 2016-10-27 12:02:52 +05:30
migration Bug 1308327 - Avoid passing a null value to nsDependentString. r=mak 2016-10-19 13:02:19 -07:00
newtab Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
originattributes Bug 1264571 - Add a test case of isolating broadcast channels for first party isolation. r=arthuredelstein,baku 2016-10-05 10:16:32 +08:00
places Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj 2016-10-21 16:34:42 -07:00
preferences Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
privatebrowsing Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
safebrowsing/content/test Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
search Bug 1297374 - When setting default engine from the url bar, stop the new engine replacing the old icon as the url bar always shows all engines. r=florian 2016-10-20 10:17:20 +01:00
selfsupport Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
sessionstore Bug 1312571 - Implement SessionStore.lastClosedObjectType, r=mikedeboer 2016-10-24 17:56:30 -04:00
shell Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
syncedtabs Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws 2016-10-18 12:34:35 +01:00
tests Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws 2016-10-18 12:34:35 +01:00
translation Bug 1311349 - Enable eslint of browser/components/translation/; r=florian,standard8 2016-10-27 01:41:58 +05:30
uitour Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
BrowserComponents.manifest
distribution.js Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh 2016-08-04 03:28:58 -04:00
moz.build Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp 2016-08-31 19:28:29 -04:00
nsBrowserContentHandler.js Bug 1312716 - '-preferences' on the command line no longer works due to an undefined variable. r=jaws 2016-10-25 13:35:43 +01:00
nsBrowserGlue.js Bug 1305737 - String changes to handle the cases where we don't have the device name for a sent tab. r=markh 2016-10-21 15:00:59 -04:00
nsIBrowserGlue.idl
nsIBrowserHandler.idl