Commit Graph

456 Commits

Author SHA1 Message Date
Julian Descottes
374fd022cf Bug 1321509 - remove references to Array.slice in addon-sdk util/object;r=zer0
MozReview-Commit-ID: 8HCwdqy4kwl

--HG--
extra : rebase_source : e6712c8ec0e18427151e1db53769efea35fd5106
2016-12-07 18:03:32 +01:00
Michael Kaply
e1ccbb18fb Bug 1321133 - Backout 1285373 for regressions in pageworks. r=kmaglione
MozReview-Commit-ID: 3dXTJHFady0

--HG--
extra : rebase_source : adeac8d9510549b49d866d508f8d30351e964298
2016-12-01 12:09:44 -06:00
Tooru Fujisawa
b2673a988e Bug 1321214 - Remove legacy generator from addon-sdk/. r=mossop 2016-12-01 18:04:50 +09:00
André Bargull
c191ea642f Bug 1319934 - Remove String generics uses in addon-sdk. r=mossop
--HG--
extra : rebase_source : 1bbe8078ab32c9bf75b0ae8622df510a6bfb4b81
2016-11-24 13:17:19 -08:00
Luca Greco
0f0981e992 Bug 1316875 - Fix page-worker SDK test addon intermittency and re-enable it. r=mossop
MozReview-Commit-ID: 94ImlSy0dU8

--HG--
extra : rebase_source : 3e20c6617d96e8da99f43723ac65bb6f0c23ac2b
2016-11-11 04:09:29 +01:00
Tooru Fujisawa
a1390eb552 Bug 1293305 - Part 1.5: Fix addon-sdk test for for-each to skip if for-each is disabled. r=mossop 2016-11-21 15:03:34 +09:00
Boris Zbarsky
96500c4e69 Bug 909656. Remove the legacycaller from HTMLObjectElement/HTMLEmbedElement, since it's not used in the wild, other browsers don't seem to support it, and we're dropping non-Flash plugins anyway. r=bsmedberg 2016-11-18 16:13:06 -05:00
Ehsan Akhgari
f0f85366d9 Bug 1318218 - Remove PermissionsTable; r=baku,jryans
This also removes the WebIDE UI for viewing the permissions table.
2016-11-18 08:59:35 -05:00
Carsten "Tomcat" Book
c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
Andrew Swan
5b79aa5855 Bug 1315407 Fix sdk addon-install r=mossop
MozReview-Commit-ID: FuECBIHE7xR

--HG--
extra : rebase_source : c6be8b33c481364162c36a0a95272fc46a19e996
2016-11-11 10:13:13 -08:00
Wes Kocher
c7d27df096 Merge mozilla-central to autoland a=merge 2016-11-11 14:10:32 -08:00
Markus Stange
d6fd5ce075 Bug 1316922 - Fix border radius of add-on sdk panels on macOS. r=kmag
MozReview-Commit-ID: EyIziH3Ui2T

--HG--
extra : rebase_source : 9d89b8346aedaf927b6f28c812f6ef83e1d0fd28
2016-11-11 14:24:53 -05:00
Joel Maher
c4065dfd48 Bug 1288619 - disable page-worker test due to high intermittent rate. r=rpl
MozReview-Commit-ID: 8Oap0T7xtaw
2016-11-10 16:38:14 -05:00
Phil Ringnalda
e7fdca7c8d Backed out 6 changesets (bug 1301340, bug 1303113) for landing too close to a merge and causing leaks and test failures
Backed out changeset adfcc194af1c (bug 1303113)
Backed out changeset 085035586d2b (bug 1303113)
Backed out changeset 81f3bb541c86 (bug 1301340)
Backed out changeset 05c42cf92851 (bug 1301340)
Backed out changeset cb45e90f6596 (bug 1301340)
Backed out changeset f54a717c6fc6 (bug 1301340)

MozReview-Commit-ID: BkwhFJNtF7G

--HG--
extra : rebase_source : cc47ef8587f08b12b53406efee1d5b915d3c833a
2016-11-09 19:11:12 -08:00
Gabor Krizsanits
a7a38b8a5f Bug 1301340 - part6: Disabled test should still run in non-e10s mode. r=me 2016-11-04 11:05:55 +01:00
Gabor Krizsanits
566393518d Bug 1301340 - part5: Turning off some tests temporarily to enable e10s-multi. r=mrbkap 2016-11-03 19:28:15 +01:00
Wes Kocher
bc55e46e74 Backed out 3 changesets (bug 1315407) for bc7 permafail a=backout
Backed out changeset a3fbd5543a77 (bug 1315407)
Backed out changeset 50984e605fd7 (bug 1315407)
Backed out changeset c7fa771f5bb1 (bug 1315407)
2016-11-11 12:44:58 -08:00
Kris Maglione
288b7fec70 Bug 1315435. r=Mossop
MozReview-Commit-ID: 1VSX4vyPdDS

