Commit graph

438 commits

Author SHA1 Message Date
Andrew Swan
a011b10df7 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

--HG--
extra : rebase_source : 4f635850018c455074b7ffe15c37dedbaa2ede4d
2016-05-26 20:31:05 -07:00
Claas Augner
3c65a4e758 Bug 1247455 - Add a .removeCSS method to complement .insertCSS. r=kmag 2016-04-15 00:39:09 +02:00
Sebastian Hengst
2575bac27a Backed out changeset 800df6b80dc0 (bug 1265836) 2016-05-26 10:32:41 +02:00
Tim Huang
8ec727cd19 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 288c9cab8340c5cc06861d4f2c7ee43ae4de608e
2016-05-25 11:54:21 +08:00
Bob Silverberg
751592d0c5 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

--HG--
extra : transplant_source : %8B%0D%9ERe%2A%FA%1F%01%B4%A2%BBcCb%EB%8F%8A%A4%09
2016-05-24 09:00:17 -04:00
Christopher Grebs
38131d1b9e Bug 1270306 - [webext] extension.isAllowedFileSchemeAccess should return null. r=kmag 2016-05-24 21:03:46 +02:00
Andy McKay
142be954b1 Bug 1273704 - cope with empty files in localisation r=kmag
MozReview-Commit-ID: 9HiwteAs48b

--HG--
extra : transplant_source : %01v%8E%2B%E2%D3%08%DB%1F%1B%29%86%3C%0A%90%B3E%EA%8E%60
2016-05-18 18:52:22 -07:00
Luca Greco
1c6bc4291a Bug 1273609 - [webext] Support manual_subframe transitionType in webNavigation events details. r=krizsa
MozReview-Commit-ID: F5Z3XppNDYm

--HG--
extra : transplant_source : bF%3A%1A%D3A%13%05p%D9s%B8%AE%ED%F8%9F%0F%E0%0F%CE
2016-05-17 19:08:10 +02:00
Wes Kocher
2596f34110 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
ad550d017f Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 3d8b306dfa83363c01c4db5d018c55fddf6d1595
2016-05-18 20:42:00 -04:00
Bob Silverberg
264a472a5e Bug 1265834 - Part 1: Move normalizeTime from downloads into a shared util. r=aswan
MozReview-Commit-ID: GKWBbvTPbGy

--HG--
extra : transplant_source : %B2B%98%83%DE%8En%03%84%C3%07%B4%AF%060%FF%40%F8%99%C2
2016-05-13 10:18:04 -04:00
Bob Silverberg
6af7005275 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
92282aa3cb 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
d1b3610302 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
e32d7653b2 Bug 1272425: disable partial download tests pending bug fix r=me
MozReview-Commit-ID: gMhxn3hFlX

--HG--
extra : rebase_source : 213b3e8612f8519d700f2e62d4b969c23db7d8a3
2016-05-12 10:45:57 -07:00
Kris Maglione
27f8b02721 Bug 1271008: Run all WebExtension tests in e10s mode. r=me
MozReview-Commit-ID: 1fLxHuuFKDV

--HG--
extra : rebase_source : 68f4b94f98dff76286b45bad72e0570d0bf9d91d
2016-05-06 16:33:50 -07:00
Luca Greco
8c37306332 Bug 1258347 - [webext] ExtensionContext sub-frames should have the same privileges of the parent window. r=kmag
MozReview-Commit-ID: OfOwD68PEK

--HG--
extra : transplant_source : %D6%F1%86ntp%CC%09k%8D%264b%A1D%EC%3F%E2%BAo
2016-05-02 14:13:17 +02:00
Kris Maglione
cbbcfb6099 Bug 1269871: Wait until background script is ready before starting test. r=me
MozReview-Commit-ID: FqjgaETfF2C

--HG--
extra : rebase_source : ded89a9d1ca25b3fa0d35c552a8fc30cdfc85951
2016-05-03 22:09:33 -07:00
Jared Wein
a9e6a477eb 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
376fdaf3e6 Bug 1267612 - Skipping certain web extension related tests for Thunderbird. r=kmag 2016-04-26 14:31:00 +02:00
Bob Silverberg
f2fe40405a 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

--HG--
extra : amend_source : f0a37030b717390a7ae8b87ef3aef68cc747c14d
2016-04-25 17:28:42 -04:00
Bob Silverberg
9e750f2383 Bug 1265716 - Don't try to emit notification events if the extension has been unloaded, r=aswan
MozReview-Commit-ID: GBdf7bzEFpa

