Commit Graph

446 Commits

Author SHA1 Message Date
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
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
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
Bob Silverberg
1a7d79421b 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
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
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
Bob Silverberg
3f41807961 Bug 1265716 - Don't try to emit notification events if the extension has been unloaded, r=aswan
MozReview-Commit-ID: GBdf7bzEFpa
2016-04-18 14:49:38 -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
Carsten "Tomcat" Book
7e879bbd62 merge mozilla-inbound to mozilla-central a=merge 2016-04-25 11:55:12 +02:00
Andrew Swan
a1f28568f2 Bug 1262005 - Rework how WebExtensions IDs are determined. r=rhelmer
MozReview-Commit-ID: 37EujfhGh0U
2016-04-06 07:30:51 -07:00
Sebastian Hengst
904c3018c8 Backed out changeset 2c6f68832171 (bug 1263167) for e10s mochitest failure test_ext_runtime_connect.html | TypeError: win is null. r=backout 2016-04-21 19:59:16 +02:00
Bob Silverberg
5caa8ab6be Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext. r=kmag
MozReview-Commit-ID: HQ9cmZMhn1o
2016-04-08 10:19:19 -04:00
Luca Greco
1daaa04fc1 Bug 1261857 - [webext] Support WebExtensions ContentScripts in the Tab DevTools Debugger. r=kmag
MozReview-Commit-ID: BtGqvAkRJZx
2016-04-15 17:09:57 +02:00
bsilverberg
905d7fbffe Bug 1260528 - Tests for notifications that pass an iconUrl are causing leaks, r=kmag
MozReview-Commit-ID: KHdxEfc3OAG
2016-03-31 12:27:52 -04:00
Mark Striemer
6f2b028bb4 bug 1245606 - Implement chrome.downloads.getFileInfo r=kmag
MozReview-Commit-ID: 6dfpctduYtp
2016-04-15 16:08:16 -05:00
Bob Silverberg
27a3863b54 Bug 1207394 - Make sure web_accessible_resources work with CSP/mixed content blocking, r=kmag
MozReview-Commit-ID: 7UJ1IHwMosh
2016-04-11 18:08:54 -04:00
Bob Silverberg
5cebf4f9f1 Bug 1264623 - Allow for a leading slash in the path to web_accessible_resources, r=kmag
MozReview-Commit-ID: IWbzhs9dpX2
2016-04-14 09:12:21 -04:00
Luca Greco
e1e7ea3b9d Bug 1256652 - [webext] Add more tests on sub-frames WebNavigation transitions properties. r=krizsa
MozReview-Commit-ID: 8hjFmyfpXkR
2016-04-15 14:53:16 +02:00
Luca Greco
923144d689 Bug 1256652 - [webext] Add webNavigation client_redirect transitions implementation and test case. r=krizsa
MozReview-Commit-ID: DoDzXCuk4FQ
2016-04-14 20:27:16 +02:00
Luca Greco
40288df697 Bug 1256652 - [webext] Add webNavigation form_submit transitions implementation and test case. r=krizsa
MozReview-Commit-ID: GiMnQpCpHHm
2016-04-15 14:50:27 +02:00
Luca Greco
9f864a0e47 Bug 1256652 - [webext] Initial support of webNavigation transition types and qualifiers. r=krizsa
- transition types: reload, link, auto_subframe
- transition qualifiers: forward_back, server_redirect

MozReview-Commit-ID: Bx3oG2fuWuv
2016-04-15 14:49:13 +02:00
Kris Maglione
f012f3c36f Bug 1196283: [webext] Support comments in JSON files. r=aswan
MozReview-Commit-ID: Ex4ewLH8xQc
2016-04-19 13:18:22 -07:00
Wes Kocher
45f4268f0c Backed out changeset 0e7e5f7ecc07 (bug 1263167) for test_ext_extension.html failures
MozReview-Commit-ID: KSNKXcXwtyC
2016-04-19 14:27:39 -07:00
Bob Silverberg
2199a9f406 Bug 1263637 - Fix eslint 2 warnings for WebExtensions code. r=kmag
MozReview-Commit-ID: CNLX3xjIoNV
2016-04-18 09:08:05 -04:00