Commit Graph

478 Commits

Author SHA1 Message Date
Andrew Swan
48c0798a2b Bug 1274708 Add BaseContext.jsonStringify() r=kmag
MozReview-Commit-ID: E4F1e8hDA5a
2016-06-16 08:30:58 -07:00
Carsten "Tomcat" Book
1b09eb4986 Merge mozilla-central to fx-team 2016-06-15 06:25:33 +01:00
Carsten "Tomcat" Book
f534c4c4e7 merge mozilla-inbound to mozilla-central a=merge 2016-06-15 06:24:33 +01:00
Carsten "Tomcat" Book
342c5bdb1b Backed out changeset 5e6356e7a99e (bug 1270742) for eslint test failures 2016-06-15 01:29:04 +01:00
Bob Silverberg
fde6f9ee52 Bug 1277686 - Issue a warning for manifests with any "incognito" property other than "spanning", r=kmag
MozReview-Commit-ID: BNxyv30TGDZ
2016-06-09 08:16:18 -04:00
Andrew Swan
586761bbfc Bug 1270359 Implement connectNative on windows r=kmag
MozReview-Commit-ID: IHJuGt2Us8e
2016-06-09 15:10:54 -07:00
Matthew Wein
78226ba910 Bug 1270742 - Add support for default_icon in chrome.pageAction. r=kmag
MozReview-Commit-ID: D9uR0JUXJwx
2016-05-23 15:59:33 -07:00
Kris Maglione
843973aa31 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03 Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout 2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Luca Greco
21f7d278a5 Bug 1242522 - [webext] Test UrlFilter on WebNavigation event listeners. r=kmag
MozReview-Commit-ID: FxAYXCHjlUD
2016-06-09 16:12:20 +02:00
Luca Greco
d741338096 Bug 1242522 - [webext] Implement optional UrlFilter on WebNavigation event listeners. r=kmag
MozReview-Commit-ID: 7tVgBhgDwfM
2016-06-07 17:33:29 +02:00
Luca Greco
453f50447b Bug 1242522 - [webext] Add WebNavigation's UrlFilter to the json schema. r=kmag
web_navigation.json was using a custom "filter" attribute which seems to add an implicit
optional extra parameter.

As we already support a similar feature for the web_request.json, which declares the
optional event filter as an explicit "extraParameters", which is already supported,
this patch adds the "events.UrlFilter" definition and turns all the "filter" attributes
into "extraParameters".

MozReview-Commit-ID: IDKCkKV67xh
2016-06-07 17:32:15 +02:00
Luca Greco
2d878b557a Bug 1242522 - [webext] Import missing events API schema file. r=kmag
MozReview-Commit-ID: HgQJTfwb5w0
2016-04-25 16:02:19 +02:00
Carsten "Tomcat" Book
22d6854b1c merge mozilla-inbound to central a=merge 2016-06-10 15:39:23 +02:00
Kris Maglione
635b5424ac Bug 1279078: Fix race in uninstall listener handling. r=trivial
MozReview-Commit-ID: 8NhtoWOzRng
2016-06-09 16:02:39 -07:00
Kris Maglione
975a0065a1 Bug 1271785: [webext] Better error messages for "choices" schema types. r=aswan
The generated messages are still a bit rough in some instances, but they're at
least much better than what we have now.

MozReview-Commit-ID: gTS0RvDnwk
2016-06-04 23:31:35 -07:00
Kris Maglione
4a1342c9e6 Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
MozReview-Commit-ID: EZpOyvoi2h0
2016-06-07 18:36:19 -07:00
Kris Maglione
403332897f Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4
2016-06-02 20:53:41 -07:00
Wes Kocher
ef8b093de7 Backed out changeset 99b213f494e1 (bug 1276025) for xpcshell bustage CLOSED TREE 2016-06-07 16:59:20 -07:00
Kris Maglione
3b83db606e Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4
2016-06-02 20:53:41 -07:00
Kris Maglione
2b1843d7c4 Bug 1265834: Follow-up: Fix JSDoc syntax. r=trivial DONTBUILD
MozReview-Commit-ID: HC2Vw3eNvlD
2016-06-07 12:53:32 -07:00
Andrew Swan
a99551f0b8 Bug 1270357 Implement runtime.connectNative() r=kmag
MozReview-Commit-ID: Fo4BxEo3xus
2016-06-08 20:23:40 -07:00
Carsten "Tomcat" Book
5e6211061e merge mozilla-inbound to mozilla-central a=merge 2016-06-07 15:23:03 +02:00
Andrew Swan
308f5c30d2 Bug 1270356 Part 2: Implement parsing and validation of native host manifests r=kmag
MozReview-Commit-ID: 3aXlBAgV4ti
2016-05-17 15:17:52 -07:00
Andrew Swan
66950a7ba7 Bug 1270356 Part 1: Add native messaging paths to XRE directory provider r=kmag
MozReview-Commit-ID: 2tjR3r9YySy
2016-05-12 11:39:27 -07:00
Kris Maglione
5733f5d87b Bug 1274559: Follow-up: Remove spurious CR characters. DONTBUILD
MozReview-Commit-ID: 2uJ1JnTCYJX
2016-06-05 19:35:00 -07:00
Kris Maglione
e2543e0554 Bug 1269141: Remove content script CSS when disabling an extension. r=aswan
MozReview-Commit-ID: Jhg4XzddIkA
2016-06-04 21:42:55 -07:00
Kris Maglione
fbe0dfe564 Bug 1256607: Support cross-origin fetch() access in WebExtension content scripts. r=aswan
MozReview-Commit-ID: Aw1LSMY3BAW
2016-06-04 20:31:13 -07:00
Kris Maglione
63cafec28c Bug 1267328: Re-enable the background script alert tests. r=trivial
MozReview-Commit-ID: 4YScHAmRaMf
2016-06-04 21:21:09 -07:00
Carsten "Tomcat" Book
e135d40825 Merge mozilla-central to fx-team 2016-06-03 12:40:11 +02:00
Carsten "Tomcat" Book
3d11ccd8c4 merge mozilla-inbound to mozilla-central a=merge 2016-06-03 12:00:06 +02:00
Bob Silverberg
dfbb8f8934 Bug 1275165 - notifications.onClicked not being triggered, r=kmag
Change the value of the textClickable argument passed into nsIAlertsService.showAlertNotification to be `true`

