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 make it possible the creation of hybrid addons as part of the set of
SDK test addons.
Unfortunately these SDK test addons are build using the old cfx tool and the its
related module loader, and so this patch applies the changes needed to:
- optionally include an `hasEmbeddedWebExtension` option in the generated "install.rdf"
(if the test addon "package.json" contains a property with the same name
in its "package.json")
- initialize the "sdk/webextension" from the bootstrap method params
(as already done in the previous patch for the new SDK module loader)
- include the "webextension/" dir in the generated xpi, if any (similarly
to how it is already done for the "chrome/" dir, which an SDK addon can optionally
contain)
MozReview-Commit-ID: 4WS5ZYkl8FY
--HG--
extra : rebase_source : 287501db8707de2679d3dfffb23555319c706593
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
I recently discovered that build-tools 23.0.3 doesn't seem to exist on Fedora. Although
I fixed mozboot to download 23.0.1 instead, the builds were still failing because of
configure required 23.0.3.
This seems like an artificial limitation, as building with 23.0.1 seems to work just fine.
This patch will allow either 23.0.1 or 23.0.3.
Note: It would probably better to check for some "minimum" version of build-tools I think
GNU sort has a -V option we could use, but I don't know how cross-platform this is.
MozReview-Commit-ID: 8W0P3yyAHu1
--HG--
extra : rebase_source : 166c1b66962cac6af92c4ce6d3cc1780d9049800
Array.filter was given the wrong information, so we were only adding
existing name, instead of adding new ones.
This is not critical, as this is only useful to better find when issues
are fixed, that's why I'm fixing it in a fly-by here.
MozReview-Commit-ID: CGkN3BbSTge
--HG--
extra : rebase_source : c5381e528c7f7a24438332294cb498bce9b92b21
Remove following domains from ua-update.json.in:
auctions.yahoo.co.jp
news.yahoo.co.jp
shopping.yahoo.co.jp
travel.yahoo.co.jp
sports.yahoo.co.jp
mixi.jp
Update bug number inline