This commit introduces a new SDK test addon, which tests the behavior of the
new SDK module "sdk/webextension", and ensures that the provided API can be used
to exchange messages between an SDK module and the WebExtension background page,
and between an SDK module and a WebExtension content script.
MozReview-Commit-ID: jJWfpF3HQM
--HG--
extra : rebase_source : 92c8b02cb2c84dbde3d9e96fe3e48416f382f79d
This commit integrates the `webExtension` bootstrap method parameter, which can is
set from the XPIProvider when the `hasEmbeddedWebExtension` property is true in the addon
install.rdf, into a new "sdk/webextension" SDK module, to make the creation of
SDK hybrid addons easier.
MozReview-Commit-ID: 4OUPZZyBPJv
--HG--
extra : rebase_source : 32ac6eaa9603604bb110c494019e6c1523c1e731
Instead of creating them in a subdirectory, possibly racing over the
creation of said subdirectory, just create them in the existing current
directory. They're being copied over to some other place anyways, they
just have to be picked from the right location when doing so.
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
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
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.