Commit Graph

113 Commits

Author SHA1 Message Date
Kris Maglione
4d8065e240 Bug 1373293: Follow-up: Bump StartupCache schema version. r=trivial
MozReview-Commit-ID: JR1ZP9ByRFb
2017-06-23 10:55:48 -07:00
Ian Bicking
df9f192d56 Bug 1372310 - bump ExtensionStartupCache SCHEMA_VERSION r=aswan,mossop
This avoids an issue described in https://github.com/mozilla-services/screenshots/issues/3027 Bug 1372750 and Bug 1373749 where a cached version of Screenshot's manifest.json is retained after upgrade
r?aswan

MozReview-Commit-ID: 9RMKTFN1ugI
2017-06-16 15:24:06 -05:00
Kris Maglione
01d769d2fb Bug 1368289: Simplify frameloader global metadata tagging. r=mixedpuppy
MozReview-Commit-ID: 1hgTtWysmya
2017-05-27 17:30:53 -07:00
Sebastian Hengst
104346b202 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-05 11:08:00 +02:00
Sebastian Hengst
a7d2475436 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: G0dLvIdtcAi
2017-06-05 11:05:49 +02:00
Jared Hirsch
1372b2c6dd Bug 1366827 - Enable WebExtension experiments in Beta and Release. r=aswan
MozReview-Commit-ID: 1Z5p4AoelPu
2017-06-02 12:04:01 -07:00
Kris Maglione
8ff587711f Bug 1356546: Part 4 - Use StructuredCloneHolder as transport for proxied method return values. r=aswan
MozReview-Commit-ID: LZ3XkamgkeF
2017-06-04 20:39:28 -07:00
Kris Maglione
b546affc93 Bug 1356546: Part 3 - Use StructuredCloneHolder as transport for proxied message listeners. r=aswan
MozReview-Commit-ID: 2YeNuGkmY3k
2017-05-06 21:21:37 -07:00
Kris Maglione
db3ec327d2 Bug 1368189: Move more code out of ExtensionUtils.jsm. r=mixedpuppy
Also removes some dead code.

A lot of the code in ExtensionUtils.jsm is not needed in all processes, and a
lot of the rest isn't needed until extension code runs. Most of it winds up
being loaded into all processes way earlier than necessary.

MozReview-Commit-ID: CMRjCPOjRF2
2017-05-26 15:44:41 -07:00
Kris Maglione
88befd774d Bug 1368152: Part 3 - Remove ExtensionManagement.getURLForExtension. r=aswan
MozReview-Commit-ID: 4KalPWYQeks
2017-06-03 22:29:27 -07:00
Matthew Wein
947bca800c Bug 1266012 - Add identity indication for the moz-extensions scheme r=mixedpuppy
MozReview-Commit-ID: BtbRGPJbsHs
2017-05-10 15:14:15 -04:00
Luca Greco
43da730071 Bug 1302702 - Provide a DebugUtils object from ExtensionParent.jsm. r=kmag
This change prepare the WebExtensions internals to the changes applied to the
addon debugging facilities in the other patches from this queue.

In ExtensionParent.jsm, a HiddenXULWindow helper class has been refactored out
of the HiddenExtensionPage and then reused by both HiddenExtensionPage and
the new DebugUtils object.

The DebugUtils object provides the utility methods used by the
devtools actors related to the addon debugging, which are used to retrieve
an "extension process browser XUL element" (a XUL browser element that has been
configured by DebugUtils to be used to connect the devtools parent
actor to the process where the target extension is running), and then release it
when it is not needed anymore (because the developer toolbox has been closed and
all the devtools actors destroyed).

The DebugUtils object used the HiddenXULWindow class to lazily create
an hidden XUL window to contain the "extension process browser XUL elements"
described above (and the HiddenXULWindow istance is then destroyed when there
is no devtools actor that is using it anymore).