MozReview-Commit-ID: 7BqwUnt8ZK3
2016-06-01 23:42:04 -04:00
Bob Silverberg
a1b4a14e81 Bug 1276338 - chrome.runtime.id is undefined in content scripts, r=kmag
MozReview-Commit-ID: BXqB1rW9DzB
2016-05-31 11:55:30 -04:00
Bob Silverberg
08dacfe046 Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext, r=kmag
MozReview-Commit-ID: HQ9cmZMhn1o
2016-04-08 10:19:19 -04:00
Carsten "Tomcat" Book
68d9ffe05e merge mozilla-inbound to mozilla-central a=merge 2016-05-30 15:29:19 +02:00
Bob Silverberg
d32c3a7f3f Bug 1275363 - Fix ext-notifications.js, line 59: TypeError: this is undefined, r=kmag
MozReview-Commit-ID: j6G1dXvoXQ
2016-05-29 17:23:57 -07:00
Andrew Swan
9e09af0b5b Bug 1272425 Fix downloads misc tests r=kmag
See the bug for extended discussion, trying to fix this with re-used
URLs doesn't seem practical so just use unique URLs for partial downloads.

MozReview-Commit-ID: FdS4XroVUqj
2016-05-26 20:31:05 -07:00
Claas Augner
1737833daa Bug 1247455 - Add a .removeCSS method to complement .insertCSS. r=kmag 2016-04-15 00:39:09 +02:00
Sebastian Hengst
b169ca896f Backed out changeset 800df6b80dc0 (bug 1265836) 2016-05-26 10:32:41 +02:00
Tim Huang
f3c87ef67d Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-25 11:54:21 +08:00
Bob Silverberg
e903af75a7 Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
Also update browser.history.deleteRange to use normalizeTime

MozReview-Commit-ID: EQ3NLSIRTe8
2016-05-24 09:00:17 -04:00
Christopher Grebs
808b6b1f3c Bug 1270306 - [webext] extension.isAllowedFileSchemeAccess should return null. r=kmag 2016-05-24 21:03:46 +02:00
Andy McKay
c425e12f3b Bug 1273704 - cope with empty files in localisation r=kmag
MozReview-Commit-ID: 9HiwteAs48b
2016-05-18 18:52:22 -07:00
Luca Greco
a2252672a6 Bug 1273609 - [webext] Support manual_subframe transitionType in webNavigation events details. r=krizsa
MozReview-Commit-ID: F5Z3XppNDYm
2016-05-17 19:08:10 +02:00
Wes Kocher
18fc6fa5e3 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Tim Huang
0a60cbfed3 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-18 20:42:00 -04:00
Bob Silverberg
52bfc3f194 Bug 1265834 - Part 1: Move normalizeTime from downloads into a shared util. r=aswan
MozReview-Commit-ID: GKWBbvTPbGy
2016-05-13 10:18:04 -04:00
Bob Silverberg
7f5d1a2873 Bug 1265797 - WebExtensions Notification observer should not remove the notificationId on alertshow. r=aswan
MozReview-Commit-ID: 4RGVdSrF4OU
2016-05-10 12:14:44 -04:00
Luca Greco
73f3f127b7 Bug 1263723 - [webext] Track awesomebar user interaction for webNavigation transition types and qualifiers. r=krizsa
- introducing tabTransitionData in the webNavigation internals
- listen for the "autocomplete-did-enter-text" topic notified on the observer service
- add support to from_address_bar transition qualifier and auto_bookmark/keyword/generated transition types

MozReview-Commit-ID: 7krQiJlnc1d
2016-05-09 18:24:53 +02:00