Commit Graph

715 Commits

Author SHA1 Message Date
Rob Wu
8472b153c7 Bug 1290157 - Always pass an array to tabs.executeScript on success r=kmag
MozReview-Commit-ID: Ctw8RUtfEZC
2016-08-09 00:28:47 -07:00
Rob Wu
bdf0a6a0a6 Bug 1287626,1288279 - Make IDs unique across processes r=billm
MozReview-Commit-ID: 78xgt8wqbng
2016-08-10 16:23:56 -07:00
Wes Kocher
740463f70e Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Luca Greco
a82a9b2143 Bug 1290901 - [webext] Add xpcshell test cases on nested namespaces and null/empty api objects. r=aswan
MozReview-Commit-ID: HKh3gXTk09H
2016-08-02 04:00:46 +02:00
Luca Greco
fbae6b3141 Bug 1290901 - [webext] Allow APIs implementation to return null when the API should not be injected in a context. r=aswan
needed to be able to return null when the registered schema API should not be available
based on the context type instead of WebExtensions permissions.

MozReview-Commit-ID: G8w8ZYzmA7S
2016-08-02 04:00:06 +02:00
Luca Greco
248525c5e7 Bug 1290901 - [webext] Allow "events" and "properties" in SubModuleType defined in JSON schema. r=aswan
MozReview-Commit-ID: Pd0pMu2VB0
2016-07-21 17:20:25 +02:00
Luca Greco
c2292f3b1f Bug 1290901 - [webext] Handle nested namespaced API schema. r=aswan
MozReview-Commit-ID: H26E8ZwLrqJ
2016-08-15 15:34:43 +02:00
Robert Helmer
c52c0f4a2c Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions r=aswan
MozReview-Commit-ID: KywrVkcRhzp
2016-08-02 09:37:01 -07:00
Wes Kocher
b9d5a32ad5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Kris Maglione
874e487954 Bug 1292369: Null out contentWindow properties when they point to a different inner window than the context belongs to. r=billm
MozReview-Commit-ID: LYQRxpU9vI8
2016-08-04 16:18:25 -07:00
Kris Maglione
d970e4c3c7 Bug 1293700: Make console object available to WebExtension internals. r=aswan
MozReview-Commit-ID: GyD4uo95gt6
2016-08-09 12:40:25 -07:00
Rob Wu
922403c487 Bug 1293126 - Remove Schemas.load from content's ExtensionContext r=kmag
MozReview-Commit-ID: JOToEC2Aokp
2016-08-07 17:59:58 -07:00
Rob Wu
4200ce686c Bug 1288276 - Add tests for background page context r=billm
MozReview-Commit-ID: 8FsN8NoCreW
2016-08-07 19:09:37 -07:00
Rob Wu
38d4ae8bfc Bug 1288276 - Close proxy context upon page reload, with tests r=billm
MozReview-Commit-ID: HB65DfQTGXd
2016-08-07 19:09:27 -07:00
Bob Silverberg
876abdf297 Bug 1285537 - Create schema for the management API, r=aswan
MozReview-Commit-ID: EXmIv7TwmaK
2016-07-18 17:15:54 -04:00
Rob Wu
c576617ccb Bug 1197451 - Add clipboardWrite permission r=billm
MozReview-Commit-ID: 6d1mQSVWRPe
2016-07-08 17:19:17 -07:00
Andrew Swan
1206774e48 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8
2016-08-02 16:04:37 -07:00
Kris Maglione
aa06adc855 Bug 1290117: Call sendMessage response callback when there are no replies. r=robwu
MozReview-Commit-ID: 1BYD1CgZmvD
2016-08-06 14:21:10 -07:00
Kris Maglione
ddc33568c0 Bug 1289527: Hide browserAction and pageAction namespaces when relevant manifest entries are missing. r=aswan
MozReview-Commit-ID: 2gx0pLkHaVJ
2016-08-06 14:43:58 -07:00
Kris Maglione
3531e0dc55 Bug 1225215: [webext] Raise the expected errors when given invalid tab IDs. r=aswan
MozReview-Commit-ID: E5G0GmVhzLh
2016-02-26 17:56:30 -08:00
Andrew Swan
a19431c68a Bug 1293721 Handle options_ui properly when id isn't immediately available r=kmag
MozReview-Commit-ID: JQC8rZwUkXG
2016-08-09 13:40:57 -07:00
Andrew Swan
6782607111 Bug 1213990 Clear storage when webextension is uninstalled r=kmag
MozReview-Commit-ID: BeMOxOCSeru
2016-08-01 16:30:18 -07:00
Andrew Swan
654dc6ea8b Bug 1213990 Convert getExtensionUUID to UUIDMap r=kmag
MozReview-Commit-ID: 9VVNa0pjx8g
2016-08-07 09:53:36 -07:00
Andrew Swan
c1773fbf09 Bug 1213990 Do immediate uninstall for test webextensions r=kmag
MozReview-Commit-ID: 9vcAfPhRYFi
2016-07-22 10:16:55 -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
b3728ad952 Bug 1263011: Part 1 - Refactor Extension and ExtensionData to use ES6 classes. r=aswan
MozReview-Commit-ID: f5NqRuPLU7
2016-06-17 16:02:16 +01:00
Kris Maglione
d1cd3911ce Bug 1291199: Retry subprocess perf tests on failure. r=aswan
MozReview-Commit-ID: 9PDT9tcYFqf
2016-08-02 15:37:34 -07:00
Kris Maglione
8c8a33c571 Bug 1288979: Always convert badge background color to a ColorTuple. r=aswan
MozReview-Commit-ID: CWmaa9wwQLD
2016-08-04 14:50:52 -07:00
Kris Maglione
eb33fdebb6 Bug 1290598: Move slower native messaging tests to a separate unit. r=aswan
MozReview-Commit-ID: 2kXbNae1bmR
2016-07-29 14:35:04 -07:00
Kris Maglione
0d5c67223e Bug 1290598: Migrate native messaging tests to xpcshell. r=aswan
MozReview-Commit-ID: 4Uz73l8qGVE
2016-08-02 17:39:51 -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
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Wes Kocher
e600667862 Backed out 3 changesets (bug 1213990) for problems in browser_ext_pageAction_context.js a=bustage CLOSED TREE
Backed out changeset c9b70a1998fc (bug 1213990)
Backed out changeset ffc2455a9135 (bug 1213990)
Backed out changeset 3223d0970b9a (bug 1213990)
2016-08-03 13:49:50 -07:00
Alexandre Lissy
b2834a3543 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6
2016-08-02 14:54:00 +02:00
Andrew Swan
b7b02bc2d0 Bug 1213990 Clear storage when webextension is uninstalled r=kmag
MozReview-Commit-ID: BeMOxOCSeru
2016-08-01 16:30:18 -07:00
Andrew Swan
ecd926c70a Bug 1213990 Convert getExtensionUUID to UUIDMap r=kmag
MozReview-Commit-ID: 9VVNa0pjx8g
2016-08-03 09:17:24 -07:00
Andrew Swan
948a6a5cc9 Bug 1213990 Do immediate uninstall for test webextensions r=kmag
MozReview-Commit-ID: 9vcAfPhRYFi
2016-07-22 10:16:55 -07:00
Wes Kocher
4316d9744a Backed out 3 changesets (bug 1213990) for webextension failures a=backout
Backed out changeset 2b1fdeff506d (bug 1213990)
Backed out changeset 157efae8dd8a (bug 1213990)
Backed out changeset ea870f4c5a61 (bug 1213990)
2016-08-02 10:51:06 -07:00
Andrew Swan
9317fd97ab Bug 1213990 Clear storage when webextension is uninstalled r=kmag
MozReview-Commit-ID: BeMOxOCSeru
2016-08-01 16:30:18 -07:00
Andrew Swan
329879d661 Bug 1213990 Convert getExtensionUUID to UUIDMap r=kmag
MozReview-Commit-ID: 9VVNa0pjx8g
2016-07-28 10:00:51 -07:00
Andrew Swan
e733a7786f Bug 1213990 Do immediate uninstall for test webextensions r=kmag
MozReview-Commit-ID: 9vcAfPhRYFi
2016-07-22 10:16:55 -07:00
Carsten "Tomcat" Book
4a8f4b4c7a merge mozilla-inbound to mozilla-central a=merge 2016-08-02 17:09:31 +02:00
Wes Kocher
4503203f3f Backed out 3 changesets (bug 1213990) for failing a mochitest a=backout
Backed out changeset 846ac5ddba37 (bug 1213990)
Backed out changeset 26bab9c6a89c (bug 1213990)
Backed out changeset 12d7193f1310 (bug 1213990)
2016-08-01 16:56:18 -07:00
Andrew Swan
9c8eeb9af2 Bug 1213990 Clear storage when webextension is uninstalled r=kmag
MozReview-Commit-ID: BeMOxOCSeru
2016-07-28 10:01:09 -07:00
Andrew Swan
0bc6a09dde Bug 1213990 Convert getExtensionUUID to UUIDMap r=kmag
MozReview-Commit-ID: 9VVNa0pjx8g
2016-07-28 10:00:51 -07:00
Andrew Swan
b0f4b178ca Bug 1213990 Do immediate uninstall for test webextensions r=kmag
MozReview-Commit-ID: 9vcAfPhRYFi
2016-07-22 10:16:55 -07:00
Robert Helmer
fc30f77754 Bug 1290617 - allow non-temp mock webextensions r=kmag
MozReview-Commit-ID: JeEeMkrQ4te
2016-07-29 16:14:19 -07:00
Giorgio Maone
fe97eb7f75 Bug 1201979 - Support requestBody in onBeforeRequest. r=kmag
MozReview-Commit-ID: LAHKN5uZO0
2016-07-29 23:38:43 +02:00
Kris Maglione
79b5f4517b Bug 1288912: Follow-up: Skip native messaging tests on Android.
MozReview-Commit-ID: JYcUirnAfqw
2016-07-29 13:09:59 -07:00
Kris Maglione
aa6026c47b Bug 1288912: Add tests for native messaging round trip time. r=aswan
MozReview-Commit-ID: 6gOpZhvAZUE
2016-07-28 20:54:40 -07:00