Commit Graph

71 Commits

Author SHA1 Message Date
Kris Maglione
da08b6926c Bug 1317697: Remove things from ExtensionUtils that don't belong there. r=mixedpuppy
MozReview-Commit-ID: CTX0TckLqoV
2017-04-07 13:39:06 -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
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
Luca Greco
870ddaa688 Bug 1354471 - Fix regression in DevToolsContextChild related to the lazy API loading. r=aswan
MozReview-Commit-ID: Kdltgx0JdUi
2017-04-07 05:20:14 +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
Andrew Swan
b96180cff0 Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -07:00
Sebastian Hengst
f7e31023c0 Backed out changeset f4fbd8e60288 (bug 1197420) 2017-03-25 17:39:34 +01:00
Andrew Swan
dd2572ae7d Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -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
43dbe20442 Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -07:00
Sebastian Hengst
07e3b9be93 Backed out changeset cb352ddee812 (bug 1197420) 2017-03-24 20:56:05 +01:00
Andrew Swan
df98c5adb3 Bug 1197420 Part 4 Apply dynamic permission changes r=kmag
MozReview-Commit-ID: 6TdcUv1fHPh
2017-03-23 17:28:52 -07:00
Shane Caraveo
3b8b071e71 Bug 1256289 force external links to open in tabs if non-tab browser, r=kmag
MozReview-Commit-ID: 3Xn6XvjZ8KG
2017-03-20 14:00:08 -07:00
Kris Maglione
9ac789da88 Bug 1333477: Part 3 - Support dynamically injecting and revoking schema properties based on permissions. r=aswan
MozReview-Commit-ID: C2pQpsD18W0
2017-03-04 16:43:21 -08: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
Kris Maglione
4c12719b3a Bug 1258360: Implement onMessageExternal and onConnectExternal. r=mixedpuppy
MozReview-Commit-ID: 7NTrgyWpXbv
2017-02-11 13:28:18 -08:00
Shane Caraveo
1f656159fc Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
MozReview-Commit-ID: 6GMdU5kcrFR
2017-02-09 15:32:50 -08: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
Andrew Swan
d23b45b581 Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Andrew Swan
1ac8741081 Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.

Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.

Also added a callOnClose for SingletonEventManager when the last listener
is removed.

MozReview-Commit-ID: ATHO97dWf3X
2017-01-26 20:00:33 -08:00
Phil Ringnalda
5781d2a09e Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
CLOSED TREE

Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
99c8d3a692 Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Andrew Swan
8e5ca9edb5 Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.

Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.

Also added a callOnClose for SingletonEventManager when the last listener
is removed.

MozReview-Commit-ID: ATHO97dWf3X
2017-01-26 13:43:12 -08:00
Luca Greco
200e989055 Bug 1291737 - Renamed DevtoolsContextChild to DevToolsContextChild. r=kmag
This small change rename the DevtoolsContextChild class to
DevToolsContextChild, so that it follows the DevTools class names
conventions.

MozReview-Commit-ID: 67bjC8NgK0n
2016-12-02 15:59:14 -05:00
Carsten "Tomcat" Book
d272813bce Backed out changeset 889eb9b46665 (bug 1291737) 2017-01-19 16:59:23 +01:00
Luca Greco
361ed0b8b8 Bug 1291737 - Renamed DevtoolsContextChild to DevToolsContextChild. r=kmag
This small change rename the DevtoolsContextChild class to
DevToolsContextChild, so that it follows the DevTools class names
conventions.

MozReview-Commit-ID: 67bjC8NgK0n
2016-12-02 15:59:14 -05:00
Phil Ringnalda
a174c917cb Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -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
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
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
Kris Maglione
aff12600f8 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
Luca Greco
6a52aa7f33 Bug 1309906 - part1: adapt webext-oop internals for devtools contexts and APIs. r=kmag
MozReview-Commit-ID: E0gxV271N31
2016-11-14 21:38:20 +01:00
Kris Maglione
b4e56ef41e Bug 1316784: Kill PseudoChildAPIManager. r=aswan
MozReview-Commit-ID: CIRltzhWWAJ
2016-11-11 15:50:29 -08:00
Kris Maglione
ea3f396b9f Bug 1305217: Part 2 - Run webNavigation listeners asynchronously. r=mixedpuppy
MozReview-Commit-ID: AhnyokpgDFZ
2016-11-09 18:07:07 -08:00
Kris Maglione
b5f8391635 Bug 1305217: Part 1 - Run webRequest listeners asynchronously. r=mixedpuppy
MozReview-Commit-ID: 2XF6irv5WBd
2016-11-12 13:51:59 -08:00
Kris Maglione
bab75b7f08 Add getUniqueId helper function to ExtensionUtils. (no bug) r=me
MozReview-Commit-ID: BXi3Yse5jFt
2016-11-10 21:44:05 -08:00
Sebastian Hengst
4247074d30 Backed out changeset 6790d8962ad9 to make ESlint happy. r=backout 2016-11-12 17:07:10 +01:00
Sebastian Hengst
990d219d9a Backed out changeset 4efa832fc852 (bug 1305217) for frequent timeouts in test_ext_webrequest_upload.html. r=backout 2016-11-12 13:45:03 +01:00
Sebastian Hengst
dc3fca3272 Backed out changeset 05c206c4311b (bug 1305217) 2016-11-12 13:43:26 +01:00
Sebastian Hengst
fed6b9490d Backed out changeset 888815bca14c (bug 1316784) 2016-11-12 13:43:23 +01:00
Kris Maglione
7ee67562ed Bug 1316784: Kill PseudoChildAPIManager. r=aswan
MozReview-Commit-ID: CIRltzhWWAJ
2016-11-11 15:50:29 -08:00
Kris Maglione
9f1a983ebb Bug 1305217: Part 2 - Run webNavigation listeners asynchronously. r=mixedpuppy
MozReview-Commit-ID: AhnyokpgDFZ
2016-11-09 18:07:07 -08:00
Kris Maglione
7374699bc7 Bug 1305217: Part 1 - Run webRequest listeners asynchronously. r=mixedpuppy
MozReview-Commit-ID: 2XF6irv5WBd
2016-11-11 11:09:35 -08:00
Kris Maglione
1596e24307 Add getUniqueId helper function to ExtensionUtils. (no bug) r=me
MozReview-Commit-ID: BXi3Yse5jFt
2016-11-10 21:44:05 -08:00