--HG--
extra : rebase_source : 3cae06430abf6df41013dc683be8a53e0ec3e0c9
2016-11-05 14:23:02 -07:00
Andrew Swan
c54be3c004 Bug 1315407 Fix sdk addon-install r=mossop
MozReview-Commit-ID: FuECBIHE7xR

--HG--
extra : rebase_source : 12bdd9713b36d2d60926cf36abba70298541c970
extra : source : 6371734b731a06e898d12de37d9f07c261f75761
2016-11-11 10:13:13 -08:00
Tom Tromey
92a5c63599 Bug 1310702 - use webpack-like require.context in devtools l10n; r=jryans
MozReview-Commit-ID: 5noH0y0MgaK

--HG--
extra : rebase_source : e7a4507a89f467fa8143be1899cd5e6ba80aa6fe
2016-10-20 11:00:28 -06:00
Kris Maglione
534738af07 Bug 1313440: Fix NS_ENSURE_TRUE(isSandbox) warnings in JPM bootstrap. r=erahm
MozReview-Commit-ID: E4qgjheRyV6

--HG--
extra : rebase_source : 419656ea8aa128d1a62304f4613711d162e4d282
extra : histedit_source : 23d1f467830d326acfb6c7fd5c1072b99a05b970
2016-10-27 13:28:49 -07:00
Kris Maglione
209eda4dfc Bug 1313440: Fix NS_ENSURE_TRUE(isSandbox) warnings in test code. r=erahm
MozReview-Commit-ID: GkDaUL6sDfy

--HG--
extra : rebase_source : cd2ebaaae69be3d9efea10d8c9d88cba8df8cbe6
extra : histedit_source : 2b0bfb80979f722e36c7f88614413ced9bf869ad
2016-10-27 13:28:01 -07:00
Kris Maglione
67e2b2f753 Bug 1309350: Part 2 - Speed up synchronous resolution of module paths. r=gps,ochameau
r?gps for the build changes and ochameau for the rest.

This results in about a 28% speed-up for Jetpack mochitest runs, for me.

MozReview-Commit-ID: K30q7BfvTLs

--HG--
extra : rebase_source : 8074947062c73a329f1d8a255a9601147ba1ba0c
2016-10-14 05:27:15 +01:00
Luca Greco
a3ad81ea5c Bug 1149162 - Remove CPOW shim usage in SDK test-tab test related to tab.readyState. r=Mossop
MozReview-Commit-ID: Cg0koZxzSxp

--HG--
extra : rebase_source : 59d8d5029df84017b825309c7422799c518d0397
2016-08-29 20:03:42 +02:00
Ehsan Akhgari
c1d2c29601 Bug 1310094 - Part 2: Remove UserCustomizations.jsm; r=myk 2016-10-17 14:08:30 -04:00
Kris Maglione
d62ecef263 Bug 1309351: Part 2 - Use a shared global sandbox and simple module resolution for built-in modules. r=ochameau
This takes another 21% off the Jetpack test suite run time for me.

MozReview-Commit-ID: 1U2lq4PN21w

--HG--
extra : rebase_source : 1a639e8d920e083ce891312475fcb6fe2f401977
2016-10-14 06:14:10 +01:00
Kris Maglione
4ded38ffdb Bug 1309351: Part 1 - Replace child_process/subprocess.js with a thin wrapper around Subprocess.jsm. r=rpl f=mhowell
MozReview-Commit-ID: 7r9pSC8v1T

--HG--
extra : rebase_source : b3f540e80f7722c3d0970981a83a059eb6d4991a
2016-10-14 18:01:42 -07:00
Kris Maglione
45bae3f6ed Bug 1309350: Part 1 - Remove dead code and clean up cruft. r=ochameau
I had to untangle a lot of this mess just to understand what was going on well
enough to make changes.

MozReview-Commit-ID: 2ygiK2ED1pX

--HG--
extra : rebase_source : 95e39c47450b6cecd32cf2a73cdce4b31f5e3e11
2016-10-13 00:24:32 +01:00
Ehsan Akhgari
9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Kris Maglione
9d78611105 Bug 1305148: Ignore panel.resize when the panel isn't visible. r=gabor
MozReview-Commit-ID: BFPZm3wUKf2

