Commit Graph

277 Commits

Author SHA1 Message Date
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
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
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
Luca Greco
5a67e9eff3 Bug 1286526 - [webext] Fix shutdown issues on empty addon with a valid manifest. r=aswan
MozReview-Commit-ID: 30MryAPYBv0
2016-07-13 13:12:59 +02: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
Carsten "Tomcat" Book
496d5f888a merge fx-team to mozilla-central a=merge 2016-07-25 15:49:05 +02:00
Kris Maglione
946c03abd0 Bug 1285493: Add-on Manager should not be closed when an add-on with options_ui is disabled. r=billm
MozReview-Commit-ID: 8oRK8uPphDf
2016-07-24 15:05:39 -07:00
Kris Maglione
56e8cb638f Bug 1274775 - Make sure background pages are created with a PresShell. r=billm
MozReview-Commit-ID: GLWg5aK47g5
2016-07-24 15:09:07 -07:00
Mike Conley
8a3be2b55e Bug 1261842 - Make sure ExtensionContent.jsm has been loaded in the parent process if Extension.jsm is initialized. r=kmag
MozReview-Commit-ID: BNrSegqzqeJ
2016-06-08 16:46:35 -04:00
Rob Wu
84396ee769 Bug 1234677 - Overwrite alert at window init instead of onload r=billm
A nice extra effect of this is that it will also work after reloading
the background page (location.reload()) and it should also work for
child frames in background pages.

MozReview-Commit-ID: ErvpzD8d3ow
2016-07-20 01:00:29 -07:00
Luca Greco
58f7df6d8c Bug 1285314 - Fix extension id overridden with undefined when missing from the manifest. r=aswan
MozReview-Commit-ID: J4Iwl4tYlJX
2016-07-07 20:25:28 +02:00
Kris Maglione
843973aa31 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03 Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout 2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Luca Greco
2d878b557a Bug 1242522 - [webext] Import missing events API schema file. r=kmag
MozReview-Commit-ID: HgQJTfwb5w0
2016-04-25 16:02:19 +02:00
Kris Maglione
635b5424ac Bug 1279078: Fix race in uninstall listener handling. r=trivial
MozReview-Commit-ID: 8NhtoWOzRng
2016-06-09 16:02:39 -07:00
Kris Maglione
4a1342c9e6 Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
MozReview-Commit-ID: EZpOyvoi2h0
2016-06-07 18:36:19 -07:00
Kris Maglione
403332897f Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4
2016-06-02 20:53:41 -07:00
Wes Kocher
ef8b093de7 Backed out changeset 99b213f494e1 (bug 1276025) for xpcshell bustage CLOSED TREE 2016-06-07 16:59:20 -07:00
Kris Maglione
3b83db606e Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4
2016-06-02 20:53:41 -07:00
Andrew Swan
536028776a Bug 1271345 Fix brower.download.download() on blob: urls r=kmag
Calling download() on a blob URL was failing in schema validation
since we weren't propagating the extension principal all the way
to the call to scriptSecurityManager.checkLoadURI...

