Shane Caraveo
19e21ac660
Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
...
MozReview-Commit-ID: Ke4NsthrbP2
2017-04-18 15:50:53 -07:00
Kris Maglione
e69c789ec0
Bug 1317697: Split extension page child and content script child code as much as possible. r=mixedpuppy
...
MozReview-Commit-ID: 4lKFqoJHVFb
2017-04-14 16:57:34 -07:00
Joel Maher
d2be399571
Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
...
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Kris Maglione
884009911d
Bug 1350522: Part 2 - Convert toolkit APIs to lazy loading. r=aswan
...
MozReview-Commit-ID: 8TbTIM4WX2d
2017-03-31 19:36:00 -07:00
Andrew Swan
fc72911ff3
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Sebastian Hengst
e33b75e3f1
Backed out changeset d1628b66e5f8 (bug 1197420)
2017-03-25 17:39:38 +01:00
Andrew Swan
a151659a43
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Phil Ringnalda
bb0cc6a131
Backed out 5 changesets (bug 1197420) for test_ext_permissions.js and test_chrome_ext_permissions.html timeouts on Fennec
...
CLOSED TREE
Backed out changeset 8a0125e00903 (bug 1197420)
Backed out changeset 925e3a9499ee (bug 1197420)
Backed out changeset 46e135035f10 (bug 1197420)
Backed out changeset 440bab141509 (bug 1197420)
Backed out changeset 3e690bbe8b5a (bug 1197420)
2017-03-24 20:43:24 -07:00
Andrew Swan
1ab93c4095
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Sebastian Hengst
7b11b686c6
Backed out changeset 7df6cc66a2eb (bug 1197420)
2017-03-24 20:56:10 +01:00
Andrew Swan
925ea0071d
Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
...
With this patch, permissions are not actually applied,
but the permissions api is in place.
MozReview-Commit-ID: CTaXz5sa1xy
2017-03-23 21:48:03 -07:00
Carsten "Tomcat" Book
708777dd78
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
Kris Maglione
ebe238b724
Bug 1344616: Migrate content script mochitests to xpcshell. r=mixedpuppy
...
MozReview-Commit-ID: 2ljMgRTIi5r
2017-03-06 17:15:40 -08:00
Matthew Wein
18e5cb2f76
Part 1: Bug 1295807 - Add a Javascript Module for registering proxy scripts. r=kmag,robwu
...
MozReview-Commit-ID: HLokEivMpmp
2017-03-06 17:04:46 -05:00
Ryan VanderMeulen
57a4b61c72
Backed out changeset 7a576717126b (bug 1295807) for unresolved review issues. DONTBUILD
2017-03-06 16:47:49 -05:00
Matthew Wein
4a9f157e28
Part 1: Bug 1295807 - Add a Javascript Module for registering proxy scripts. r=kmag,robwu
...
MozReview-Commit-ID: HLokEivMpmp
2017-03-03 23:25:57 +00:00
Sebastian Hengst
2d1fc2a660
Backed out changeset 488acde695af (bug 1295807) for formatting failure in extensions-toolkit.manifest and eslint failure. r=backout
2017-03-05 20:18:41 +01:00
Matthew Wein
7c3aae7284
Part 1: Bug 1295807 - Add a Javascript Module for registering proxy scripts. r=kmag,robwu
...
MozReview-Commit-ID: HLokEivMpmp
2017-03-03 23:25:57 +00:00
Wes Kocher
e992104f74
Backed out 2 changesets (bug 1295807) for build bustage a=backout
...
Backed out changeset 1b162d4857b5 (bug 1295807)
Backed out changeset 1a9f4c3c782d (bug 1295807)
MozReview-Commit-ID: A7E4wtTcBNM
2017-03-02 18:19:10 -08:00
Matthew Wein
08ecccfcc1
Part 1: Bug 1295807 - Add a Javascript Module for registering proxy scripts. r=kmag,robwu
...
MozReview-Commit-ID: HLokEivMpmp
2017-03-01 15:35:34 +00:00
Mike de Boer
fcbaae1469
Bug 1330349 - Part 1 - move the new theme WebExtension API to the toolkit collection of APIs. r=aswan
...
MozReview-Commit-ID: LERYdJHNvxW
2017-03-02 14:22:14 +01:00
Sebastian Hengst
80293821cd
Backed out changeset 86fae94513cd (bug 1330349) for failing mochitest browser_bug591465.js and xpcshell test test_webextension_theme.js. r=backout on a CLOSED TREE
2017-03-02 00:03:10 +01:00
Mike de Boer
6265f537f9
Bug 1330349 - Part 1 - move the new theme WebExtension API to the toolkit collection of APIs. r=aswan
...
MozReview-Commit-ID: D2SwtSu1VZw
2017-03-01 17:57:13 +01:00
Sebastian Hengst
fac70eb6bc
Backed out changeset 5c2a88e35ffc (bug 1330349) for failing xpcshell test test_dss.js. r=backout
2017-03-01 20:09:01 +01:00
Mike de Boer
f8071d3fbe
Bug 1330349 - Part 1 - move the new theme WebExtension API to the toolkit collection of APIs. r=aswan
...
MozReview-Commit-ID: D2SwtSu1VZw
2017-03-01 17:57:13 +01:00
Bob Silverberg
3a5d69e781
Bug 1320736 - Part 3: Create ExtensionPreferencesManager module, r=aswan
...
MozReview-Commit-ID: BiY8XikUSUV
2017-01-16 17:30:47 -05:00
Bob Silverberg
d997693083
Bug 1320736 - Part 2: Create ExtensionSettingsStore module, r=aswan
...
MozReview-Commit-ID: A6zWB58OAlB
2017-01-12 17:12:05 -05:00
Kris Maglione
bbe2608ca7
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
2017-01-30 22:44:16 -08:00
Kris Maglione
4f71b2ad42
Bug 1317101 - Part 8c: Run plain mochitests in both parent-process and remote configurations. r=billm
...
MozReview-Commit-ID: 3gs4vAlFBeU
2016-11-15 18:20:52 -08:00
Wes Kocher
2876e6bba5
Backed out 15 changesets (bug 1317101) for e10s jsreftest failures a=backout CLOSED TREE
...
Backed out changeset 17757ba4c0e8 (bug 1317101)
Backed out changeset 61f8a4084bbd (bug 1317101)
Backed out changeset a8cdc81cdcce (bug 1317101)
Backed out changeset e06d269a5d4f (bug 1317101)
Backed out changeset 1e1bfb578dcd (bug 1317101)
Backed out changeset 0f8144296a9d (bug 1317101)
Backed out changeset b7892d3fb0ca (bug 1317101)
Backed out changeset 039d63d5fef7 (bug 1317101)
Backed out changeset ef7e061b37bf (bug 1317101)
Backed out changeset af7b81d7a5cc (bug 1317101)
Backed out changeset 225ad2535585 (bug 1317101)
Backed out changeset b0521588011d (bug 1317101)
Backed out changeset 07321664430a (bug 1317101)
Backed out changeset 47d283897283 (bug 1317101)
Backed out changeset ffc63be3557c (bug 1317101)
2016-11-16 16:44:30 -08:00
Kris Maglione
150e184e00
Bug 1317101 - Part 8c: Run plain mochitests in both parent-process and remote configurations. r=billm
...
MozReview-Commit-ID: 3gs4vAlFBeU
2016-11-15 18:20:52 -08:00
Shane Caraveo
77f48e21d2
Bug 1305421 - Implement chrome.identity, r=kmag
...
MozReview-Commit-ID: LCAbodtV4XZ
2016-11-14 13:02:02 -08:00
Michiel de Jong
f4b60082d3
Bug 1253740 - Implement storage.sync, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5v9nYBTgekj
2016-08-11 18:16:37 -04:00
Wes Kocher
f17d46cc2b
Backed out 9 changesets (bug 1253740) for xpcshell failures a=backout
...
Backed out changeset 903890f218dd (bug 1253740)
Backed out changeset 1b13fe394b66 (bug 1253740)
Backed out changeset e1312ab53299 (bug 1253740)
Backed out changeset 5b5338a2baeb (bug 1253740)
Backed out changeset d3d89d4e2d87 (bug 1253740)
Backed out changeset 96da5e6944b8 (bug 1253740)
Backed out changeset 4fbff333994f (bug 1253740)
Backed out changeset 653788e146f2 (bug 1253740)
Backed out changeset b98fa03d8c15 (bug 1253740)
2016-11-11 18:59:24 -08:00
Michiel de Jong
a1fdb6f3ff
Bug 1253740 - Implement storage.sync, r=bsilverberg,kmag
...
MozReview-Commit-ID: 5v9nYBTgekj
2016-08-11 18:16:37 -04:00
Kris Maglione
d25b4ecf0f
Bug 1316396: Part 1 - Reorganize parent, child, common, and test code into more appropriate modules. r=aswan
...
MozReview-Commit-ID: 5WMt69GoN3K
2016-11-10 12:35:22 -08:00
Rob Wu
cea9d2eac3
Bug 1287007 - Move ExtensionContext to separate file r=billm
...
This is just a mechanical change, literally nothing more than cutting
ExtensionContext from Extension.jsm, pasting it in ExtensionChild.jsm
and adding the minimal imoort boilerplate.
MozReview-Commit-ID: 5uVt1IOdEFU
2016-09-05 00:15:18 -07:00
Luca Greco
ead728d5ad
Bug 1252215 - [webext] LegacyExtensionsUtils JSM module and LegacyExtensionContext helper. r=aswan,kmag
...
- this new module contains helpers to be able to receive connections
originated from a webextension context from a legacy extension context
(implemented by the `LegacyExtensionContext` class exported from
this new jsm module)
- two new test files (an xpcshell-test and a mochitest-browser) ensures that the LegacyExtensionContext can receive a Port
object and exchange messages with a background page and a content script (the content script test
is in a different test file because it doesn't currently work on android, because it needs
the browser.tabs API and the TabManager internal helper)
MozReview-Commit-ID: DS1NTXk0fB6
2016-08-24 18:31:36 +02:00
Rob Wu
a430263825
Bug 1287010 - Use sandbox instead of JSM for global separation r=billm
...
MozReview-Commit-ID: GSqmh0xC2hW
2016-08-23 16:19:33 -07:00
Rob Wu
a68fdede92
Bug 1287010 - Use minimal global scope for ext-*.js scripts r=billm
...
Currently there is a tight coupling between registered APIs because they
share the same global scope, and the dependencies between the modules
that use these globals are not explicit. Consequently, it would be
possible for APIs to break when the registered APIs run in separate
processes, because then there are separate global scopes.
To mitigate this issue, this patch isolates the global namespaces of
API registrations in different environments, starting with the "chrome"
process. Content and addon processes will follow later.
A new JSM is introduced to avoid hidden dependencies between ext-*.js
and the script loader. ExtensionUtils.jsm would be a natural choice for
this shared utility method, but cannot be used because its local
`EventEmitter` implementation conflicts with the `EventEmitter` import
in ext-tabs.js.
So, this patch provides isolation of global variables declared through
`globals.XXX = ...`, but does not provide isolation for `Cu.import`-ed
logic. Ideally `Cu.import` should always use its second argument to
prevent inadvertent namespace pollution.
MozReview-Commit-ID: 1DTZaKOaeSE
2016-08-17 20:28:19 -07:00
Kris Maglione
aeb04c78d9
Bug 1263011: Part 2 - Implement WebExtensions Experiments prototype. r=aswan
...
MozReview-Commit-ID: 4KO4cCLRsLf
2016-08-05 14:20:54 -07:00
Kris Maglione
c3ea0facd5
Bug 1290598: Refactor native messaging test setup code into separate head file. r=aswan
...
MozReview-Commit-ID: BN9oeXt79eG
2016-07-29 14:42:03 -07:00
Carsten "Tomcat" Book
f15564754a
Backed out changeset 3f6f0dc1663c (bug 1290598) for xpcshell timeouts in test_ext_native_messaging.js
2016-08-03 15:12:57 +02:00
Kris Maglione
f3d9d8ebb1
Bug 1290598: Refactor native messaging test setup code into separate head file. r=aswan
...
MozReview-Commit-ID: BN9oeXt79eG
2016-07-29 14:42:03 -07:00
Kris Maglione
a3391649ba
Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
...
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.
MozReview-Commit-ID: 7Yy9jWkGsMM
2016-07-24 16:09:26 -07:00
Sebastian Hengst
752bc77530
Backed out changeset 8da1ed0adf15 (bug 1288885) for failure and crashes in test_ext_background_window_properties.js on Android in xpcshell and sets tests. r=backout
2016-07-28 10:06:35 +02:00
Kris Maglione
f964b84f2e
Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
...
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.
MozReview-Commit-ID: 7Yy9jWkGsMM
2016-07-24 16:09:26 -07:00
Matthew Wein
e3d00b8074
Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
...
MozReview-Commit-ID: 2U8cTYeH8kg
2016-07-22 12:44:40 -07:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
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
2016-07-14 10:16:42 -06:00
Andrew Swan
308f5c30d2
Bug 1270356 Part 2: Implement parsing and validation of native host manifests r=kmag
...
MozReview-Commit-ID: 3aXlBAgV4ti
2016-05-17 15:17:52 -07:00