Commit Graph

371 Commits

Author SHA1 Message Date
Ryan VanderMeulen
c689b1573b Merge inbound to m-c. a=merge 2016-04-10 16:20:04 -04:00
Andrea Marchesini
0d6b911fbc Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-10 05:46:07 +01:00
Luca Greco
94641d8be7 Bug 1256282 - [webext] Fix addonId checks in getAPILevelForWindow and add an xpcshell test unit. r=kmag
MozReview-Commit-ID: HVoUAMOKqTZ
2016-04-04 13:46:17 +02:00
Luca Greco
79880ae85c Bug 1256282 - [webext] options_ui browsers should have access to the full WebExtension API. r=kmag
MozReview-Commit-ID: E1GwT0zfGie
2016-04-08 16:00:48 +02:00
Ryan VanderMeulen
f16cc2b8b7 Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures. 2016-04-09 15:36:07 -04:00
Andrea Marchesini
c505892d92 Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-09 19:09:49 +01:00
Dave Townsend
6c83da2486 Bug 1257246: Update webextension APIs for eslint 2. r=kmag
ESLint 2 now flags anonymous generator functions that don't match the
generator-star-spacing rule so this mostly is fixing that.

MozReview-Commit-ID: 5sLaF26sd0E
2016-04-05 11:30:51 -07:00
bsilverberg
58f54923c0 Bug 1262542 - WebExtension notifications seem to fail on Nightly. r=kmag
MozReview-Commit-ID: 4NaB9xHKFqq
2016-04-06 15:00:36 -04:00
Wes Kocher
afb79fc224 Merge inbound to central, a=merge
MozReview-Commit-ID: L8YZYtbmper
2016-04-07 13:42:10 -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
354791b132 Bug 1217944 - Part 1 - Make MatchGlobs work on arbitrary strings r=kmag
MozReview-Commit-ID: CK39lpGglKA
2016-04-06 13:07:47 -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
Giorgio Maone
ac57061154 Bug 1242871 - add an originUrl property to every webRequest event details object + tests (extended & fixed + nits). r=kmag
MozReview-Commit-ID: 6PeCwTeCuFs
2016-04-01 00:48:57 +02:00
Kris Maglione
51106a2f9e Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
MozReview-Commit-ID: KEQYq4nZbfk
2016-04-04 13:54:27 -07:00
Wes Kocher
c533b72e89 Backed out changeset c67309c62021 (bug 1258199) for xpcshell failures
MozReview-Commit-ID: FySkZPotDGU
2016-04-04 13:51:12 -07:00
Kris Maglione
3793854b24 Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
MozReview-Commit-ID: KEQYq4nZbfk
2016-03-28 17:21:06 +02:00
Wes Kocher
0e38ad8e51 Merge fx-team to central, a=merge
MozReview-Commit-ID: 8rupfWq5Wa6
2016-04-01 15:43:36 -07:00
bsilverberg
98bd2245bb Bug 1255569 - Add coverage for cookie eviction events for expired cookies. r=kmag
Fix bug in ext-cookies.js that was reporting expired cookies as evicted
Only run test in non-e10s

MozReview-Commit-ID: H2o5GnVtTzi
2016-04-01 10:21:47 -04:00
Carsten "Tomcat" Book
dc4659c223 Backed out changeset 0228e00caf59 (bug 1255569) for m8 perma failures 2016-04-01 13:34:01 +02:00
bsilverberg
8cd6654119 Bug 1256635 - Implement browser.notifications.onClicked, r=kmag
Note that we cannot add a real test for onClicked without mocking out the AlertService. I did test it manually and it seems to work fine.

MozReview-Commit-ID: 68nooxoUJat
2016-03-16 16:49:10 +01:00
bsilverberg
30569587e9 Bug 1255569 - Add coverage for cookie eviction events for expired cookies, r=kmag
Fix bug in ext-cookies.js that was reporting expired cookies as evicted

MozReview-Commit-ID: 2it2YwbQAzh
2016-03-29 17:20:58 -04:00
bsilverberg
3f567a3d0a Bug 1254359 - notifications.getAll() result is not Chrome-compatible, r=kmag
MozReview-Commit-ID: EIeIZquJaIN
2016-03-30 09:31:37 -04:00
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
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
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
Andreas Wagner
63a26215d0 Bug 1245639 - Implement chrome.downloads.show. r=kmag 2016-03-14 15:55:00 +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
1e23650f5b Merge mozilla-central to fx-team 2016-03-17 11:16:06 +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