Commit Graph

216 Commits

Author SHA1 Message Date
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
Johann Hofmann
5e98a1f54b Bug 1225743 - Implement chrome.bookmarks.search. r=mak 2015-11-24 17:40:08 +01:00
Carsten "Tomcat" Book
1d4db4c32c merge mozilla-inbound to mozilla-central a=merge 2016-02-12 15:15:17 +01:00
Andrew Swan
0f169f0772 Bug 1236940 - Add ip property to chrome.webRequest.onCompleted callback. r=billm 2016-02-02 21:08:51 -08:00
Kris Maglione
99819fa895 Bug 1244474: [webext] Part 2 - Make extra manifest properties/permissions warnings instead of errors. r=billm 2016-01-30 14:32:36 -08:00
Kris Maglione
923fcfb938 Bug 1244474: [webext] Part 1 - Add "deprecated" property support to schema validator. r=billm 2016-02-10 16:32:58 -08:00
Phil Ringnalda
4e5b8cd23c Merge m-i to m-c, a=merge 2016-02-06 19:08:33 -08:00
Kris Maglione
884cf8f134 Bug 1234020: Part 2c - [webext] Return promises from the idle API. r=rpl 2016-02-02 19:35:31 -08:00
Kris Maglione
3b9ea820cd Bug 1234020: Part 2f - [webext] Return promises from the bookmarks API. r=evilpie 2016-02-01 18:12:45 -08:00
Kris Maglione
f6781ed175 Bug 1234020: Part 2b - [webext] Return promises from the cookies APIs. r=evilpie 2016-02-01 18:03:37 -08:00
Kris Maglione
aaa7c2d387 Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.
2016-01-30 10:27:02 -08:00
Kris Maglione
66200c72ef Bug 1225715: Part 4 - Improve reporting of schema errors. r=billm 2016-01-29 20:11:07 -08:00
Kris Maglione
bcc6d8cec0 Bug 1225715: Part 3 - Allow extending existing schema types. r=billm
This one's a bit weird. I was trying to avoid it for a while, but when we
start to support different sets of APIs on different apps, it's going make it
complicated to maintain a single, centralized manifest schema without some way
for them to directly extend it.
2016-01-20 22:46:37 -08:00
Kris Maglione
ed96a63537 Bug 1225715: Part 2 - Add string format support to schemas. r=billm 2016-01-29 19:48:57 -08:00
Kris Maglione
aac8f08d11 Bug 1225715: Part 1 - Add support for patterned strings and properties in schemas. r=billm 2016-01-29 19:45:16 -08:00
Andrew Swan
97ac807f6d Bug 1245678 - [webext] Add downloads API schema and implementation boilerplate. r=rpl 2016-02-05 09:56:37 -08:00
Luca Greco
90273d9fbc Bug 1214658 - Test content script APIs are not injected in arbitrary web pages. r=kmag 2016-01-24 14:43:16 -08:00
Luca Greco
0d177e778b Bug 1214658 - Add test case of an webextension page iframe created from a content script. r=kmag 2016-01-24 14:43:00 -08:00
Bill McCloskey
10a764ce9d Bug 1246787 - Fix ESLint errors 2016-02-11 13:37:44 -08:00
Bill McCloskey
e0f8de3c70 Bug 1246787 - [webext] Add schema storage.json (r=kmag) 2016-02-11 13:04:31 -08:00
Wes Kocher
cb018f4ae2 Merge m-c to inbound, a=merge 2016-02-25 14:38:16 -08:00
Giorgio Maone
a690c97982 Bug 1163862 - Switch to HTTP observer where possible + support requestId & data: URIs r=billm
MozReview-Commit-ID: EBRWBgGPqyD
2016-02-24 00:21:42 +01:00
Andrea Marchesini
d5bd12484c Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Phil Ringnalda
ded78a88c1 Back out 3 changesets (bug 1214658) for b2g emulator timeouts in test_ext_contentscript_*
CLOSED TREE