MozReview-Commit-ID: JgEnQ6yxO4P
2016-05-31 11:42:41 -07:00
Kris Maglione
f61f60b7e6 Bug 1254194: [webext] Allow extensions to register custom content security policies. r=billm f=aswan
MozReview-Commit-ID: 8L6ZsyDjIpf
2016-04-23 21:29:15 -07:00
Bill McCloskey
f43508ae12 Bug 1197346 - Allow browser.storage to be used from content scripts (r=kmag) 2016-04-23 20:04:30 -07:00
Bill McCloskey
fcf9677d02 Bug 1197346 - Add callFunctionNoReturn (r=kmag) 2016-04-23 20:04:29 -07:00
Bill McCloskey
21d9408694 Bug 1197346 - Rename ExtensionPage to ExtensionContext (r=kmag) 2016-04-23 20:04:29 -07:00
Bob Silverberg
5cebf4f9f1 Bug 1264623 - Allow for a leading slash in the path to web_accessible_resources, r=kmag
MozReview-Commit-ID: IWbzhs9dpX2
2016-04-14 09:12:21 -04:00
Kris Maglione
f012f3c36f Bug 1196283: [webext] Support comments in JSON files. r=aswan
MozReview-Commit-ID: Ex4ewLH8xQc
2016-04-19 13:18:22 -07:00
Kris Maglione
7f54275c94 Bug 1248846: [webext] Don't call callbacks after a context is destroyed. r=aswan
MozReview-Commit-ID: 5O2YKGONODH
2016-04-04 14:14:35 -07:00
Andrew Swan
2680b7869a Bug 1217944 - Part 2 - Support wildcards in web_accessible_resources r=kmag
MozReview-Commit-ID: Ln6JJ5lxc3w
2016-04-06 13:20:23 -07:00
Andrew Swan
bec569cacf Bug 1262003 - Back out changeset 983702f6874c. r=kmag
MozReview-Commit-ID: 10GVdKTFjiR
2016-04-04 16:09:32 -07:00
bsilverberg
b0f25e4d7a Bug 1254291 - Add schema for the notifications API, r=kmag
Also update ext-notifications.js to use a Map instead of a Set

MozReview-Commit-ID: JBKM9fZXpah
2016-03-29 15:22:18 -04:00
Andrew Swan
db03dcbe4e Bug 1255562 - Allow applications property to be in mozilla.json. r=mossop
MozReview-Commit-ID: 8w6s4bVgbxE
2016-03-17 04:56:31 -07:00
Wes Kocher
163dbd8362 Backed out changeset e5c63c3fb088 (bug 1254291) for apparently causing leaks in OSX m(5)
MozReview-Commit-ID: DGymVB5Vtw5
2016-03-16 16:20:23 -07:00
bsilverberg
9b9e10fa69 Bug 1254291 - Add schema for the notifications API, r=kmag
Also update ext-notifications.js to use a Map instead of a Set

Note that I am not sure whether the schema has been implemented exactly as we'd want. There are, for example, options in NotificationOptions that we will never use/support, so I'm not sure how to document that.

MozReview-Commit-ID: 5Di7klOdI6G
2016-03-15 17:36:54 +01:00
Kris Maglione
c19b091a55 Bug 1250784: Part 3 - [webext] Add suport for runtime.openOptionsPage. r=Mossop
MozReview-Commit-ID: 9izx4uX0Szd
2016-03-09 17:10:29 -08:00
Kris Maglione
e1b59246c8 Bug 1250784: Part 2 - [webext] Fix some issues that cause noisy tests. r=Mossop
MozReview-Commit-ID: 93NMinJpWRo
2016-03-09 17:26:27 -08:00
Kris Maglione
a59bc50ef9 Bug 1250784: Part 1 - [webext] Add support for options_ui via inline browsers in the Add-on Manager. r=Mossop
MozReview-Commit-ID: 9a999BJvDHD
2016-03-09 16:50:08 -08:00
Kris Maglione
e0795d5219 Bug 1220154, 1249830: Handle sendMessage replies with 0 and >1 listeners correctly. r=billm
MozReview-Commit-ID: 7lE7RaJcl7n
2016-03-04 15:40:56 -08:00
Andy McKay
158054ce83 Bug 1246732 - Add in alarms schema. r=kmag
MozReview-Commit-ID: BQTVhvqgilb
2016-03-02 16:06:10 -08:00
Kris Maglione
2d83ab587e Bug 1214955: [webext] Automatically localize all localizable manifest properties. r=billm
MozReview-Commit-ID: 2kvYT44NIE8
2016-02-29 19:34:49 -08:00
Matthew Wein
657500c828 Bug 1243602 - don't expose browser.* properties that lack required permissions. r=kmag 2016-02-24 18:08:59 -08:00
bsilverberg
e72c240afa Bug 1246748 - Complete the implementation of chrome.i18n.getUILanguage, r=kmag
Implement chrome.i18n.getUILanguage including tests

Add API to content scripts

MozReview-Commit-ID: IcDlLj8Et73
2016-02-18 07:50:17 -05:00
Kris Maglione
666cee3637 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00