MozReview-Commit-ID: 31RYQk1DMvE
2017-03-21 16:24:13 +01:00
Sebastian Hengst
46e381af15 Backed out changeset 5c8ee0487056 (bug 1302702) for failing xpcshell's toolkit/components/extensions/test/xpcshell/test_ext_shutdown_cleanup.js and more on Android. r=backout 2017-05-17 20:02:30 +02:00
Luca Greco
866efc931e Bug 1302702 - Provide a DebugUtils object from ExtensionParent.jsm. r=kmag
This change prepare the WebExtensions internals to the changes applied to the
addon debugging facilities in the other patches from this queue.

In ExtensionParent.jsm, a HiddenXULWindow helper class has been refactored out
of the HiddenExtensionPage and then reused by both HiddenExtensionPage and
the new DebugUtils object.

The DebugUtils object provides the utility methods used by the
devtools actors related to the addon debugging, which are used to retrieve
an "extension process browser XUL element" (a XUL browser element that has been
configured by DebugUtils to be used to connect the devtools parent
actor to the process where the target extension is running), and then release it
when it is not needed anymore (because the developer toolbox has been closed and
all the devtools actors destroyed).

The DebugUtils object used the HiddenXULWindow class to lazily create
an hidden XUL window to contain the "extension process browser XUL elements"
described above (and the HiddenXULWindow istance is then destroyed when there
is no devtools actor that is using it anymore).

MozReview-Commit-ID: 31RYQk1DMvE
2017-03-21 16:24:13 +01:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Kris Maglione
bdb8ae3dfd Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd
2017-04-14 17:00:51 -07:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Kris Maglione
9e1d79362b Bug 1350522: Part 5 - Remove registerSchemaAPI(). r=aswan
MozReview-Commit-ID: 5yK2wUms86G
2017-03-25 13:59:14 -07: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
Kris Maglione
dccaa03b3d Bug 1350522: Part 1 - Allow lazily loading and instantiating API modules. r=aswan
MozReview-Commit-ID: 7ETOJL6ERkg
2017-03-31 17:16:39 -07:00
Tomislav Jovanovic
d4b3c25736 Bug 1339559 - Identify script that resulted in non-structured-clonable data r=kmag
MozReview-Commit-ID: AURB4Qpwimh
2017-03-13 09:04:45 +01:00
Matthew Wein
57d753fc0f Bug 1338525 - Add schema validation for webextension themes r=mikedeboer,mossop
MozReview-Commit-ID: 3QjDrTeMKH0
2017-03-17 18:17:14 -04:00
Sebastian Hengst
07de254e04 Backed out changeset 8f55090db9e6 (bug 1338525) for eslint failure in toolkit/components/extensions/ExtensionUtils.jsm. r=backout 2017-03-16 20:53:09 +01:00
Matthew Wein
cd3cbaa6f3 Bug 1338525 - Add schema validation for webextension themes r=mikedeboer,mossop
MozReview-Commit-ID: 3QjDrTeMKH0
2017-03-10 14:45:50 -05:00
Shane Caraveo
23a820e002 Bug 1340739 sidebar window is not the browser window, r=kmag
MozReview-Commit-ID: 9HBwIaAefO1
2017-02-21 16:16:21 -08:00
Kris Maglione
04c93fc6ca Bug 1339144 - Use windowless browser for remote background pages. r=aswan
MozReview-Commit-ID: LfmPbkTsgwu
2017-02-16 17:26:15 -08:00
Iris Hsiao
a03d2f9e7d Backed out changeset c122b0183c7c (bug 1339144) for xpcshell failures 2017-02-17 10:40:20 +08:00
Kris Maglione
04eaecabfd Bug 1339144 - Use windowless browser for remote background pages. r=aswan
MozReview-Commit-ID: LfmPbkTsgwu
2017-02-16 17:26:15 -08:00
Luca Greco
0e6eca442e Bug 1300587 - Fix DevToolsExtensionPageContextParent shutdown method. r=kmag
- a DevToolsExtensionPageContextParent instance can be missing a devToolsTarget
  property when it is destroyed (because the devToolsTarget property is set lazily
  if the extension page is using any API that actually needs a TabTarget instance)

- the DevToolsExtensionPageContextParent's shutdown method should
  call super.shutdown to complete its cleanup.

