Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check
- the outdated 0666 octal constant is still parsed correctly,
- the outdated 0666 octal constant raises syntax error flag
in strict mode, etc.
So leave them alone.
const declarations are no longer accessible from outside the script that makes
them so in order for bootstrap.js to be able to access the loaderSandbox
declaration we must use var.
--HG--
extra : commitid : FhYP2fJJaXr
extra : rebase_source : d4877a4afbc4f139540987cfe8d1372f71aad388
By sending the CPOW to the child processes the one that owns it will create the
child worker and then send back the url of the window to set up the parent
side of the worker.
There are two breaking changes here. Workers invoked in this way no longer
attach synchronously. We no longer pass the window through the attach event.
--HG--
extra : commitid : By30pJI1Lj9
extra : rebase_source : bbca0c512d9fb135d2ca9d5ad263e3f8f6c297b3
extra : histedit_source : e50c90e0f20d60ad94949758b28721301c52d60c
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
By not waiting for the tab to finish loading we end up accidentally killing
the child process somehow and later tests that expect a child process to be
present fail.
--HG--
extra : commitid : BafOfiA8Szf
extra : rebase_source : 1be2723fca81f6ca4cbf293cdf6af9922f915c63
extra : histedit_source : b7b034188c535eedbbe197a923c1a60e8bcf3a95
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