This ensures that when hitting back, we return to the previously opened tab.
MozReview-Commit-ID: 287AOQnmwxb
--HG--
extra : transplant_source : %E4%05B%FFC%2A7%18KX%17%DB%E6%1E%1F%9D%5B%9Dn%D2
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
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
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location. Here we rewrite all require and import calls to match the new
location that these files are installed to.
--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc