bsilverberg
eb9dc92a31
Bug 1190324 - Test coverage for notifications extension API, r=kmag
...
Add coverage:
* Notification observers being fired with the "alertfinished" topic.
* The |create| API method without a notification ID.
* The |clear| API method.
* The |onClosed| event.
MozReview-Commit-ID: WlWwXCCCAm
2016-03-29 15:44:26 -04: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
Katie Broida
97002f7ec6
Bug 1257599 - Rename 'Unsorted Bookmarks' into 'Other Bookmarks'. r=jaws a=kwierso
...
MozReview-Commit-ID: 7iMM0vg9rUo
2016-03-31 16:17:30 -07:00
Andrew Swan
1969384444
Bug 1257581 - Fix and re-enable downloads misc tests. r=kmag
...
The original problem was that the erase() test did not wait for downloads
to complete which caused a race with cleanup code trying to remove the
download directory while downloads were still writing to it. This was
fixed in https://hg.mozilla.org/mozilla-central/rev/d6d9e7411319
But meanwhile, the removeFile() test bit-rotted slightly, fixed it here
and re-enabled the misc test.
MozReview-Commit-ID: 6BgDKKkUK55
2016-03-25 14:34:56 -07:00
Andrew Swan
385d4a12a2
Bug 1257137 - Handle bad args in downloads.{pause,resume,cancel}. r=kmag
...
MozReview-Commit-ID: HKYqlKUMp91
2016-03-26 14:49:51 -07:00
Kris Maglione
2a00e3a878
Bug 1258139: Part 2 - [webext] Fix dead wrapper issues in storage API. r=gabor
...
MozReview-Commit-ID: 7F0oBpjl7Qt
2016-03-25 01:14:39 +01:00
Kris Maglione
683987e77f
Bug 1258139: Part 1 - [webext] Refactor storage API code. r=rpl
...
MozReview-Commit-ID: L6cO7mVnN5E
2016-03-25 01:03:30 +01:00
Matthew Wein
22d2aaa984
Bug 1251042: Enable mochitests for extensions to run on Android. r=nalexander
...
MozReview-Commit-ID: FeI5bexmPg4
2016-03-25 19:52:19 -07:00
Andrew Swan
e93ecceed5
Bug 1245651 - Implement chrome.downloads.onErased. r=kmag
...
MozReview-Commit-ID: AIskV6fBOiS
2016-03-22 18:20:11 -07:00
Andrew Swan
0998f6afbb
Bug 1245651 - Rework chrome.downloads misc tests. r=kmag
...
MozReview-Commit-ID: LybeGLQq1SW
2016-03-22 17:00:19 -07:00
Giorgio Maone
91221ae90d
Bug 1252596 - Implement webRequest.onErrorOccurred. r=kmag
...
MozReview-Commit-ID: GFeFjKlsMAD
2016-03-07 09:35:24 +01:00
Kris Maglione
e5729b1957
No bug - [webext] Fix the ESLint curly brace rule to prevent single-line control statements. r=me
...
MozReview-Commit-ID: LJvu068qsZy
2016-03-19 14:29:18 +01:00
Carsten "Tomcat" Book
7bd09171b4
Merge mozilla-central to mozilla-inbound
2016-03-21 15:47:53 +01:00
Stuart Colville
ca5de3119d
Bug 1245644 - Add chrome.downloads.removeFile. r=kmag
...
MozReview-Commit-ID: 4picapXsv2x
2016-03-14 16:22:24 +01:00
bsilverberg
0f13da2cb2
Bug 1257380 - Fix intermittent test_ext_bookmarks.html. r=kmag
...
I don't think we can rely on the bookmarks being created in a specific order, although that mostly seems to happen,
so rather than check for an exact list of bookmarks returned from getRecent(), we can just check that the bookmarks
we get back are in reverse chronological order and that the 4 most recently created bookmarks are returned.
MozReview-Commit-ID: DhT7raJRe7N
2016-03-17 11:17:16 +01:00
Mark Striemer
c0aa1b074e
Bug 1245636 - Implement chrome.downloads.open. r=kmag
...
MozReview-Commit-ID: KYBgXTaUSkc
2016-03-14 11:46:43 +01:00
Kris Maglione
f06d9e27ed
Bug 1257581: Disable test_chrome_ext_downloads_misc.html until intermittents are fixed. r=me
...
MozReview-Commit-ID: BXwW3noIbp3
2016-03-19 07:50:09 +01:00
Carsten "Tomcat" Book
7f3bece462
merge mozilla-inbound to mozilla-central a=merge
2016-03-18 15:51:43 +01:00
Carsten "Tomcat" Book
a52b4a9892
Backed out changeset 74176e6545b1 (bug 1245644) for m-oth test failures
2016-03-18 08:08:01 +01:00
Ryan VanderMeulen
1d85355b7f
Bug 1207911 - Re-enable the webext tests on ASAN.
2016-03-17 14:48:22 -04:00
Stuart Colville
6888dbe819
Bug 1245644 - Add chrome.downloads.removeFile. r=kmag
...
MozReview-Commit-ID: 4picapXsv2x
2016-03-14 16:22:24 +01:00
Andreas Wagner
fc7c4f6552
Bug 1256264 - Make requestId a string. r=kmag
...
MozReview-Commit-ID: G9qh3jurdfZ
2016-03-14 14:05:57 +01:00
Kris Maglione
62d5655ed8
Bug 1253645: Follow-up: Fix ESLint errors. r=me
...
MozReview-Commit-ID: GUk9MuOoe5g
2016-03-17 12:05:21 +01:00
Carsten "Tomcat" Book
c70f5f1592
merge mozilla-inbound to mozilla-central a=merge
2016-03-17 11:00:17 +01:00
Wes Kocher
fef7b7ece4
Merge m-c to fx-team, a=merge
...
MozReview-Commit-ID: 9mRXopJLh1e
2016-03-16 16:52:30 -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
Tom Schuster
a73438740f
Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag
2016-03-16 15:11:57 +01:00
Andrew Swan
7ffc6e0b52
Bug 1245602 - Implement chrome.downloads.pause(), .resume(), .cancel() r=kmag
...
MozReview-Commit-ID: Cu2TNJRTZ07
2016-03-15 05:51:27 -07:00
Andrew Swan
abc202a4a8
Bug 1245641 - Implement chrome.downloads.erase() r=kmag
...
MozReview-Commit-ID: GtjVAklh4vL
2016-03-15 04:19:28 -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
Luca Greco
f9803f2912
Bug 1253565 - [webext] test "UnrecognizedProperty" on content_scripts manifest properties. r=kmag
...
MozReview-Commit-ID: CpNmXmHHOzO
2016-03-15 01:11:18 +01:00
Luca Greco
2b3e0dc625
Bug 1253565 - [webext] reusable 'UnrecognizedProperty' type for manifest schema validation. r=kmag
...
MozReview-Commit-ID: LLWb07ybvlb
2016-03-10 19:06:55 +01:00
Luca Greco
24e660f2dc
Bug 1253565 - [webext] Run event pages as background pages and log warning on persistent manifest attribute. r=kmag
...
MozReview-Commit-ID: 9QWvRkADsQD
2016-03-10 19:28:04 +01:00
bsilverberg
9e598e502f
Bug 1256251 - Update browser.cookies.onChanged to match Chrome's behaviour when overwriting a cookie. r=kmag
...
MozReview-Commit-ID: 5AGXbfkOd9R
2016-03-14 12:13:58 +01:00
Wes Kocher
459c1c3b12
Backed out 5 changesets (bug 1253565) for test_ext_contentscript.html failures
...
Backed out changeset d50f024f55d8 (bug 1253565)
Backed out changeset 8a78c738b882 (bug 1253565)
Backed out changeset 1e47cefe3b9b (bug 1253565)
Backed out changeset c02c1dc34180 (bug 1253565)
Backed out changeset 398160abc223 (bug 1253565)
MozReview-Commit-ID: 4RN69nKhyYr
2016-03-14 11:16:28 -07:00
Luca Greco
9a0283e71a
Bug 1253565 - [webext] Test "UnrecognizedProperty" on content_scripts manifest properties. r=kmag
...
MozReview-Commit-ID: CpNmXmHHOzO
2016-03-14 12:12:18 +01:00
Luca Greco
7b388f74d8
Bug 1253565 - [webext] Reusable 'UnrecognizedProperty' type for manifest schema validation. r=kmag
...
MozReview-Commit-ID: LLWb07ybvlb
2016-03-10 19:06:55 +01:00
Luca Greco
5d3b25ea66
Bug 1253565 - [webext] Run event pages as background pages and log warning on persistent manifest attribute. r=kmag
...
MozReview-Commit-ID: 9QWvRkADsQD
2016-03-10 19:28:04 +01:00
Sebastian Hengst
9ff2709900
Bug 1253645 - Implement browser.extension.isAllowedIncognitoAccess. Followup: Add ; to fix eslint error. r=eslintfix
2016-03-16 17:38:41 +01:00
Christopher Grebs
385cbe8ba4
Bug 1253645 - Implement browser.extension.isAllowedIncognitoAccess. r=kmag
...
MozReview-Commit-ID: HaM0GJrappR
2016-03-14 12:28:49 +01:00
bsilverberg
e9d9dc6ce0
Bug 1253652 - Fix browser.bookmarks.move() and add tests for it. r=kmag, r=mak
...
Update Bookmarks.update to not require a parentGuid when updating just the index.
MozReview-Commit-ID: JJO2IDyI5oN
2016-03-09 09:30:43 -05:00
bsilverberg
cab1737a1b
Bug 1236118 - Complete test coverage for the WebExtension cookies API. r=kmag
...
Add coverage for:
* checkSetCookiePermissions for invalid scheme and failing checks for cross-domain cookies.
* |query| - Selecting an enumerator for queries with no |url| or |domain| filter.
* |query| - Matching and non-matching cookies for the |domain|, |path|, |secure|, |session|, and |storeId| filters.
* |query| - Non-matching cookies for the domain and path portions of the |url| filter.
* |cookies.set| calls with an explicit |path| or |httpOnly| value.
* |cookies.set| calls without an explicit |name|, |value|, or |expirationDate|.
MozReview-Commit-ID: Kq4nGlLFLfw
2016-03-09 15:41:17 -05:00
bsilverberg
e065590115
Bug 1236121 - Complete test coverage for the WebExtension bookmarks API. r=kmag
...
Add coverage for getChildren() when the promise is rejected
Add coverage for create() specifying index
Add coverage for update() specifying a URL
Add coverage for update() when the promise is rejected
MozReview-Commit-ID: 7ANRDWRublL
2016-03-09 10:02:40 -05:00
Kris Maglione
c3db376c35
Bug 1220154: Follow-up: Fix ESLint error in test. r=me
...
MozReview-Commit-ID: 77kjFc6jvTH
2016-03-09 17:59:15 -08:00
bsilverberg
15cc467c5f
Bug 1252303 - Creating an alarm should clear any existing alarms with the same name, r=kmag
...
MozReview-Commit-ID: 7ZObDDeWVT0
2016-03-08 14:03:41 -05:00
Andrew Swan
a2b7a30348
Bug 1245599 - Implement chrome.downloads.onCreated r=kmag
...
MozReview-Commit-ID: 53yhKZYHDrD
2016-03-07 16:54:08 -08:00
Carsten "Tomcat" Book
55f43d5519
Backed out changeset 6d5004acc11c (bug 1245599) for ES failures
2016-03-09 11:24:06 +01:00
Andrew Swan
5c09bcd6ab
Bug 1245599 - Implement chrome.downloads.onCreated r=kmag
...
MozReview-Commit-ID: Bimv9lY651A
2016-03-07 16:54: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
Giorgio Maone
25af910545
Bug 1253924 - Implement statusLine + fix & test statusCode r=kmag
...
MozReview-Commit-ID: BhyM10w8iGt
2016-03-06 16:59:07 +01:00