Sebastian Hengst
69edebf58b
Backed out changeset c6d163cfa08f (bug 1248617) for XPCshell failure in test_browserGlue_smartBookmarks.js. r=backout
2016-04-12 17:45:21 +02:00
Dão Gottwald
38bb67e338
Bug 1248617 - Stop adding the "Recently bookmarked" smart folder in new profiles. r=mak
...
--HG--
extra : rebase_source : 44a5834a80bde4e8cc654a723035e6494ae288b8
2016-04-12 15:31:58 +02:00
Matthew Wein
d2641ebaa8
Bug 1260888 - Enable the extension xpcshell tests on Android. r=nalexander
...
MozReview-Commit-ID: ICYyrLBnSbt
--HG--
extra : transplant_source : O%E5%0DW7%E4%08%E6-%ED%DE%FF%D1%D6%82TVN%A8h
2016-04-07 14:09:32 -07:00
Giorgio Maone
710f32856a
Bug 1263481 - Fix webRequest multiple listeners support. r=kmag
...
MozReview-Commit-ID: EYWojttOhk6
--HG--
extra : transplant_source : %CF0%8C-X2%80e%95%E8B%2A%E4%E7%D6%CFQ%C2%D4k
2016-04-11 00:25:47 +02:00
Ryan VanderMeulen
9e896c0e6a
Merge inbound to m-c. a=merge
2016-04-10 16:20:04 -04:00
Andrea Marchesini
83a08cd72e
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-10 05:46:07 +01:00
Luca Greco
ae1fa8fc84
Bug 1256282 - [webext] Fix addonId checks in getAPILevelForWindow and add an xpcshell test unit. r=kmag
...
MozReview-Commit-ID: HVoUAMOKqTZ
--HG--
extra : transplant_source : h%E3%A3E%23%1A%BCf%EF%AD%8DC%85%1ED%87%23%06%B0%CB
2016-04-04 13:46:17 +02:00
Ryan VanderMeulen
1c7872d0af
Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures.
2016-04-09 15:36:07 -04:00
Andrea Marchesini
d09d8959fe
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-09 19:09:49 +01:00
Dave Townsend
b6c94f538f
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
--HG--
extra : rebase_source : 6008f48c94e4a8e5bd2ed2f8a95e764e4aa39cdb
extra : histedit_source : 6f0151c184ee2e4288f3ec9c5a85a65e975d46e1
2016-04-05 11:30:51 -07:00
bsilverberg
9f8f48580a
Bug 1262542 - WebExtension notifications seem to fail on Nightly. r=kmag
...
MozReview-Commit-ID: 4NaB9xHKFqq
--HG--
extra : transplant_source : Q0%03D%A2%C42%3D%C9%F5%1A%9D%E4%D5%88M%CE%9Cv%D0
2016-04-06 15:00:36 -04:00
Andrew Swan
4887be777d
Bug 1217944 - Part 2 - Support wildcards in web_accessible_resources r=kmag
...
MozReview-Commit-ID: Ln6JJ5lxc3w
--HG--
extra : transplant_source : T%08%A4%E32%01%A9%91%25X%95%14dU%1B%BDd%D97%85
2016-04-06 13:20:23 -07:00
Giorgio Maone
3e975e83a2
Bug 1242871 - add an originUrl property to every webRequest event details object + tests (extended & fixed + nits). r=kmag
...
MozReview-Commit-ID: 6PeCwTeCuFs
--HG--
extra : transplant_source : %22%BD_%D3%9FO%D2%9FZ%A9%12%98%F1%A10%17%CE0%B7%11
2016-04-01 00:48:57 +02:00
Kris Maglione
bb87bbc539
Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
...
MozReview-Commit-ID: KEQYq4nZbfk
--HG--
extra : source : c67309c62021bf173fc981634de54bc8e9c992ee
extra : histedit_source : d0449a21df83e392455466b7e7dac4e0521b5d50%2C3aec582f8a1389ae8b90efa76259d6df5269fd0d
2016-04-04 13:54:27 -07:00
Wes Kocher
912fe2afbf
Backed out changeset c67309c62021 (bug 1258199) for xpcshell failures
...
MozReview-Commit-ID: FySkZPotDGU
2016-04-04 13:51:12 -07:00
Kris Maglione
11af2dd528
Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
...
MozReview-Commit-ID: KEQYq4nZbfk
--HG--
extra : rebase_source : d881f8a78b0c8081ed80e18477cc000017ab73b6
2016-03-28 17:21:06 +02:00
Wes Kocher
56b7127be0
Merge fx-team to central, a=merge
...
MozReview-Commit-ID: 8rupfWq5Wa6
2016-04-01 15:43:36 -07:00
bsilverberg
b6936b19d9
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
--HG--
extra : transplant_source : h%91%D8%40%D6%ED7wCL%F1%19%18.%24Oxz%81%C6
2016-04-01 10:21:47 -04:00
Carsten "Tomcat" Book
37b5fbfa7b
Backed out changeset 0228e00caf59 (bug 1255569) for m8 perma failures
...
--HG--
extra : rebase_source : e0cb73d79890a5dd432af0e832449bbd2ddeb420
2016-04-01 13:34:01 +02:00
bsilverberg
c044c81b07
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
--HG--
extra : transplant_source : %BF%F8%D2%C1%17%C8%3D%7B%A0%CA%B7%02%B0%F4%A7%E5%A4%3A%27j
2016-03-16 16:49:10 +01:00
bsilverberg
c8faee2e69
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
--HG--
extra : transplant_source : %C3%03%5B%B0.eNJ%E6%B8%8B%815%7B%E6%93%BE%A3%D0D
2016-03-29 17:20:58 -04:00
bsilverberg
4072b45037
Bug 1254359 - notifications.getAll() result is not Chrome-compatible, r=kmag
...
MozReview-Commit-ID: EIeIZquJaIN
--HG--
extra : transplant_source : %5C%3Bl%8C%C6%0CV1%B2n%94%0A%98%7F%09%10%EC%02%26E
2016-03-30 09:31:37 -04:00
bsilverberg
1997bb82e9
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
--HG--
extra : transplant_source : %7C%E9x2%E08%15%C3%F5%DB%E7%FE%FC%B3%01%04%9Bg%AA%F8
2016-03-29 15:44:26 -04:00
bsilverberg
060b2ce02f
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
--HG--
extra : transplant_source : W%F8%8C%ECoc%8B%FE%F1%DBL/%E1%02Z%CAJMel
2016-03-29 15:22:18 -04:00
Katie Broida
0170b7f16b
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
0e2f753ef1
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
--HG--
extra : rebase_source : 29eef70201ff776c637bc0bb98a98b48e26907ca
2016-03-25 14:34:56 -07:00
Andrew Swan
3dea37e5f0
Bug 1257137 - Handle bad args in downloads.{pause,resume,cancel}. r=kmag
...
MozReview-Commit-ID: HKYqlKUMp91
--HG--
extra : rebase_source : 9d996bd4eeaedf4062e215702729b2a75d7c45da
2016-03-26 14:49:51 -07:00
Kris Maglione
87247e9d25
Bug 1258139: Part 2 - [webext] Fix dead wrapper issues in storage API. r=gabor
...
MozReview-Commit-ID: 7F0oBpjl7Qt
--HG--
extra : rebase_source : e4eee969b527078fefd999282371365e8fa39556
2016-03-25 01:14:39 +01:00
Kris Maglione
e6cd1c5fce
Bug 1258139: Part 1 - [webext] Refactor storage API code. r=rpl
...
MozReview-Commit-ID: L6cO7mVnN5E
--HG--
extra : rebase_source : f6fe51fd9b90b2a1bc4928775a07d2c7bd522663
2016-03-25 01:03:30 +01:00
Matthew Wein
2f6a139e35
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
13d8705247
Bug 1245651 - Implement chrome.downloads.onErased. r=kmag
...
MozReview-Commit-ID: AIskV6fBOiS
--HG--
extra : transplant_source : /Se%FF%A6%E7c%FA%9Do%BE%21%C6%A6%C6%B2%D10%F1%7F
2016-03-22 18:20:11 -07:00
Andrew Swan
5015ea55c0
Bug 1245651 - Rework chrome.downloads misc tests. r=kmag
...
MozReview-Commit-ID: LybeGLQq1SW
--HG--
extra : transplant_source : %F2%0F%3D%FAU%0C%C9%C6%2B%9DR%7D%86%CEV%F2e%28%01%9D
2016-03-22 17:00:19 -07:00
Giorgio Maone
0f419b63e5
Bug 1252596 - Implement webRequest.onErrorOccurred. r=kmag
...
MozReview-Commit-ID: GFeFjKlsMAD
--HG--
extra : transplant_source : G%ED%267%A3%23%BE%D2%17%9DV%D3.%3D%D9%13M%E8%7B%2A
2016-03-07 09:35:24 +01:00
Kris Maglione
cd7094d843
No bug - [webext] Fix the ESLint curly brace rule to prevent single-line control statements. r=me
...
MozReview-Commit-ID: LJvu068qsZy
--HG--
extra : rebase_source : a24d244c0850bde30cb91fc1ce422ad623f0df82
2016-03-19 14:29:18 +01:00
Carsten "Tomcat" Book
3f159e9570
Merge mozilla-central to mozilla-inbound
2016-03-21 15:47:53 +01:00
Stuart Colville
8e668102a1
Bug 1245644 - Add chrome.downloads.removeFile. r=kmag
...
MozReview-Commit-ID: 4picapXsv2x
--HG--
extra : rebase_source : 3cedf458793ae2b682260e556224a2c88d700052
2016-03-14 16:22:24 +01:00
bsilverberg
796bd23e28
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
--HG--
extra : transplant_source : 8%24%A6%3F%87%CD%17M%EC%B0%C4%3A%F3iP%EB%BA%DE%B5%F4
2016-03-17 11:17:16 +01:00
Mark Striemer
ced19f8207
Bug 1245636 - Implement chrome.downloads.open. r=kmag
...
MozReview-Commit-ID: KYBgXTaUSkc
--HG--
extra : amend_source : a887c9e5c90c29d2b26eb9427c33bfd5a946ef20
extra : transplant_source : %AB%06%82%9F%09%D4%A3%D8%5B%E3%E2D%07%17A%FFu%9CJ%5D
2016-03-14 11:46:43 +01:00
Kris Maglione
a6310afd36
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
0e533b219a
merge mozilla-inbound to mozilla-central a=merge
2016-03-18 15:51:43 +01:00
Carsten "Tomcat" Book
1077d1202b
Backed out changeset 74176e6545b1 (bug 1245644) for m-oth test failures
2016-03-18 08:08:01 +01:00
Ryan VanderMeulen
b026de6f01
Bug 1207911 - Re-enable the webext tests on ASAN.
...
--HG--
extra : rebase_source : a74abef64cd02ed07e005dfbe36262848896756e
2016-03-17 14:48:22 -04:00
Stuart Colville
bcf6886f7c
Bug 1245644 - Add chrome.downloads.removeFile. r=kmag
...
MozReview-Commit-ID: 4picapXsv2x
--HG--
extra : transplant_source : %F7%B9S%A4%0E%EFn%FA%0630MR%04n4L%24%D7%13
2016-03-14 16:22:24 +01:00
Andreas Wagner
f976c62952
Bug 1256264 - Make requestId a string. r=kmag
...
MozReview-Commit-ID: G9qh3jurdfZ
--HG--
extra : transplant_source : %A0%0FZ%C2%99%27%07%22d%05M%EAP%C2%CE6F%E2%BFl
2016-03-14 14:05:57 +01:00
Kris Maglione
0c6d94769a
Bug 1253645: Follow-up: Fix ESLint errors. r=me
...
MozReview-Commit-ID: GUk9MuOoe5g
--HG--
extra : rebase_source : 074f8a6ea4c36da8da4d3e9891ac4ac46cde5926
2016-03-17 12:05:21 +01:00
Carsten "Tomcat" Book
f298917442
merge mozilla-inbound to mozilla-central a=merge
2016-03-17 11:00:17 +01:00
Wes Kocher
ba63672fae
Merge m-c to fx-team, a=merge
...
MozReview-Commit-ID: 9mRXopJLh1e
2016-03-16 16:52:30 -07:00
Wes Kocher
1ddc9841d6
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
3f7b262a15
Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag
...
--HG--
extra : rebase_source : e6a951c77581b08fa8613852f54665506e9fb0ba
2016-03-16 15:11:57 +01:00
Andrew Swan
be7e1c3832
Bug 1245602 - Implement chrome.downloads.pause(), .resume(), .cancel() r=kmag
...
MozReview-Commit-ID: Cu2TNJRTZ07
--HG--
extra : rebase_source : b5a5ce3f454fec7bfb30c2e807553cca0eb6594f
extra : amend_source : 42bd9671c2970c79d8604d535ede5475b3507828
2016-03-15 05:51:27 -07:00
Andrew Swan
55a6830e86
Bug 1245641 - Implement chrome.downloads.erase() r=kmag
...
MozReview-Commit-ID: GtjVAklh4vL
--HG--
extra : rebase_source : b37e17978506f6f48c453dcabf964f045bdfcc4c
2016-03-15 04:19:28 -07:00
bsilverberg
0a0240682f
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
--HG--
extra : transplant_source : %A6%13hx%B5N%D0%9C%D1%20%00%A2%2A%0B%5Ez%E3E%C2%19
2016-03-15 17:36:54 +01:00
Luca Greco
5df6690626
Bug 1253565 - [webext] test "UnrecognizedProperty" on content_scripts manifest properties. r=kmag
...
MozReview-Commit-ID: CpNmXmHHOzO
--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_contentscript.html => toolkit/components/extensions/test/mochitest/test_chrome_ext_contentscript_unrecognizedprop_warning.html
extra : rebase_source : 61c748d71210a894d879c2dcf9508e7baaf63cc4
2016-03-15 01:11:18 +01:00
Luca Greco
34151b30f3
Bug 1253565 - [webext] reusable 'UnrecognizedProperty' type for manifest schema validation. r=kmag
...
MozReview-Commit-ID: LLWb07ybvlb
--HG--
extra : rebase_source : 89f8a53aa20773fb948c5cb2acdd9c5d3870f92c
2016-03-10 19:06:55 +01:00
Luca Greco
9dcc425dcd
Bug 1253565 - [webext] Run event pages as background pages and log warning on persistent manifest attribute. r=kmag
...
MozReview-Commit-ID: 9QWvRkADsQD
--HG--
extra : rebase_source : f2ad3178e96bb4d4b33d27b885041b8b8bb677ab
2016-03-10 19:28:04 +01:00
bsilverberg
faf28fe45e
Bug 1256251 - Update browser.cookies.onChanged to match Chrome's behaviour when overwriting a cookie. r=kmag
...
MozReview-Commit-ID: 5AGXbfkOd9R
--HG--
extra : transplant_source : %02%5D%D0%98%99x%3E%A5%ED%E8%87%3A%82%05%CAe%3B%7F%CB%C7
2016-03-14 12:13:58 +01:00
Wes Kocher
2c04614f61
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
896cbecf01
Bug 1253565 - [webext] Test "UnrecognizedProperty" on content_scripts manifest properties. r=kmag
...
MozReview-Commit-ID: CpNmXmHHOzO
--HG--
extra : rebase_source : 36325e52efdb4edaf32079ae9637b7f43076ebef
2016-03-14 12:12:18 +01:00
Luca Greco
d6bd2ce740
Bug 1253565 - [webext] Reusable 'UnrecognizedProperty' type for manifest schema validation. r=kmag
...
MozReview-Commit-ID: LLWb07ybvlb
--HG--
extra : rebase_source : f3ec33e3fceb75690bcfaf6b4fd1ae7f13482858
2016-03-10 19:06:55 +01:00
Luca Greco
1e89a7231e
Bug 1253565 - [webext] Run event pages as background pages and log warning on persistent manifest attribute. r=kmag
...
MozReview-Commit-ID: 9QWvRkADsQD
--HG--
extra : rebase_source : 508abbd040d70c10868807126b57b6b0ca8b3884
2016-03-10 19:28:04 +01:00
Sebastian Hengst
0c4628775b
Bug 1253645 - Implement browser.extension.isAllowedIncognitoAccess. Followup: Add ; to fix eslint error. r=eslintfix
2016-03-16 17:38:41 +01:00
Christopher Grebs
4a5d71dedf
Bug 1253645 - Implement browser.extension.isAllowedIncognitoAccess. r=kmag
...
MozReview-Commit-ID: HaM0GJrappR
--HG--
extra : transplant_source : %D1%ACkD%E3A%E4%A0cg%ED%7E%C7%1Eh%28M%2C%A6%D8
2016-03-14 12:28:49 +01:00
bsilverberg
2ba8c54467
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
--HG--
extra : rebase_source : 390d6c80f034f01cc419b1c2c3c9a93722fa1c59
2016-03-09 09:30:43 -05:00
bsilverberg
fd9f28f587
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
--HG--
extra : rebase_source : 58f225f21b0a72a6fe7cdc54105f2ada17b4fb30
2016-03-09 15:41:17 -05:00
bsilverberg
679051b6d8
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
--HG--
extra : transplant_source : %C0vL%13%B2%BFo%07%0B%0B%CB%BD%BD4%15QA%FCY%7C
2016-03-09 10:02:40 -05:00
Kris Maglione
0a673acdf3
Bug 1220154: Follow-up: Fix ESLint error in test. r=me
...
MozReview-Commit-ID: 77kjFc6jvTH
2016-03-09 17:59:15 -08:00
bsilverberg
7b72d7a595
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
1860156d34
Bug 1245599 - Implement chrome.downloads.onCreated r=kmag
...
MozReview-Commit-ID: 53yhKZYHDrD
2016-03-07 16:54:08 -08:00
Carsten "Tomcat" Book
3f5b3372e9
Backed out changeset 6d5004acc11c (bug 1245599) for ES failures
2016-03-09 11:24:06 +01:00
Andrew Swan
bb8e622bc8
Bug 1245599 - Implement chrome.downloads.onCreated r=kmag
...
MozReview-Commit-ID: Bimv9lY651A
--HG--
extra : transplant_source : %8Bz%D5%CE%BB_%3Ds%D0K%17%DF%28%B5Mz_%F4%5B%D8
2016-03-07 16:54:08 -08:00
Kris Maglione
876d0a0806
Bug 1220154, 1249830: Handle sendMessage replies with 0 and >1 listeners correctly. r=billm
...
MozReview-Commit-ID: 7lE7RaJcl7n
--HG--
extra : rebase_source : 424987c745840d56647600b8d9e1bf941afb1d95
2016-03-04 15:40:56 -08:00
Giorgio Maone
2f92feb878
Bug 1253924 - Implement statusLine + fix & test statusCode r=kmag
...
MozReview-Commit-ID: BhyM10w8iGt
--HG--
extra : rebase_source : f7d53d17fbe77ebd0bcdb8205ee7e7bc2a1e6300
2016-03-06 16:59:07 +01:00
Giorgio Maone
92558f57d8
Bug 1232849 - Better chrome compatibility + binaryValue support + serious header manipulation tests + nits r=kmag
...
MozReview-Commit-ID: G8mgtVLFfoD
--HG--
extra : rebase_source : 68135fffd8470462066aa77d5e8097ae1607a09a
2016-03-06 09:02:06 +01:00
bsilverberg
e9211fc397
Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
...
MozReview-Commit-ID: HyjJrEjcsZu
--HG--
extra : source : 3646fe906d7ede02b09b2af815c2d96f0a9d6094
2016-03-03 08:00:42 -05:00
Andrew Swan
053f654c7e
Bug 1251766 - Accept more date formats for downloads.search(). r=kmag
...
MozReview-Commit-ID: K0r1wiY2lqf
--HG--
extra : rebase_source : 77390ec193bf021cb293fa0e564d2d0a101dce3e
2016-03-04 10:44:09 -08:00
Andrew Swan
76e599335e
Bug 1251766 - Add new Date type to webextensions schemas. r=kmag
...
MozReview-Commit-ID: EEX5FziiINo
--HG--
extra : rebase_source : 68da63aeacb6a711c7a35827f36f7d97c00e48d0
2016-03-04 13:08:19 -08:00
Andrew Swan
a9ee3a7852
Bug 1245600 - Implement chrome.downloads.onChanged for state. r=kmag
...
MozReview-Commit-ID: BaAyU1dgMB7
--HG--
extra : rebase_source : e0652f3bb9afc13b7276eb92f220542cd61a66be
2016-03-04 12:18:11 -08:00
Kit Cambridge
5d8590bae1
Back out changeset a67f0b208af6 (bug 1252250) for merge conflicts.
...
MozReview-Commit-ID: IQzGkqThQzG
--HG--
extra : rebase_source : f59f5d9e9bef582881aefb54a5e8a1d6ec3ddb71
2016-03-04 14:46:15 -08:00
bsilverberg
d2ee0f20a2
Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
...
MozReview-Commit-ID: HyjJrEjcsZu
--HG--
extra : rebase_source : 0e4f44b20a1c4afe0222d2e456399ae3f8b93124
2016-03-04 11:02:28 -08:00
bsilverberg
ccaa30638a
Bug 1251269 - Implement browser.bookmarks.getRecent(), r=kmag r=mak
...
MozReview-Commit-ID: 7nYCplcQZuk
--HG--
rename : toolkit/components/places/tests/bookmarks/test_bookmarks_search.js => toolkit/components/places/tests/bookmarks/test_bookmarks_getRecent.js
extra : rebase_source : a5ad83c83a6cb5c3c21d14f8faac5774a5d748e8
2016-03-03 08:07:16 -05:00
Andrew Swan
c01dd7fea8
Bug 1245603 - Implement browser.downloads.search(). r=kmag
...
MozReview-Commit-ID: 9XqkfZyeS8X
--HG--
extra : transplant_source : %12%5D%EF%3B%3F%CE%C7%28v%29%15%16%5E%88%A9n%86%0DPH
2016-03-02 10:23:55 -08:00
Kris Maglione
dce2b3c2cd
Bug 1214955: [webext] Automatically localize all localizable manifest properties. r=billm
...
MozReview-Commit-ID: 2kvYT44NIE8
--HG--
extra : rebase_source : ebab864b517c2e576dde27cf1439cf2deadb0685
2016-02-29 19:34:49 -08:00
bsilverberg
7adc359096
Bug 1251244 - Clean up tests for bookmarks API. r=kmag
...
MozReview-Commit-ID: 4jZZvpIBL6N
--HG--
extra : rebase_source : c8be5edba9303c74cf7548e9bf9cbc4c6eaf3bd8
2016-02-27 07:58:04 -05:00
Wes Kocher
d0b32f7434
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: Aab5zU7Kd3X
2016-02-26 12:38:33 -08:00
Wes Kocher
f5d0907f78
Merge fx-team to central, a=merge
...
MozReview-Commit-ID: 9LaKI6lIClP
2016-02-26 12:19:25 -08:00
Giorgio Maone
24ecf3fc2d
Bug 1163862 - Switch to HTTP observer + support requestId & data: URIs + test fixes r=billm
...
MozReview-Commit-ID: 30nEXQpWEHg
--HG--
extra : rebase_source : 2928c50f78cec17419d3d6a550c124729949c567
2016-02-26 19:08:32 +01:00
bsilverberg
7a9bf65980
Bug 1251289 - Fix chrome.i18n.getAcceptLanguages to *not* replace dashes with underscores in language codes. r=kmag
...
MozReview-Commit-ID: 1plfVzxwq3V
--HG--
extra : rebase_source : 0c6a2419c4fe1a19d35b26ac5957bbe0d0d5608f
2016-02-25 13:18:16 -05:00
Kris Maglione
f12c56982f
Bug 1247081: Support fragment IDs and query strings in web_accessible_resources URLs. r=billm
...
MozReview-Commit-ID: KHOnavpnVfA
--HG--
extra : rebase_source : bb5795f55cf1f6abd57ddba63685cc3c67135385
2016-02-12 22:36:45 -08:00
Phil Ringnalda
04f23241db
Back out 8ae0fba61023 (bug 1163862) for Win7 e10s test_ext_webrequest.html bustage
2016-02-25 20:41:40 -08:00
bsilverberg
ad65868512
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
--HG--
extra : amend_source : 2339e42a83460682a8d6df206c10849b38a288eb
2016-02-25 07:29:09 -05:00
Andrew Swan
c5a9db2a6b
Bug 1245597 - implement the basics of chrome.downloads.download(). r=kmag
2016-02-24 11:16:32 -08:00
Matthew Wein
5acdfcf336
Bug 1243602 - don't expose browser.* properties that lack required permissions. r=kmag
2016-02-24 18:08:59 -08:00
Luca Greco
c56fcca8c3
Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
...
MozReview-Commit-ID: FvtkZpcJYCU
--HG--
extra : transplant_source : %0B%CA%07NX7d%17W%D5%A0P%7D%0B%A8yG%E4l%CE
2016-02-12 02:13:19 +01:00
bsilverberg
497853f641
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
--HG--
extra : transplant_source : %E99IPZ%81%F3%DB%24%87%FD%A8%D4a%87%DA%C7%8D%F2G
2016-02-24 08:52:43 -05:00
Sebastian Hengst
229ccdd716
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
0bc2cf3b95
Backed out changeset f3dcf982a76f (bug 1239349) for ES lint failures
2016-02-24 16:28:16 +01:00
bsilverberg
c244ff7396
Bug 1246754 - Complete the implementation of chrome.i18n.detectLanguage, r=kmag
...
MozReview-Commit-ID: 7cvJj0QP5XO
--HG--
extra : rebase_source : 47b4a7bfdbae2ed0981508fa6854417015d8ceed
2016-02-23 22:01:11 -05:00
Luca Greco
c70af9110b
Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
...
MozReview-Commit-ID: FvtkZpcJYCU
--HG--
extra : transplant_source : -%C8%E7%26%B6%3B%D2%5C%D6z%AD%B02%99%88D%3D%F4%CAu
2016-02-12 02:13:19 +01:00
Andrew Swan
005a648a8c
Bug 1245597 - implement the basics of chrome.downloads.download() r=kmag
2016-02-21 21:20:22 -08:00
Kris Maglione
042bc9b036
Bug 1249055: Follow-up: Fix ESLint errors. r=me
...
MozReview-Commit-ID: IF7xGqr2HJ2
--HG--
extra : rebase_source : 4e9de005edd2354a05bb4479f00df944d50276c1
2016-02-23 18:46:56 -08:00
Phil Ringnalda
8c87e2d3d9
Back out 9466f6513f50 (bug 1213450) for timeouts in test_ext_i18n.html
2016-02-23 18:36:11 -08:00
bsilverberg
8643e259ee
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
--HG--
extra : commitid : LdusYd5H5n2
extra : rebase_source : ebf40cc0eade9d5b06ede1d8d29508dcd8af7066
2016-02-22 17:37:48 -05:00
bsilverberg
a48959e080
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
--HG--
extra : commitid : DWiAJfamJVb
extra : rebase_source : b8f8b0fed17a65ca7a5a95000c5372ab1b695a95
2016-02-18 10:12:04 -05:00
bsilverberg
57e3f239dd
Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
...
Implement browser.i18n.getAcceptLanguages() including tests
MozReview-Commit-ID: EeuxXvg0l3M
--HG--
extra : commitid : IU9DPrAD0iJ
extra : rebase_source : f7e94a0eb892ecd8cd4d23f56a17f86318dd75f1
2016-02-18 08:59:57 -05:00
bsilverberg
04f5066ce6
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
--HG--
extra : rebase_source : 9996c7da79d3a132bce73b167dfea7031083ad3a
2016-02-18 07:50:17 -05:00
Kris Maglione
ba2e5f60f4
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
4d2291640d
Bug 1225743 - Implement chrome.bookmarks.search. r=mak
2015-11-24 17:40:08 +01:00
Carsten "Tomcat" Book
b0531843fe
merge mozilla-inbound to mozilla-central a=merge
2016-02-12 15:15:17 +01:00
Andrew Swan
2779dbcc01
Bug 1236940 - Add ip property to chrome.webRequest.onCompleted callback. r=billm
2016-02-02 21:08:51 -08:00
Kris Maglione
fe779f842c
Bug 1244474: [webext] Part 2 - Make extra manifest properties/permissions warnings instead of errors. r=billm
...
--HG--
extra : commitid : HupvwgBGnv4
extra : rebase_source : ec091841146171eb7d530d0f1057741db6885e95
extra : histedit_source : eb9beb696b41d3162dfa18b31b1bdf44341e702f
2016-01-30 14:32:36 -08:00
Kris Maglione
0ed5ad7e3d
Bug 1244474: [webext] Part 1 - Add "deprecated" property support to schema validator. r=billm
...
--HG--
extra : commitid : 5nhV9Z5ceVL
extra : rebase_source : 99ff44dc06b45e387d0fddf8596350a08e9e140d
extra : histedit_source : 10f87e416d891986835e3f277a9c3e29718a49cb%2C629ca94b9a7ff27fe0acabd44de9f316737481cd
2016-02-10 16:32:58 -08:00
Phil Ringnalda
05fb537019
Merge m-i to m-c, a=merge
2016-02-06 19:08:33 -08:00
Kris Maglione
18a5345609
Bug 1234020: Part 2c - [webext] Return promises from the idle API. r=rpl
...
--HG--
extra : commitid : BPi8baslrOV
extra : rebase_source : 0b452d7e680a2f626481ce10761439e557390499
extra : histedit_source : 4ac9d405204b1ce798155cd5f99dfb6ff2147fe5
2016-02-02 19:35:31 -08:00
Kris Maglione
2762bb5398
Bug 1234020: Part 2f - [webext] Return promises from the bookmarks API. r=evilpie
...
--HG--
extra : commitid : 8s79WWvVomB
extra : rebase_source : c3bb8465a7f8ccb5066ef3dbaeadb6e1647763bf
2016-02-01 18:12:45 -08:00
Kris Maglione
f72bc2afbb
Bug 1234020: Part 2b - [webext] Return promises from the cookies APIs. r=evilpie
...
--HG--
extra : commitid : 6RKl39LqmOc
extra : rebase_source : 6d2893daffa38ccce0976a846a924b46c03e7ed1
2016-02-01 18:03:37 -08:00
Kris Maglione
278a332b02
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.
--HG--
extra : commitid : 9jGEwCU9AhR
extra : rebase_source : db16f1e5f9962fb7b24c0e52c05832ae646a57c2
2016-01-30 10:27:02 -08:00
Kris Maglione
7223a1a63e
Bug 1225715: Part 4 - Improve reporting of schema errors. r=billm
...
--HG--
extra : commitid : 8hxwF0y1kXL
extra : rebase_source : 6659b05b2835d9e9feecb45223b4ab2519eea4c5
2016-01-29 20:11:07 -08:00
Kris Maglione
4e6099bea2
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.
--HG--
extra : commitid : 69hnLm2cHLt
extra : rebase_source : 8895c53c36c3790c287c0105fa95b0f3f8f49c33
2016-01-20 22:46:37 -08:00
Kris Maglione
cd5a8640d9
Bug 1225715: Part 2 - Add string format support to schemas. r=billm
...
--HG--
extra : commitid : ArSuR3hloWW
extra : rebase_source : 64f075729beee1a0b3e411c7f3c7084839e793df
2016-01-29 19:48:57 -08:00
Kris Maglione
f9a63c1481
Bug 1225715: Part 1 - Add support for patterned strings and properties in schemas. r=billm
...
--HG--
extra : commitid : DXiMnqrHsn0
extra : rebase_source : e8457775d1c9510e20e3f987eb8deccbcfbb50fb
2016-01-29 19:45:16 -08:00
Andrew Swan
47326c6b9a
Bug 1245678 - [webext] Add downloads API schema and implementation boilerplate. r=rpl
2016-02-05 09:56:37 -08:00
Luca Greco
2f5c8d953a
Bug 1214658 - Test content script APIs are not injected in arbitrary web pages. r=kmag
...
--HG--
rename : toolkit/components/extensions/test/mochitest/file_ext_background_api_injection.js => toolkit/components/extensions/test/mochitest/file_ext_test_api_injection.js
extra : commitid : 8uMx4Ert6TU
extra : source : b76ab3324cd20c8743af4d6695977c67e99ed3fa
extra : histedit_source : 35b618307d2611c6e5207453be91e98fd13cf560%2C495e97130c649b88dec16753562ba0911e1194a2
2016-01-24 14:43:16 -08:00
Luca Greco
3266326e23
Bug 1214658 - Add test case of an webextension page iframe created from a content script. r=kmag
...
--HG--
extra : commitid : 9tJ6I2yhAFY
extra : source : aee8341f15c745e69cefc2a4dbd9bff18ce2f699
extra : histedit_source : 447205890dcd3fb4ffc30d4ad67da8f942d452b6%2C4d0923aee564f54f60496e5bb8b17da6ad2f6c4a
2016-01-24 14:43:00 -08:00
Bill McCloskey
afd5383760
Bug 1246787 - Fix ESLint errors
2016-02-11 13:37:44 -08:00
Bill McCloskey
cc7eba7dde
Bug 1246787 - [webext] Add schema storage.json (r=kmag)
2016-02-11 13:04:31 -08:00
Wes Kocher
bfc867440c
Merge m-c to inbound, a=merge
...
--HG--
extra : commitid : 2o7h1aSJgql
2016-02-25 14:38:16 -08:00
Giorgio Maone
b1ccc3bb44
Bug 1163862 - Switch to HTTP observer where possible + support requestId & data: URIs r=billm
...
MozReview-Commit-ID: EBRWBgGPqyD
--HG--
extra : rebase_source : c67a0633fcd2ac8eb8304567fe6ff072484e73bc
2016-02-24 00:21:42 +01:00
Andrea Marchesini
b1768e7ec3
Bug 1245184 - Update mochitests, r=me
2016-02-25 16:41:13 +01:00
Phil Ringnalda
102023d0a0
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)
--HG--
rename : toolkit/components/extensions/test/mochitest/file_ext_test_api_injection.js => toolkit/components/extensions/test/mochitest/file_ext_background_api_injection.js
2016-01-23 13:06:49 -08:00
Luca Greco
7a0d28079a
Bug 1214658 - Test content script APIs are not injected in arbitrary web pages. r=kmag
...
--HG--
rename : toolkit/components/extensions/test/mochitest/file_ext_background_api_injection.js => toolkit/components/extensions/test/mochitest/file_ext_test_api_injection.js
2016-01-22 10:13:00 -05:00
Luca Greco
7e3d0bcfc6
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
5a95948ae6
Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm
...
--HG--
extra : commitid : IKunziwQUPp
extra : rebase_source : e36842c15d0be4f319a108e0bfc4e04baf96dd19
2016-01-09 16:53:24 -08:00
Kris Maglione
dd589960ff
Bug 1190323: [webext] Part 2: Complete i18n API test coverage. r=billm
...
--HG--
extra : commitid : ISTHIRuyxN8
extra : rebase_source : bb5fb3dd525c2ff6bcd101bd5f938f4d34ae6272
2016-01-12 15:58:13 -08:00
Kris Maglione
2a345bc7d4
Bug 1238408: Request complete logs in test_ext_webrequest.html
...
--HG--
extra : commitid : 6d3Wo0rHYSe
2016-01-11 13:36:01 -08:00
Luca Greco
7ce1de0dec
Bug 1237357 - Fix missing Cr used by AddonLocalizationConverter in simpleServices. r=kmag
2016-01-08 05:38:00 -05:00
Ryan VanderMeulen
ceb519e5ff
Merge fx-team to m-c. a=merge
2016-01-06 09:48:18 -05:00
Fabrice Desré
99b0b99f71
Bug 1224703 - part 2: Enable tests on emulator r=billm
2016-01-05 15:37:06 -08:00
Tom Schuster
b8be325607
Bug 1224579 - Allow leading dot in domain in cookies.set. r=billm
...
--HG--
extra : commitid : 3GdmVM5UxFx
extra : rebase_source : 822b37f75aa11d4f35c73d9af1b8aa7931362a15
extra : amend_source : 6a5e52d627a2c11dc1cad8c95a89aa3648921ef8
2015-12-21 07:14:00 -08:00
Kris Maglione
81ee0b7dad
Bug 1237122 - Use base test suite eslintrc files for WebExtension tests. r=trivial
...
--HG--
extra : commitid : LQJzTvLEHsW
2016-01-05 16:10:33 -08:00
Kris Maglione
7c21dd4518
Bug 1227451: Follow-up: Fix ESLint errors. r=trivial
...
--HG--
extra : commitid : FetQWqfKA2Z
2016-01-05 15:54:32 -08:00
Luca Greco
52d6f76bb9
Bug 1227451 - chrome.alarms API doesn't check 'alarms' permission. r=billm
2016-01-04 10:21:00 -05:00
Kris Maglione
a49250b7f4
Bug 1234755: Follow-up: Fix additional failures. r=trivial
...
--HG--
extra : commitid : 4Ef0fj48IPr
extra : amend_source : 839e710a618fc403c156e79e80d91276aa9a0f1d
2015-12-31 16:17:00 -08:00
Kris Maglione
fbbdff2da8
Bug 1224579: [webext] Fix the handling of domain cookies. r=evilpie
...
--HG--
extra : commitid : 90fX4lH7xMk
extra : rebase_source : a553deb3f3f8863d8aa0712ba0b7e286f22fa619
2015-12-23 11:18:38 -05:00
Kris Maglione
a31ad54f9b
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.
--HG--
extra : commitid : GiKqZCFKBda
extra : rebase_source : bc50d3724e4bcb6b5fd9faa5283fa04c72c21724
2015-12-22 23:43:23 -05:00
Bill McCloskey
b29022c1de
Bug 1215197: Implements onBeforeRedirect by using a channel event sink (r=billm)
2015-12-30 13:34:45 -08:00
Ryan VanderMeulen
9a3523097f
Merge fx-team to m-c. a=merge
2015-12-25 20:33:39 -05:00
Bill McCloskey
84f9789075
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
b9e31d597b
Bug 1229552 - [webext] Add test for unregistration (r=kmag)
2015-12-23 12:29:39 -08:00
Bill McCloskey
755eaf9042
Bug 1228044 - [webext] Filter messages between extensions (r=kmag)
2015-12-23 12:29:39 -08:00
Bill McCloskey
b8196d4c71
Bug 1208257 - [webext] runtime.json (r=kmag)
2015-12-23 08:57:13 -08:00
Bill McCloskey
a2c4e965e2
Bug 1208257 - [webext] context_menus.json (r=kmag)
2015-12-23 08:57:13 -08:00
Bill McCloskey
a3d3a41850
Bug 1208257 - [webext] browser_action.json (r=kmag)
2015-12-23 08:57:13 -08:00
Kris Maglione
77d984b84a
Bug 1210996: [webext] Check host permissions in the browser.cookies API. r=billm
...
--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_cookies.html => toolkit/components/extensions/test/mochitest/test_ext_cookies_permissions.html
extra : commitid : IqgOPGfrF2K
extra : rebase_source : 1ba3322fec537ba5e0c0f5fe8a30b7e6eec46911
2015-12-02 21:20:01 -08:00
Sami Jaktholm
c4826911ac
Bug 1233350 - Fix TypeError in notifications.getAll(). r=kmag
...
This also adds some tests for the method.
--HG--
extra : transplant_source : f%9FN%E5%2C%FE%7D%94K%23%06%1A%DC%40%DC%98D%C2%17%BD
2015-12-22 11:29:22 +02:00
Kris Maglione
5806db05fe
Bug 1231827: Fix ESLint regressions in toolkit/components/extensions. r=trivial
...
--HG--
extra : commitid : LOHpVyIKcEO
2015-12-11 11:29:08 -05:00
Bill McCloskey
a8890fbf4f
Bug 1208257 - [webext] WebNavigation test (r=kmag)
2015-12-06 08:50:24 -08:00
Bill McCloskey
d85785380e
Bug 1208257 - [webext] web_request.json (r=kmag)
2015-12-06 08:50:24 -08:00
Bill McCloskey
28f4ce315b
Bug 1208257 - [webext] Add basic schema support (r=kmag)
2015-12-06 08:50:24 -08:00
Kris Maglione
b729a30707
Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
...
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.
For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:
* The rule for opening brace alignment can only be applied globally, and
doesn't make exceptions for top-level functions. I chose to turn it on, and
change the brace style of existing top-level functions that violated it,
since the rule seemed worth using, and that's the direction most Toolkit JS
code has been headed anyway.
* The rule for switch/case statements requires an added indentation level for
case statements. Most of our switch statements did not use an extra level
of indentation, and I initially wrote the rule to enforce that style, until
I came across case statements that used blocks, and required the extra
indentation level for sanity.
--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Kris Maglione
62d3c9701a
Bug 1229874: Part 2 - Fix the major errors detected by ESLint. r=billm
...
--HG--
extra : commitid : 8MfFtdlzGEG
extra : rebase_source : 744d65868d5a3d217bd5f6428a3486e95fa14716
extra : source : 880fc261adae00a344e227ea2fa246b771cd57a6
2015-12-02 16:58:24 -08:00
Kris Maglione
d3ba5a1f16
Bug 1209184: Part 4 - [webext] Add tests for CSS localization filters. r=billm
...
--HG--
extra : commitid : LIbDp0oEgTC
extra : rebase_source : 6cb048586805ffaa01c2e463faec4a7d8308d383
extra : source : 8e692344588a9b0155259d0d3fb1050b5f22230c
2015-11-20 22:39:58 -08:00
Kris Maglione
fa7cf1cebc
Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm
...
--HG--
extra : commitid : FqgRb3YgqJF
extra : rebase_source : e2be739f353d06c7e330011111071e370e1e59e0
extra : source : f9ab766896106b5718920a274ef4fe3605823b75
2015-11-28 01:00:57 -08:00
Phil Ringnalda
2ef1ebcef2
Back out 5 changesets (bug 1209184) on suspicion of causing OS X opt build startup cache precompilation failures
...
CLOSED TREE
Backed out changeset d0404928473e (bug 1209184)
Backed out changeset 24282235336d (bug 1209184)
Backed out changeset 399404ff25e4 (bug 1209184)
Backed out changeset a517959befe9 (bug 1209184)
Backed out changeset a4f1765a6cdf (bug 1209184)
2015-11-28 20:29:48 -08:00
Kris Maglione
bbfcb6bd68
Bug 1209184: Follow-up: Disable WebExtension xpcshell tests on Android and gonk. r=me
...
--HG--
extra : commitid : BAyWC1DtflD
extra : amend_source : 60f56b9557b55bc67189d52692311f1af309dfc5
2015-11-28 01:00:57 -08:00
Kris Maglione
0e62607b98
Bug 1209184: Part 4 - [webext] Add tests for CSS localization filters. r=billm
...
--HG--
extra : commitid : 7QQXwv6dFlO
extra : source : 8e692344588a9b0155259d0d3fb1050b5f22230c
extra : histedit_source : 8eaf0490a1f62b6379cdca19bdc5a415a4d5c3c8
2015-11-20 22:39:58 -08:00
Kris Maglione
63106cd553
Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm
...
--HG--
extra : commitid : C6EPqRUd2zd
extra : source : f9ab766896106b5718920a274ef4fe3605823b75
extra : histedit_source : b8bc9c984956d543d935a0fc6db77875ac8680d5%2Ccd119681f1f3e43e22999fdb3eb2848f47962436
2015-11-27 23:02:41 -08:00
Phil Ringnalda
6c3da9ec36
Back out 4 changesets (bug 1209184) for Android/B2G xpcshell bustage
...
CLOSED TREE
Backed out changeset 8e692344588a (bug 1209184)
Backed out changeset f9ab76689610 (bug 1209184)
Backed out changeset 9c63ffd499eb (bug 1209184)
Backed out changeset e75f9f24d0dc (bug 1209184)
2015-11-27 22:40:54 -08:00
Kris Maglione
29e0cf5229
Bug 1209184: Part 4 - [webext] Add tests for CSS localization filters. r=billm
...
--HG--
extra : commitid : I3iiuKUJqSF
extra : rebase_source : 652a56ec50167cf8283da80b45ba2f1bf709732d
2015-11-20 22:39:58 -08:00
Kris Maglione
2ee98de7f1
Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm
...
--HG--
extra : commitid : 3k0QW6ROCfV
extra : rebase_source : 120500a612301055c4262644314420e2692c4627
2015-11-16 17:38:02 -08:00
jignesh
8095302fd7
Bug 1216704 - [webext] Fix incorrect parameter to getManifest in content scripts and test for the same. r=billm
2015-11-18 12:36:00 +01:00
Kris Maglione
3b218341fa
Bug 1208761: [webext] Support l10n.getMessage in content scripts. r=billm
...
--HG--
extra : commitid : Iuj6mzu3KIU
extra : rebase_source : 08612b809866cf35057dc690bdf62dd74a330b46
2015-11-23 17:52:23 -08:00
Kris Maglione
74af7d53bc
Bug 1226423: [webext] Add tests for API injection into background pages. r=billm
...
--HG--
extra : commitid : 70rSfBGK8XG
extra : rebase_source : 829a3f270e89f4a64262a5e5f4f5499ed3251424
2015-11-20 15:14:25 -08:00
Kris Maglione
76d1ae510c
Bug 1221415: [webext] Improve error checking and Chrome-compatibility of i18n API. r=billm
...
--HG--
extra : commitid : 493PXRrLfdL
extra : rebase_source : 81a053d889e64e8f5685fe7f7a2a656c396807a0
2015-11-15 16:54:41 -08:00
Kris Maglione
9b2c61cbae
Bug 1215893: [webext] Check capturing event listeners for the correct target. r=billm
...
--HG--
extra : commitid : IYgT9fAiHJX
extra : rebase_source : c672622b7f2e931ceab45b5569c9de0bfd40602a
2015-11-14 23:30:52 -08:00
Bill McCloskey
9c2a47898f
Bug 1208874 - [webext] Generate an extension-specific UUID (r=kmag)
2015-11-12 08:19:45 -08:00
Bill McCloskey
e655ba59b5
Bug 1223589 - [webext] Implement getPlatformInfo (r=kmag)
2015-11-12 08:19:45 -08:00
Bill McCloskey
fd0aea8d56
Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag)
2015-11-12 08:19:45 -08:00
Johann Hofmann
898c7be7cd
Bug 1217886 - Implement chrome.storage.local.clear. r=wmccloskey
2015-11-04 22:29:31 +01:00
Kris Maglione
9768c79d20
Bug 1213632: Prevent WebExtensions from using versioned JavaScript. r=billm
...
--HG--
extra : commitid : 3aQ4wS5I7LP
extra : rebase_source : 252277140f700ab305877f3bfd0ba9b582ff0b7a
2015-10-22 23:25:43 -07:00
Luca Greco
bbaf1760b9
Bug 1214174 - Background window properties OOM exception test case. r=billm
...
--HG--
extra : histedit_source : bea04db0faf790982dc3e9e734576c6092956870
2015-10-26 05:03:00 -04:00
Blake Winton
1d02564612
Bug 1215130 - Use periodInMinutes as the default for delayInMinutes. r=billm
...
--HG--
extra : rebase_source : c44128cc99a168d38875b00ff3d26ec86696c295
2015-10-16 13:24:57 -04:00
Blake Winton
a2f5add6ab
Bug 1215201 - Iterate through the elements of the alarmCallbacksMap. r=billm
...
--HG--
extra : rebase_source : 02eb8d5234688ccd99219a3c0a1a2c7b7a0aae74
2015-10-15 13:36:38 -04:00
Bill McCloskey
7c41291110
Bug 1212718 - [webext] Test for webRequest resource types (r=Mossop)
2015-10-12 20:04:21 -07:00
Bill McCloskey
c107fdc361
Bug 1212718 - [webext] Add onCompleted test (r=Mossop)
2015-10-12 20:03:48 -07:00
Bill McCloskey
bcd9fdf57f
Bug 1212718 - [webext] Add test for onSendHeaders problem (r=Mossop)
2015-10-12 20:03:35 -07:00
Bill McCloskey
31df91c1aa
Bug 1202897 - Switch all WebExtension tests to use generated zip files rather than files (r=gabor)
2015-10-12 16:19:50 -07:00
Tom Schuster
03a5c643c2
Bug 1208907 - [webext] Partially implement browser.bookmarks. r=billm f=mak
2015-10-11 16:41:21 +02:00
Jed Davis
faf361396a
Bug 1201935 - Allow reading from TmpD in OS X content processes. r=smichaud
...
--HG--
extra : rebase_source : 68565c447e3731e9c562514e8355044cfd8c28b9
2015-10-07 13:41:00 +02:00
Luca Greco
8ee9792b23
Bug 1204583 - test connect params preprocess and fix raised invalid params error. r=billm
...
--HG--
extra : amend_source : 3b2fb8072db43c69795cc108aed5e3d9271a496f
2015-09-30 14:21:00 +02:00
Tom Schuster
b92934f1b1
Bug 1197417 - [webext] Tests for browser.cookies. r=billm
2015-10-02 16:36:05 +02:00
Bill McCloskey
330e587de8
Bug 1207911 - [webext] Fix races in webextension tests (r=gabor)
2015-09-27 12:29:40 -07:00
Johann Hofmann
2f29357252
Bug 1204072 - Import runSafe in ext-{alarms,notifications} (r=billm)
2015-09-25 05:09:11 -07:00
Phil Ringnalda
971bca22ce
Bug 1207911 - Disable webext tests on ASan builds for now
...
CLOSED TREE
2015-09-23 20:12:16 -07:00
Bill McCloskey
57f85fd841
Bug 1202481 - [webext] Fix browser.runtime.onMessage reply handling (r=gabor)
2015-09-23 17:18:34 -07:00
Bill McCloskey
4dc14af3ea
Bug 1202486 - [webext] Add test for browser.runtime.connect, fix a few bugs (r=gabor)
2015-09-23 17:18:33 -07:00
Bill McCloskey
88501da12a
Bug 1197475 - [webext] Add test for browser.storage.local, fix a few bugs in it (r=gabor)
2015-09-23 17:18:30 -07:00
Bill McCloskey
22b5c13d6a
Bug 1202501 - [webext] Clean up WebExtension tests (r=gabor)
...
--HG--
rename : browser/components/extensions/test/browser/browser_extensions_simple.js => browser/components/extensions/test/browser/browser_ext_simple.js
rename : toolkit/components/extensions/test/mochitest/file_contentscript_page1.html => toolkit/components/extensions/test/mochitest/file_sample.html
2015-09-23 17:18:28 -07:00
Bill McCloskey
9ff6da7c17
Bug 1199473 - [webext] Fix wrong parameter name for browser.extension.getURL (r=gabor)
2015-09-23 17:18:27 -07:00
Bill McCloskey
81c0830e51
No bug - Skip webextension tests for mulet
2015-09-23 17:18:25 -07:00
Phil Ringnalda
5b1ea9212a
Backed out 12 changesets (bug 1202482, bug 1202483, bug 1202481, bug 1202486, bug 1202479, bug 1202478, bug 1197475, bug 1203331, bug 1139860, bug 1202501, bug 1199473, bug 1190662) for Mulet mochitest-5 timeouts
...
CLOSED TREE
Backed out changeset 6503123e95dd (bug 1139860)
Backed out changeset b83bc163064d (bug 1203331)
Backed out changeset 2f501bd57cd2 (bug 1202481)
Backed out changeset 37e6ac7beb42 (bug 1202486)
Backed out changeset f9b6e99e620e (bug 1202483)
Backed out changeset 466af9f9baee (bug 1202482)
Backed out changeset 6be690e265a2 (bug 1202479)
Backed out changeset 57ff88bfccf4 (bug 1197475)
Backed out changeset 7e8c04ff6049 (bug 1202478)
Backed out changeset 525227997274 (bug 1202501)
Backed out changeset da317cdb79d3 (bug 1199473)
Backed out changeset 73b8ddd6dac9 (bug 1190662)
--HG--
rename : browser/components/extensions/test/browser/browser_ext_simple.js => browser/components/extensions/test/browser/browser_extensions_simple.js
rename : toolkit/components/extensions/test/mochitest/file_sample.html => toolkit/components/extensions/test/mochitest/file_contentscript_page1.html
2015-09-22 19:29:51 -07:00
Bill McCloskey
5c9d5e6cbf
Bug 1202481 - [webext] Fix browser.runtime.onMessage reply handling (r=gabor)
2015-09-22 16:09:23 -07:00
Bill McCloskey
bf67fee35a
Bug 1202486 - [webext] Add test for browser.runtime.connect, fix a few bugs (r=gabor)
2015-09-22 16:09:22 -07:00
Bill McCloskey
eb18231fcc
Bug 1197475 - [webext] Add test for browser.storage.local, fix a few bugs in it (r=gabor)
2015-09-22 16:09:21 -07:00
Bill McCloskey
fa351c11d6
Bug 1202501 - [webext] Clean up WebExtension tests (r=gabor)
...
--HG--
rename : browser/components/extensions/test/browser/browser_extensions_simple.js => browser/components/extensions/test/browser/browser_ext_simple.js
rename : toolkit/components/extensions/test/mochitest/file_contentscript_page1.html => toolkit/components/extensions/test/mochitest/file_sample.html
2015-09-22 16:09:20 -07:00
Bill McCloskey
dc51880f6b
Bug 1199473 - [webext] Fix wrong parameter name for browser.extension.getURL (r=gabor)
2015-09-22 16:09:20 -07:00
Bill McCloskey
48a154e45c
Bug 1201935 - Disable WebExtension tests on MacOS because sandbox breaks them
2015-09-04 09:45:03 -07:00
Bill McCloskey
5417189a5b
Bug 1201377 - [webext] Nuke content script sandbox when page closes (r=gabor)
2015-09-04 09:45:02 -07:00
Bill McCloskey
828a74056a
Bug 1199698 - [webext] Fix chrome.* from content scripts (r=gabor)
2015-09-04 09:45:01 -07:00
Bill McCloskey
d4c8e8942d
Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor)
2015-09-04 09:45:01 -07:00
Bill McCloskey
1a7f006d5a
Bug 1199800 - [webext] Refactoring to support using extensions from chrome tests (r=gabor)
2015-09-04 09:45:00 -07:00
Bill McCloskey
a60d7870e2
Bug 1197437 - [webext] Fix content script run_at parameter (r=gabor)
2015-09-04 09:44:59 -07:00
Carsten "Tomcat" Book
3145bc32e7
Backed out 11 changesets (bug 1201377, bug 1199800, bug 1197437, bug 1199832, bug 1199698, bug 1199842) for breaking browser_ext_tabs_executeScript.js test on a CLOSED TREE
...
Backed out changeset 8d8d73d3c3e1 (bug 1201377)
Backed out changeset 4ed8951e3f54 (bug 1199842)
Backed out changeset 5830178bc008 (bug 1199832)
Backed out changeset 4445c570fe49 (bug 1199698)
Backed out changeset 35fc1e25d167 (bug 1199800)
Backed out changeset 54c4c3bd2454 (bug 1199800)
Backed out changeset bd3112ce6b9b (bug 1199800)
Backed out changeset 701e56e18ca7 (bug 1199800)
Backed out changeset 4407d50a7995 (bug 1199800)
Backed out changeset af2fbe345712 (bug 1199800)
Backed out changeset 0a41d20fcf77 (bug 1197437)
2015-09-04 09:59:34 +02:00
Bill McCloskey
2a80660ea9
Bug 1201377 - [webext] Nuke content script sandbox when page closes (r=gabor)
2015-09-03 20:59:05 -07:00
Bill McCloskey
9ada7e9b9c
Bug 1199698 - [webext] Fix chrome.* from content scripts (r=gabor)
2015-09-03 20:59:04 -07:00
Bill McCloskey
bc0c23104b
Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor)
2015-09-03 20:59:03 -07:00
Bill McCloskey
e416c237da
Bug 1199800 - [webext] Refactoring to support using extensions from chrome tests (r=gabor)
2015-09-03 20:59:01 -07:00
Bill McCloskey
a9349e7383
Bug 1197437 - [webext] Fix content script run_at parameter (r=gabor)
2015-09-03 20:59:01 -07:00
Ryan VanderMeulen
b322af2f98
Bug 1197507 - Skip the WebExtensions tests on B2G due to being perma-timeout and Android already being skipped.
2015-08-25 21:24:03 -04:00
Bill McCloskey
aca8c8dcf3
Bug 1197507 - [webext] Add WebExtension webRequest.* tests (r=gabor,bholley)
2015-08-25 15:14:11 -07:00
Bill McCloskey
2beffb2bfc
Bug 1197507 - [webext] Add initial WebExtension tests (r=gabor,bholley)
2015-08-25 15:14:10 -07:00