Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend 25404c599e Bug 1146926: Allow sending CPOWs from parent to child processes. r=gabor
Defines an emitCPOW(event, arguments, cpows) to send a dictionary of CPOW
objects to a child process or frame. The only process that will receive the
event is the one that owns all of the CPOWs sent. The CPOW dictionary will be
appended to the arguments emitted from the port.

Also gets rid of some of the redundancy in message handling so we can more
easily change the protocol in the future.

--HG--
extra : commitid : Gq2h59Xu9VW
extra : rebase_source : 8ef9274f1071da92fa24d3c86131b198ce10f3dd
extra : histedit_source : 5949fafc5a3987fba7c6a3bb08ab8fb6f2dd351f
2015-11-18 14:40:31 -08:00
Dave Townsend d9e4d37262 Bug 1224577: Fix removing frames from the map so chrome windows aren't leaked from every add-on. r=bz
--HG--
extra : commitid : 5ULh3d5M5aV
extra : rebase_source : 310922f621d4099711637ee94134435aa4769a22
2015-11-17 12:39:08 -08:00
Dave Townsend 610674c3bb Bug 1129662: sdk/page-worker should use a remote page. r=krizsa
This makes page-worker load its pages in the remote process. It does so by
creating a single frame in the hidden window used to ensure we have a remote
process when necessary and then a module in the remote process is used to
create windowless browsers to load the pages.

This does break one API, getActiveView, but I don't think we should be
maintaining that and it has been unstable since its inception anyway.

Once downside, the l10n module now has to use the observer service to detect
documents rather than the DOM event, this might be causing more CPOW traffic
since that observer notification is shimmed so we may need to use the shim
waiver there.

--HG--
extra : commitid : FDiGeJzOj6Y
extra : rebase_source : 4a237ee4e75a5b00e8bc17df67dfc9a6db99156e
2015-10-16 13:22:28 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Dave Townsend 4b180deab2 Bug 1146603: Use messaging to set up the parent and child workers for tab.attach. r=jsantell
--HG--
extra : commitid : BMshUUuRzHn
extra : rebase_source : 675d858b625f7ba418d1a0277ab01a18e97df04b
2015-08-27 13:57:44 -07:00
Dave Townsend c87f83831d Bug 1160676: Uplift Add-on SDK to fx-team. a=me
af7133332a...d8ba32821e

--HG--
extra : rebase_source : 79cbc82f8c7159ed4fe109c83e72b18d7c61165a
2015-04-24 12:36:06 -07:00
Dave Townsend 2752de9a55 Bug 1141796: Don't inject the SDK console into pages loaded in tabs. r=erikvold 2015-03-16 11:31:14 -07:00
Dave Townsend cac13216a3 Bug 1139189: Uplift the Add-on SDK to Firefox a=me
3fbf5a6bdd..3394ad5d1d

--HG--
rename : addon-sdk/source/test/addons/l10n/locale/en-GB.properties => addon-sdk/source/test/addons/e10s-l10n/locale/en.properties
rename : addon-sdk/source/test/addons/l10n/locale/en-GB.properties => addon-sdk/source/test/addons/l10n/locale/en.properties
extra : rebase_source : f29b067cf47279b79946d01c510e52780798a64f
2015-03-11 22:19:48 -07:00