Backed out changeset b76ab3324cd2 (bug 1214658)
Backed out changeset aee8341f15c7 (bug 1214658)
Backed out changeset 743d7567b280 (bug 1214658)
2016-01-23 13:06:49 -08:00
Luca Greco
eaa1535c79 Bug 1214658 - Test content script APIs are not injected in arbitrary web pages. r=kmag 2016-01-22 10:13:00 -05:00
Luca Greco
fdd70d33cf Bug 1214658 - Add test case of an webextension page iframe created from a content script. r=kmag 2016-01-22 06:10:00 -05:00
Kris Maglione
a7301bf206 Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm 2016-01-09 16:53:24 -08:00
Kris Maglione
59c5eea635 Bug 1190323: [webext] Part 2: Complete i18n API test coverage. r=billm 2016-01-12 15:58:13 -08:00
Kris Maglione
dbe0c048fd Bug 1238408: Request complete logs in test_ext_webrequest.html 2016-01-11 13:36:01 -08:00
Luca Greco
2dbfe38980 Bug 1237357 - Fix missing Cr used by AddonLocalizationConverter in simpleServices. r=kmag 2016-01-08 05:38:00 -05:00
Ryan VanderMeulen
b9ee4efe7b Merge fx-team to m-c. a=merge 2016-01-06 09:48:18 -05:00
Fabrice Desré
a9e4990d14 Bug 1224703 - part 2: Enable tests on emulator r=billm 2016-01-05 15:37:06 -08:00
Tom Schuster
d226b8941c Bug 1224579 - Allow leading dot in domain in cookies.set. r=billm 2015-12-21 07:14:00 -08:00
Kris Maglione
805fdcb445 Bug 1237122 - Use base test suite eslintrc files for WebExtension tests. r=trivial 2016-01-05 16:10:33 -08:00
Kris Maglione
d342d6ab2f Bug 1227451: Follow-up: Fix ESLint errors. r=trivial 2016-01-05 15:54:32 -08:00
Luca Greco
62288f2ca9 Bug 1227451 - chrome.alarms API doesn't check 'alarms' permission. r=billm 2016-01-04 10:21:00 -05:00
Kris Maglione
e4fa87d44c Bug 1234755: Follow-up: Fix additional failures. r=trivial 2015-12-31 16:17:00 -08:00
Kris Maglione
91b4295e50 Bug 1224579: [webext] Fix the handling of domain cookies. r=evilpie 2015-12-23 11:18:38 -05:00
Kris Maglione
a76a878344 Bug 1234755: [webext] Make JS in HTML files pass ESLint. r=billm
This also changes the `type` attribute in our script tags to text/javascript,
since that's currently all the eslint-html plugin supports.
2015-12-22 23:43:23 -05:00
Bill McCloskey
771643dd4e Bug 1215197: Implements onBeforeRedirect by using a channel event sink (r=billm) 2015-12-30 13:34:45 -08:00
Ryan VanderMeulen
163ffd64c6 Merge fx-team to m-c. a=merge 2015-12-25 20:33:39 -05:00
Bill McCloskey
74fc2770d5 Bug 1205886 - [webext] Allow content scripts to do cross-origin XHRs if they have permission (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey
2bdd8818a2 Bug 1229552 - [webext] Add test for unregistration (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey
994bef148c Bug 1228044 - [webext] Filter messages between extensions (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey
1cf7392459 Bug 1208257 - [webext] runtime.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey
4b8e226fb9 Bug 1208257 - [webext] context_menus.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey
8beda44f2f Bug 1208257 - [webext] browser_action.json (r=kmag) 2015-12-23 08:57:13 -08:00
Kris Maglione
811a418bc8 Bug 1210996: [webext] Check host permissions in the browser.cookies API. r=billm 2015-12-02 21:20:01 -08:00
Sami Jaktholm
aa330823f9 Bug 1233350 - Fix TypeError in notifications.getAll(). r=kmag
This also adds some tests for the method.
2015-12-22 11:29:22 +02:00