--HG--
extra : transplant_source : %EF%C4%23V%0AX3%B5se%ACM%1F4%83%1B%1E%99%E0%B1
2016-04-18 14:49:38 -04:00
Sebastian Hengst
b73944a73e 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
0511a60fd8 Bug 1203394: Skip Android tests for alert() patch. r=Aryx 2016-04-25 17:36:30 +01:00
tofumatt
b5aa4919a7 Bug 1203394 - Fix eslint errors in alert() patch. r=Aryx
MozReview-Commit-ID: KRUJflBrkxa
2016-04-25 15:16:32 +01:00
tofumatt
efbcce4925 bug 1203394: alias alert() to console.log() in background scripts r=kmag
MozReview-Commit-ID: 65m3yVGQhlQ
***
Add test and fix nitpicks to alert() patch

--HG--
extra : rebase_source : 4b5ec2a09bce49bca6c419b2ece59160c282da94
2016-03-22 12:35:31 +00:00
Carsten "Tomcat" Book
84eb46bafd merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : toolkit/components/prompts/test/test_bug861605.html => toolkit/components/prompts/test/test_dom_prompts.html
2016-04-25 11:55:12 +02:00
Andrew Swan
62cd781780 Bug 1262005 - Rework how WebExtensions IDs are determined. r=rhelmer
MozReview-Commit-ID: 37EujfhGh0U

--HG--
extra : rebase_source : 3ac03fc02f618e149ffecc26678ac25914bb8358
2016-04-06 07:30:51 -07:00
Sebastian Hengst
4fe4fab457 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
a07f9156ee Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext. r=kmag
MozReview-Commit-ID: HQ9cmZMhn1o

--HG--
extra : amend_source : e522a3168512738a0fa0873ac1b25e41b8e8b527
extra : transplant_source : %0D%A7E%1F%C8%A8%24%85%96%8D%D4%11%96%0B%FCUz%C3%1C%C5
2016-04-08 10:19:19 -04:00
Luca Greco
7eb008c009 Bug 1261857 - [webext] Support WebExtensions ContentScripts in the Tab DevTools Debugger. r=kmag
MozReview-Commit-ID: BtGqvAkRJZx

--HG--
extra : transplant_source : %FF%82%A5%3B%AE%9Ck%0C%07%B6%224%93%B9%F1%995%DF%A1.
2016-04-15 17:09:57 +02:00
bsilverberg
3f4dee674c Bug 1260528 - Tests for notifications that pass an iconUrl are causing leaks, r=kmag
MozReview-Commit-ID: KHdxEfc3OAG

--HG--
extra : transplant_source : %DC%20%92%D4%8B%13%BC%95%03t%A0%DA%A2%60%8Bh%C0%AA%DA%9D
2016-03-31 12:27:52 -04:00
Mark Striemer
e34df7b9a1 bug 1245606 - Implement chrome.downloads.getFileInfo r=kmag
MozReview-Commit-ID: 6dfpctduYtp

--HG--
extra : transplant_source : %F4%B1%1AD%92%A7%B0.%26%83%AB%D8%D5%11%A0%A4%24%A7%82T
2016-04-15 16:08:16 -05:00
Bob Silverberg
12f6f37ec3 Bug 1207394 - Make sure web_accessible_resources work with CSP/mixed content blocking, r=kmag
MozReview-Commit-ID: 7UJ1IHwMosh

--HG--
extra : transplant_source : R%A0F%AAOcn%92%2C%10%B3%09%A2%99J%EF%FE%EFy%8C
2016-04-11 18:08:54 -04:00
Bob Silverberg
171756faf0 Bug 1264623 - Allow for a leading slash in the path to web_accessible_resources, r=kmag
MozReview-Commit-ID: IWbzhs9dpX2

--HG--
extra : transplant_source : j%F5%0E%AAW%F87ijJ%14%26%08%F9%03%96%5Dw%EC%23
2016-04-14 09:12:21 -04:00
Luca Greco
fcdfd59cc8 Bug 1256652 - [webext] Add more tests on sub-frames WebNavigation transitions properties. r=krizsa
MozReview-Commit-ID: 8hjFmyfpXkR