--HG--
extra : rebase_source : c25c3808c0dc8ae7c3eebfba85713c1cbad75784
extra : histedit_source : c480b0d5465587aef9835483f3379cfc08067bab
2016-09-28 22:18:09 +01:00
Kris Maglione
3074a514df Bug 1304379: Don't create an extra browser if panel.show is called multiple times. r=gabor
MozReview-Commit-ID: 1rvHg6x976z

--HG--
extra : rebase_source : a63181938c7a4b1dab7dd804e612c63153fe220a
extra : histedit_source : b032b2c7b65d8d26a973fac440fc6230c70fee45
2016-09-28 22:07:02 +01:00
Kirk Steuber
69c62b82da Bug 1206133 - Fix for Jetpack bugs caused by the popuppositioned patch. r=gabor
MozReview-Commit-ID: 7SQIMcaNoAl

--HG--
extra : rebase_source : a63113c3084795b853df4b859fc8baf014bc2782
2016-06-10 10:59:38 +02:00
Dale Harvey
b694c34086 Bug 1267495 - Fallback to local config for fresh GMP installs. r=mconley, r=rhelmer, feedback=ksteuber 2016-09-27 11:57:41 +01:00
Luca Greco
b5b320854e Bug 1269347 - Part3 Add SDK with embedded webextension test addon. r=krizsa
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
2016-09-14 17:09:22 +02:00
Luca Greco
4af7171c4f Bug 1269347 - Part2 Add support for embedded webextension in SDK test addons. r=mossop
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
2016-05-23 23:02:18 +02:00
Luca Greco
3a35b8e5bc Bug 1269347 - Part1 Expose the optional embedded webextension as a builtin SDK module. r=krizsa
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
2016-09-19 13:58:50 +02:00
Kris Maglione
bad6103170 Bug 1294199: Part 2 - Fix rendering of SDK panels in private browsing windows. r=gabor
MozReview-Commit-ID: 6nCyoHUHyZb

--HG--
extra : rebase_source : ac27225296a5b93494c3cf67618f04c4f81cc17a
2016-09-12 16:59:14 -07:00
Wladimir Palant
965602e1ec Bug 1300735 - Flush cached locale strings when l10n SDK module is loaded. r=zer0
MozReview-Commit-ID: HAOc29ebXsR

--HG--
extra : rebase_source : d79b75ff19d80352775d9ee3e895be9a91c591b1
2016-09-07 16:46:04 +02:00
Wladimir Palant
4cf6a90426 Bug 918600 - Make sure tooltips are displayed for SDK panels. r=zer0
--HG--
extra : rebase_source : 0a598bae74ba5fa786605bcaba3192a541c89079
2016-09-08 13:29:28 +02:00
Eric Rahm
8525660464 Bug 1299631 - Avoid accessing dead windows in test-firefox-windows.js. r=zer0
Rather than checking for window.closed we can just check the number of active
windows.
2016-09-01 15:28:14 -07:00
Ben Kelly
aa1f12455c Bug 1298812 Don't hold windows alive unnecessarily in window-utils.js. r=gabor 2016-08-31 06:48:01 -07:00
Gabor Krizsanits
d428901e30 Bug 1297446 - Shimwaiver for l10n. r=billm 2016-08-31 10:59:28 +02:00
Bruce Bujon
133af9ea87 Bug 1224863 - Make addon-sdk windows module include private browsing windows in browserWindows. r=bkelly
DONTBUILD

--HG--
extra : rebase_source : f19cacbcb049f70d1040360b70f811e45c639765
extra : source : 5e10edf2ce87b40df535839d157d60681c915891
2016-08-17 10:12:00 -04:00
Ryan VanderMeulen
aef3fb730e Backed out changeset 5e10edf2ce87 (bug 1224863) for landing with the wrong patch author.
--HG--
extra : rebase_source : 6f33269ad98bfd934f8d474455e6a40586bb4343
2016-08-18 13:33:17 -04:00
Pierre Bertet
f5eee5112f Bug 1224863 - Make addon-sdk windows module include private browsing windows in browserWindows. r=bkelly 2016-08-17 10:12:00 -04:00
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Mike Hommey
67404442a6 Bug 1256004 - Create the addon-sdk test addons directly under addon-sdk. r=gps
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.
2016-08-16 08:32:54 +09:00
Ben Kelly
921a58dfb2 Bug 1288440 P4 Test that sdk/window/events does not leak existing windows. r=gabor 2016-07-22 06:26:49 -07:00
Ben Kelly
9027cc8e21 Bug 1288440 P3 Test that sdk/tab/events does not leak. r=gabor 2016-07-22 06:26:49 -07:00
Ben Kelly
6669a84ee0 Bug 1288440 P2 Don't leak existing windows in sdk/window/events. r=gabor 2016-07-22 06:26:49 -07:00