MozReview-Commit-ID: EnxEZ0rrnTT
2017-02-09 18:15:38 +01:00
Kris Maglione
14194a39c5 Bug 1260548: Part 8 - Cut down on unnecessary console warnings during test runs. r=aswan
This isn't strictly related to the rest of the changes, but was helpful in the
course of debugging them.

MozReview-Commit-ID: 2nvccYYVXfR
2017-01-29 00:58:25 -08:00
Kris Maglione
b75166a3bc Bug 1260548: Part 6 - Add basic tabs API support for Android. r=aswan
MozReview-Commit-ID: JJgcKp4AZ9S
2017-02-01 15:21:00 -08:00
Kris Maglione
1ccc618561 Bug 1260548: Part 5 - Factor out <browser> data logic into shared modules. r=aswan
MozReview-Commit-ID: GHPympWA7U
2017-01-30 20:11:14 -08: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
Luca Greco
058d05c385 Bug 1291737 - Implements the devtools_page context. r=kmag
MozReview-Commit-ID: CxS5e101C3z
2017-01-18 15:55:21 +01:00
Luca Greco
4ad0d882d1 Bug 1291737 - Changes to ExtensionParent JSM for the DevTools APIs. r=kmag
This patch introduces the new DevToolsExtensionPageContextParent class,
a class specialized for the devtools extension contexts needs, and
other changes needed to support the DevTools Extension contexts
(e.g. the devtools pages and devtools panels).

MozReview-Commit-ID: dIeVpNJGN
2016-12-02 16:13:39 -05:00
Luca Greco
ef31954ee6 Bug 1291737 - Added a new helper to create windowless extension pages. r=kmag
MozReview-Commit-ID: CqpWgFGmJAt
2017-01-18 15:14:53 +01:00
Kris Maglione
fe512e6f1b Bug 1320395: Part 3 - Run WebExtensions in their own process type. r=billm,bobowen
MozReview-Commit-ID: FZ4f1Lda5vh
2017-01-12 14:11:47 -08:00
Kris Maglione
cdde4749cb Bug 1320395: Part 2 - Assign extension's process message manager based on first view load. r=billm
MozReview-Commit-ID: GLKjyR46O0Z
2016-11-27 12:49:16 -08:00
Kris Maglione
179fc5815b Bug 1317447: Provide better error messages when browser is removed before we can send replies. r=aswan
MozReview-Commit-ID: 19Qmi220qOt
2016-11-18 13:06:00 -08:00
Kris Maglione
819236d20d Bug 1317154: Correctly support multiple concurrent listeners for the same event. r=aswan
MozReview-Commit-ID: 4OgukI6Sc6v
2016-11-18 12:20:22 -08:00
Phil Ringnalda
a174c917cb Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Kris Maglione
1f4320360d Bug 1317101 - Part 7a: Add a remote flag to run an extension out-of-process based on a preference. r=billm
MozReview-Commit-ID: ChinmbLjnQA
2016-11-15 18:17:19 -08:00
Kris Maglione
c6d33fa5d9 Bug 1317101 - Part 6: Remove or refactor code that prevents extensions from running in the child process. r=aswan
MozReview-Commit-ID: 7v5eIBOKA2v
2016-11-12 17:09:19 -08:00
Kris Maglione
e0a987da8a Bug 1317101 - Part 5: Simply remote view initialization code, and fix some inconsistent handling. r=billm
MozReview-Commit-ID: 65BE0oF3rpI
2016-11-12 16:13:21 -08:00
Kris Maglione
158298c36f Bug 1317101 - Part 4: Deduplicate the handling of context tab and window IDs, and handle <browser> nesting in tabs. r=aswan
This could still use a fair amount of additional cleanup.

MozReview-Commit-ID: BteBFMlZCsy
2016-11-15 15:13:50 -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
2ea689e90d Bug 1317101 - Part 7a: Add a remote flag to run an extension out-of-process based on a preference. r=billm
MozReview-Commit-ID: ChinmbLjnQA
2016-11-15 18:17:19 -08:00
Kris Maglione
c6eb354cd3 Bug 1317101 - Part 6: Remove or refactor code that prevents extensions from running in the child process. r=aswan
MozReview-Commit-ID: 7v5eIBOKA2v
2016-11-12 17:09:19 -08:00