--HG--
extra : transplant_source : zn%89S%9C%F9%A3%EA%3EZ%D3%AD%25%CCG%29%60%99%1F1
2016-04-15 14:53:16 +02:00
Luca Greco
32c8c2f2b7 Bug 1256652 - [webext] Add webNavigation client_redirect transitions implementation and test case. r=krizsa
MozReview-Commit-ID: DoDzXCuk4FQ

--HG--
extra : transplant_source : 9gb%BC9I%B7%B2%2C%3E%17%22%D6%84%04%13%22%1C%15P
2016-04-14 20:27:16 +02:00
Luca Greco
dc5fd2506d Bug 1256652 - [webext] Add webNavigation form_submit transitions implementation and test case. r=krizsa
MozReview-Commit-ID: GiMnQpCpHHm

--HG--
extra : transplant_source : %E5%02vk%3B%95%FC%D8%FF%8AC%E4%A6%A5e_%B4.%EA%DA
2016-04-15 14:50:27 +02:00
Luca Greco
94d2a46537 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

--HG--
extra : transplant_source : 0%B6%F4DE%80%B6%CA%9B%09%81%1C%16%96%F6%C0%1FC%B0%F9
2016-04-15 14:49:13 +02:00
Kris Maglione
402c072ef3 Bug 1196283: [webext] Support comments in JSON files. r=aswan
MozReview-Commit-ID: Ex4ewLH8xQc

--HG--
extra : rebase_source : 5171c92d8e9806c343a2c8b74038e70c072a546e
2016-04-19 13:18:22 -07:00
Wes Kocher
3d63ab4573 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
d0c0684cc7 Bug 1263637 - Fix eslint 2 warnings for WebExtensions code. r=kmag
MozReview-Commit-ID: CNLX3xjIoNV

--HG--
extra : transplant_source : T%82%29%1A%0C.%D6%859%EF%F7c%99%84_%BF%90%1C%FCJ
2016-04-18 09:08:05 -04:00
Bob Silverberg
38f77c7856 Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext, r=kmag
MozReview-Commit-ID: KI2IbQ2KR2i

--HG--
extra : transplant_source : 5Q%A7%15%A2%C4%87%AF%F8%DD%1B%9D%CB%08t%C7%AE%3E%D8%AA
2016-04-08 10:19:19 -04:00
Luca Greco
0f06eace5d Bug 1246125 - [webext] webNavigation events should not resolve local special schemes into file/jar URLs. r=krizsa
- chrome, resource, about and moz-extension URLs should not be reported with their resolved
  file or jar URLs

MozReview-Commit-ID: H03rjxGpgOZ

--HG--
extra : transplant_source : %FA%B3%14%05%0A%CB%F8%CFG%D4%8Br%D2PH%F1%F1%87%CE%B9
2016-04-07 00:04:23 +02:00
Kris Maglione
5ddfedd1cc Bug 1248846: [webext] Test that event callbacks and promises do not fire later than expected. r=aswan
MozReview-Commit-ID: 4fpHc22txy

--HG--
extra : rebase_source : 24ddf22e1f273f753adcd7962f9262919e30b69c
2016-04-05 08:59:47 -07:00
Luca Greco
540c822fb6 Bug 1262794 - [webext] webNavigation refactoring and fix missing onCommitted event on iframes loading. r=krizsa
MozReview-Commit-ID: JSZFCWr2WNk

--HG--
extra : transplant_source : 9%95%7E%B9Yzo%ED%29%DAX%C5%9F%8B%91%13%B5%A4B%AE
2016-04-07 03:00:26 +02:00
Kris Maglione
c4861004a5 Bug 1248846: [webext] Don't call callbacks after a context is destroyed. r=aswan
MozReview-Commit-ID: 5O2YKGONODH

--HG--
extra : rebase_source : 66a5b5f51ce841fdfad28542daee7802e316e2d1
2016-04-04 14:14:35 -07:00
Carsten "Tomcat" Book
481de63480 Backed out changeset 7b9fbf34a1d6 (bug 1263167) for test failures in test_ext_extension.html 2016-04-15 09:19:39 +02:00
Bob Silverberg
7b817e43c0 Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext, r=kmag
MozReview-Commit-ID: AQYqJFB1WR3

--HG--
extra : transplant_source : A%12%86%D2%BAZ%E8%F5P8%FD%29%D3%16%20%8Dp8%D4x
2016-04-08 10:19:19 -04:00
Johann Hofmann
1c76cac853 Bug 1005193 - Allow addons to specify a custom global debug context. r=mossop 2016-04-11 08:26:20 +02:00