Commit Graph

798 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
9b03bc8f31 Merge mozilla-central to mozilla-inbound 2016-06-17 01:03:05 +01:00
Martin Giger
6e7644edae Bug 1267221 - Add 'error' field to WebNavigation onErrorOccurred details. r=rpl,aswan
MozReview-Commit-ID: HC8Lro9J4XF
2016-06-16 11:23:10 +02:00
Andrew Swan
53da660d2e Bug 1274708 Use Context.jsonStringify() in connectNative r=kmag
MozReview-Commit-ID: J7q49nLg4F3
2016-06-16 10:10:54 -07:00
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
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
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
Carsten "Tomcat" Book
22d6854b1c merge mozilla-inbound to central a=merge 2016-06-10 15:39:23 +02: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
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
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
3d11ccd8c4 merge mozilla-inbound to mozilla-central a=merge 2016-06-03 12:00:06 +02: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
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
Bob Silverberg
be017921a6 Bug 1274559 - Type error for parameter options (Unexpected property "buttons") for notifications.create. r=kmag
MozReview-Commit-ID: FqjXfG2te5J
2016-05-30 14:32:40 -04:00
Andrew Swan
536028776a Bug 1271345 Fix brower.download.download() on blob: urls r=kmag
Calling download() on a blob URL was failing in schema validation
since we weren't propagating the extension principal all the way
to the call to scriptSecurityManager.checkLoadURI...

MozReview-Commit-ID: JgEnQ6yxO4P
2016-05-31 11:42:41 -07: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
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
2972054234 Bug 1260743 - Searching by the url doesn't work. r=aswan, mak
MozReview-Commit-ID: DcqZlwbxsxg
2016-05-11 08:19:22 -04:00
Andrew Swan
21662d08c2 Bug 1272425: disable partial download tests pending bug fix r=me
MozReview-Commit-ID: gMhxn3hFlX
2016-05-12 10:45:57 -07:00
Kris Maglione
988f28027f Bug 1271008: Run all WebExtension tests in e10s mode. r=me
MozReview-Commit-ID: 1fLxHuuFKDV
2016-05-06 16:33:50 -07:00
Luca Greco
9df55445cb Bug 1258347 - [webext] ExtensionContext sub-frames should have the same privileges of the parent window. r=kmag
MozReview-Commit-ID: OfOwD68PEK
2016-05-02 14:13:17 +02:00
Kris Maglione
6efd1844ff Bug 1269871: Wait until background script is ready before starting test. r=me
MozReview-Commit-ID: FqjgaETfF2C
2016-05-03 22:09:33 -07:00
Jared Wein
fea4ee81d0 Bug 1268159 - followup, update some tests that got missed in the conversion from straight quotes to curly quotes and revert the Sync client name change until a follow-up bug can track down the deeper regression. r=me on a CLOSED TREE.
MozReview-Commit-ID: 13k7s3n7jz7
2016-04-29 12:10:34 -04:00
Jork K
d834f125dd Bug 1267612 - Skipping certain web extension related tests for Thunderbird. r=kmag 2016-04-26 14:31:00 +02:00
Bob Silverberg
bd01121a6f Bug 1266824 - Intermittent test_ext_alarms.html | alarm fired within expected time, r=aswan
test_alarm_fires_with_when is failing intermittently and it looks like the function inside the setTimeout (which is designed to detect that the alarm did not fire as expected) is firing, even though the test is passing and the alarm did fire. I added a condition around it so it will only mark the test as failed if the alarm did not in fact fire.

I also did some clean up of the existing tests, including adding this type of logic to all tests that expect an alarm or alarms to have fired.

MozReview-Commit-ID: JlJQVMNn6wV
2016-04-25 17:28:42 -04:00
Sebastian Hengst
30888c5b29 Bug 1203394 - alias alert() to console.log() in background scripts: disable new test which will get fixed in follow-up. r=me 2016-04-25 19:35:04 +02:00
tofumatt
b5fa257c58 Bug 1203394: Skip Android tests for alert() patch. r=Aryx 2016-04-25 17:36:30 +01:00
tofumatt
003a2c58e3 Bug 1203394 - Fix eslint errors in alert() patch. r=Aryx
MozReview-Commit-ID: KRUJflBrkxa
2016-04-25 15:16:32 +01:00
tofumatt
3d3559ea74 bug 1203394: alias alert() to console.log() in background scripts r=kmag
MozReview-Commit-ID: 65m3yVGQhlQ
***
Add test and fix nitpicks to alert() patch
2016-03-22 12:35:31 +00:00
Kris Maglione
cc4de2cd2e Bug 1254194: [webext] Test that content security policies are applied to WebExtension documents. r=aswan
MozReview-Commit-ID: J9EPSdyrlsk
2016-04-14 16:51:23 -07:00
Kris Maglione
f61f60b7e6 Bug 1254194: [webext] Allow extensions to register custom content security policies. r=billm f=aswan
MozReview-Commit-ID: 8L6ZsyDjIpf
2016-04-23 21:29:15 -07:00
Kris Maglione
ec185ce217 Bug 1254194: [webext] Add 'onError' schema option to make manifest errors non-fatal. r=aswan
MozReview-Commit-ID: ByGsO4WFcOU
2016-04-14 16:39:09 -07:00
Kris Maglione
cdea60a0d4 Bug 1254194: Add a validator for custom add-on content security policies. r=billm f=aswan
MozReview-Commit-ID: LtBbXBCFc32
2016-04-23 20:41:14 -07:00