Commit Graph

798 Commits

Author SHA1 Message Date
Giorgio Maone
d40a5119bb Bug 1232849 - Better chrome compatibility + binaryValue support + serious header manipulation tests + nits r=kmag
MozReview-Commit-ID: G8mgtVLFfoD
2016-03-06 09:02:06 +01:00
bsilverberg
f42418db88 Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
MozReview-Commit-ID: HyjJrEjcsZu
2016-03-03 08:00:42 -05:00
Andrew Swan
f61974a16b Bug 1251766 - Accept more date formats for downloads.search(). r=kmag
MozReview-Commit-ID: K0r1wiY2lqf
2016-03-04 10:44:09 -08:00
Andrew Swan
39e7f61107 Bug 1251766 - Add new Date type to webextensions schemas. r=kmag
MozReview-Commit-ID: EEX5FziiINo
2016-03-04 13:08:19 -08:00
Andrew Swan
d43d7f92a6 Bug 1245600 - Implement chrome.downloads.onChanged for state. r=kmag
MozReview-Commit-ID: BaAyU1dgMB7
2016-03-04 12:18:11 -08:00
Kit Cambridge
235c9a22f1 Back out changeset a67f0b208af6 (bug 1252250) for merge conflicts.
MozReview-Commit-ID: IQzGkqThQzG
2016-03-04 14:46:15 -08:00
bsilverberg
f29825215a Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
MozReview-Commit-ID: HyjJrEjcsZu
2016-03-04 11:02:28 -08:00
bsilverberg
39c7e3b3f2 Bug 1251269 - Implement browser.bookmarks.getRecent(), r=kmag r=mak
MozReview-Commit-ID: 7nYCplcQZuk
2016-03-03 08:07:16 -05:00
Andrew Swan
3843e1a60c Bug 1245603 - Implement browser.downloads.search(). r=kmag
MozReview-Commit-ID: 9XqkfZyeS8X
2016-03-02 10:23:55 -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
bsilverberg
ead06433df Bug 1251244 - Clean up tests for bookmarks API. r=kmag
MozReview-Commit-ID: 4jZZvpIBL6N
2016-02-27 07:58:04 -05:00
Wes Kocher
3a8da02d76 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aab5zU7Kd3X
2016-02-26 12:38:33 -08:00
Wes Kocher
74aba39d06 Merge fx-team to central, a=merge
MozReview-Commit-ID: 9LaKI6lIClP
2016-02-26 12:19:25 -08:00
Giorgio Maone
b21e727227 Bug 1163862 - Switch to HTTP observer + support requestId & data: URIs + test fixes r=billm
MozReview-Commit-ID: 30nEXQpWEHg
2016-02-26 19:08:32 +01:00
bsilverberg
da16bd6be4 Bug 1251289 - Fix chrome.i18n.getAcceptLanguages to *not* replace dashes with underscores in language codes. r=kmag
MozReview-Commit-ID: 1plfVzxwq3V
2016-02-25 13:18:16 -05:00
Kris Maglione
fe76d5a79b Bug 1247081: Support fragment IDs and query strings in web_accessible_resources URLs. r=billm
MozReview-Commit-ID: KHOnavpnVfA
2016-02-12 22:36:45 -08:00
Phil Ringnalda
d4818c82ca Back out 8ae0fba61023 (bug 1163862) for Win7 e10s test_ext_webrequest.html bustage 2016-02-25 20:41:40 -08:00
bsilverberg
1ba83c667a Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests
Rebase against fx-team, resolving some conflicts
Fix eslint errors/warnings

MozReview-Commit-ID: 52sZWsIHbl4
2016-02-25 07:29:09 -05:00
Andrew Swan
94c87b2f77 Bug 1245597 - implement the basics of chrome.downloads.download(). r=kmag 2016-02-24 11:16:32 -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
Luca Greco
35dda23f3e Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
MozReview-Commit-ID: FvtkZpcJYCU
2016-02-12 02:13:19 +01:00
bsilverberg
59039a8f1a Bug 1190320 - Test coverage for alarms extension API, r=kmag
Add new alarm coverage:

* Alarms with a |when| property.
* Observer callbacks for canceled alarms being ignored.
* The one-argument forms of |alarms.create| and |alarms.clear|.
* |alarms.clear| ignoring alarms without matching names.

MozReview-Commit-ID: 9fmrX1kaSpd
2016-02-24 08:52:43 -05:00
Sebastian Hengst
415698796a Backed out changeset 418bf315261c (bug 1245597) for failing M(c) tests on Android. r=backout on CLOSED TREE 2016-02-24 18:54:15 +01:00
Carsten "Tomcat" Book
9be5b729af Backed out changeset f3dcf982a76f (bug 1239349) for ES lint failures 2016-02-24 16:28:16 +01:00
bsilverberg
520cdab332 Bug 1246754 - Complete the implementation of chrome.i18n.detectLanguage, r=kmag
MozReview-Commit-ID: 7cvJj0QP5XO
2016-02-23 22:01:11 -05:00
Luca Greco
eda6711573 Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
MozReview-Commit-ID: FvtkZpcJYCU
2016-02-12 02:13:19 +01:00
Andrew Swan
fe7d2d47d7 Bug 1245597 - implement the basics of chrome.downloads.download() r=kmag 2016-02-21 21:20:22 -08:00
Kris Maglione
1d7c50861a Bug 1249055: Follow-up: Fix ESLint errors. r=me
MozReview-Commit-ID: IF7xGqr2HJ2
2016-02-23 18:46:56 -08:00
Phil Ringnalda
8fcf6aa84e Back out 9466f6513f50 (bug 1213450) for timeouts in test_ext_i18n.html 2016-02-23 18:36:11 -08:00
bsilverberg
4e510030a1 Bug 1238269 - Setting session cookie using chrome.cookies.set fails, r=kmag
Fix bug to allow session cookies to be set
Add tests for session cookies
Clean up existing tests

MozReview-Commit-ID: 3teHqBd1tw5
2016-02-22 17:37:48 -05:00
bsilverberg
f6c8166d6b Bug 1249055 - Calling alarms.getAll() throws an exception, r=kmag
Fix a bug in getAll()
Fix a bug in get()

Add tests for get(), getAll(), clear() and clearAll()

MozReview-Commit-ID: 8ML0F4K3LgM
2016-02-18 10:12:04 -05:00
bsilverberg
4cacadedfd Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests

MozReview-Commit-ID: EeuxXvg0l3M
2016-02-18 08:59:57 -05: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
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