Christoph Kerschbaumer
920a60992c
Bug 1458504 - Move Tokenizer into it's own file so it can be shared by the CSP Parser and the Feature Policy Parser. r=jkt
2018-05-02 16:36:51 +02:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
vinoth
4220b1f019
Bug 1439330 - Test added to check if eval is blocked if 'strict-dynamic' is enabled. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D1011
2018-05-07 15:01:22 -04:00
vinoth
ea1f6cdedb
Bug 1439330 - Condition added to block eval if only strict-dynamic is present without unsafe-eval keyword. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D859
2018-05-07 14:59:51 -04:00
Tom Schuster
5a642e8bf6
Bug 1458449 - Allow FTP subresource in FTP documents. r=ckerschb
...
--HG--
extra : rebase_source : 035bd3782abb6deeff4aaf1d227ce7197f9234a6
2018-05-02 13:32:08 +02:00
Cristina Coroiu
09f2e3f364
Bug 1353608 - Disabled test_frameNavigation.html on Win7 and Win10. r=jmaher
...
--HG--
extra : histedit_source : e020d87a947376884dae2e796ed1b7b7f50f31da
2018-04-29 00:04:00 +03:00
Kartikaya Gupta
fc66c485b6
Bug 1456882 - Enable some passing mochitests on linux64-qr. r=jrmuizel
...
MozReview-Commit-ID: 5VIHjwx6A2j
--HG--
extra : rebase_source : d986028cff52ba52a58887225e272bf04ad88de3
2018-04-25 11:29:07 -04:00
Brindusan Cristian
59f801793b
Merge inbound to mozilla-central. a=merge
2018-04-25 00:50:59 +03:00
Christoph Kerschbaumer
e45c9ffe52
Bug 1456407: Add test for same site cookies using a meta refresh. r=mgoodwin
...
--HG--
extra : rebase_source : ac0ef378dbd480ecd4fdaca6ef6d4a4c2da374f1
2018-04-24 11:08:00 +02:00
Ben Kelly
be5f3caad5
Bug 1422710 Block opaque tainted requests that do not follow redirects. r=ckerschb
2018-04-23 09:43:36 -07:00
Jonathan Kingston
0d79353b7d
Bug 1439425 - Ignore empty CSP directives. r=ckerschb
...
MozReview-Commit-ID: 67Ach2vCs8A
--HG--
rename : dom/security/test/csp/file_self_none_as_hostname_confusion.html => dom/security/test/csp/file_empty_directive.html
rename : dom/security/test/csp/file_self_none_as_hostname_confusion.html^headers^ => dom/security/test/csp/file_empty_directive.html^headers^
rename : dom/security/test/csp/test_self_none_as_hostname_confusion.html => dom/security/test/csp/test_empty_directive.html
extra : rebase_source : 1270d3d1aa8d53389e8708d29d2e363e52c02029
2018-03-06 18:48:26 -08:00
Cosmin Sabou
e9186f7449
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
2018-04-20 01:38:32 +03:00
Kris Maglione
f1f4e87948
Bug 1454813: Part 1b - Stop automatically exposing Task singleton to browser tests. r=florian
...
Now that Task.jsm is deprecated and add_task no longer accepts generators, it
doesn't make sense to continue making this automatically available in test
scopes.
MozReview-Commit-ID: AckO5nnFngG
--HG--
extra : rebase_source : 826b7cce67d9ab000d6385663c543bc72eef174b
2018-04-19 14:52:47 -07:00
Francois Marier
708b70167e
Bug 1455162 - Test about: URLs with and without same-site.enabled. r=ckerschb
...
MozReview-Commit-ID: Wi8SXkGIci
--HG--
extra : rebase_source : 88305c0be0117e538bd996626aace14a5a952749
2018-04-18 17:01:01 -07:00
Dorel Luca
12b47687b7
Merge mozilla-central to mozilla-inbound. CLOSED TREE
2018-04-18 14:09:24 +03:00
Coroiu Cristina
374b919ce6
Merge inbound to mozilla-central a=merge
2018-04-18 13:44:22 +03:00
Christoph Kerschbaumer
0d9a8521e4
Bug 1454721 - Add same-site cookie test for about:blank and about:srcdoc. r=dveditz
2018-04-18 10:27:28 +02:00
Christoph Kerschbaumer
e9579ce027
Bug 1454027 - Test SameSite cookie handling inside iframes.r=mgoodwin
2018-04-17 18:26:15 +02:00
Bobby Holley
3f98737f56
Bug 1454460 - Hoist SRI helper into Loader.cpp. r=bz
...
MozReview-Commit-ID: 2wgVAJDgHDl
2018-04-17 16:27:09 -07:00
Bobby Holley
055086766b
Bug 1454460 - Buffer the potentially-BOM-related bytes separately and handle them on the fly. r=bz
...
MozReview-Commit-ID: 5zrKyadBppO
2018-04-17 16:27:08 -07:00
shindli
805cb19c1d
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-17 01:45:58 +03:00
Christoph Kerschbaumer
4faa99b475
Bug 1454242: Test samesite cookie on top-level page from cross-origin context. r=mgoodwin
2018-04-16 08:51:33 +02:00
Christoph Kerschbaumer
15cc8023f7
Bug 1453814: Test redirects and same-site cookies. r=mgoodwin on a CLOSED TREE
...
--HG--
extra : source : 86a4c50c98f64dd8b86900274147e7ca2855e586
extra : amend_source : 299c2c905d56933681fa4445e6f76c7b473998f5
2018-04-13 15:42:12 +02:00
Andreea Pavel
c98766975d
Backed out 2 changesets (bug 1453814) for failing dom/base/test/chrome/test_bug884693.xul on a CLOSED TREE
...
Backed out changeset 86a4c50c98f6 (bug 1453814)
Backed out changeset 4d37ff0c232e (bug 1453814)
2018-04-13 20:19:39 +03:00
Christoph Kerschbaumer
804d7c0625
Bug 1453814: Test redirects and same-site cookies. r=mgoodwin
2018-04-13 15:42:12 +02:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Christoph Kerschbaumer
d8d0197f4e
Bug 1452496: Test for discarding same-site cookies using inline scripts in cross origin context. r=mgoodwin
2018-04-12 12:53:48 +02:00
Christoph Kerschbaumer
3117bd6483
Bug 1452496: Test for discarding same-site cookie in cross site context. r=mgoodwin
2018-04-12 12:53:33 +02:00
Andreea Pavel
29ba7b4974
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-04-11 17:40:37 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Gurzau Raul
719a001ee1
Backed out 2 changesets (bug 1452496) for bustage on build/src/netwerk/test/TestNamedPipeService.cpp on a CLOSED TREE
...
Backed out changeset 071ecf5e3680 (bug 1452496)
Backed out changeset 8bf36c469e22 (bug 1452496)
2018-04-10 19:22:01 +03:00
Christoph Kerschbaumer
818bd556c8
Bug 1452496: Test for diiscarding same-site cookie in cross site context. r=mgoodwin
2018-04-10 17:18:04 +02:00
Francois Marier
8ac645b0cd
Bug 1452699 - Add a temporary pref to disable same-site cookies. r=ckerschb,valentin
...
MozReview-Commit-ID: LRnaSmdSgVW
--HG--
extra : rebase_source : 9dd301f4d49b0fe6f81531d81bac2466032cc3a3
2018-04-13 18:52:28 -07:00
Francois Marier
b3433d151f
Bug 1452699 - Work-around caching issues in test_same_site_cookies_*. r=ckerschb
...
MozReview-Commit-ID: cTH2uyPMTA
--HG--
extra : rebase_source : e17cf902fe4df3fb209805f02838a0c01ab032be
2018-04-13 18:49:58 -07:00
Gijs Kruitbosch
f6a05ddbd5
Bug 1427726 - remove support for remote JAR files, r=michal
...
MozReview-Commit-ID: H7aaTmj3FI1
--HG--
rename : modules/libjar/test/mochitest/bug403331.zip => modules/libjar/test/mochitest/bug1173171.zip
rename : modules/libjar/test/mochitest/bug403331.zip^headers^ => modules/libjar/test/mochitest/bug1173171.zip^headers^
extra : rebase_source : 30a8e937840bbfed5fe7e66202a5d2893b19c037
2018-02-07 13:54:39 +00:00
Andreea Pavel
f9b34d3781
Backed out 5 changesets (bug 1427726) for failing linux asan at modules/libjar/test/unit/test_bug407303.js on a CLOSED TREE
...
Backed out changeset ee9abd6f1ba5 (bug 1427726)
Backed out changeset b1b76f9dff73 (bug 1427726)
Backed out changeset f41cf7811770 (bug 1427726)
Backed out changeset cb35e7b10235 (bug 1427726)
Backed out changeset 753ece6c9f1b (bug 1427726)
--HG--
rename : modules/libjar/test/mochitest/bug1173171.zip => modules/libjar/test/mochitest/bug403331.zip
rename : modules/libjar/test/mochitest/bug1173171.zip^headers^ => modules/libjar/test/mochitest/bug403331.zip^headers^
2018-04-11 12:46:20 +03:00
Gijs Kruitbosch
1f5038413e
Bug 1427726 - remove support for remote JAR files, r=michal
...
MozReview-Commit-ID: H7aaTmj3FI1
--HG--
rename : modules/libjar/test/mochitest/bug403331.zip => modules/libjar/test/mochitest/bug1173171.zip
rename : modules/libjar/test/mochitest/bug403331.zip^headers^ => modules/libjar/test/mochitest/bug1173171.zip^headers^
extra : rebase_source : 0fbe2ed07a3ccdb3693973e966e1ea3e43dd1623
2018-02-07 13:54:39 +00:00
Tom Schuster
b0dadb57b5
Bug 1452701 - Add pref to allow FTP subresources. r=ckerschb
...
--HG--
extra : rebase_source : 571060a866cc46ab253b0718d33dcbbd0f7e0a87
2018-04-09 21:07:01 +02:00
Christoph Kerschbaumer
1c93e06911
Bug 1286861: Add tests for same site top-level. r=mgoodwin
2018-04-08 19:53:08 +02:00
Christoph Kerschbaumer
fc9d4babcc
Bug 1286861: Add tests for same site subrequests. r=mgoodwin
2018-04-08 19:52:49 +02:00
Tom Schuster
b12501054b
Bug 1404744 - Check for FTP subresource after applying CSP. r=ckerschb
...
--HG--
extra : rebase_source : 642ba0d40d6b1d2e7ef85fdc52dffa72b5a24f5b
extra : histedit_source : 117afa5310977211fd18007e5ed7d2991a8b8837
2018-04-06 00:27:02 +02:00
Boris Zbarsky
4292bca4ee
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Tom Schuster
f2161b8a15
Bug 1404744 - Simple sub-resource only test. r=ckerschb
...
--HG--
extra : rebase_source : b9f35ec37ae00eb4c3a8d3fbcb3eb0e488351527
2018-04-01 20:07:06 +02:00
Tom Schuster
8e3324212f
Bug 1404744 - Block loading FTP as a subresource everywhere. r=ckerschb
...
--HG--
extra : rebase_source : 479f1b7f55c3133c7f46c1a343a394fef15e9f59
2018-03-26 21:05:08 +02:00
Jonathan Kingston
27171aed4f
Bug 1236222 - CSP: Blocked URI should be empty for inline violations. r=ckerschb
...
MozReview-Commit-ID: 6bMAVJl9RTG
--HG--
extra : rebase_source : e2cceb777ac659f7fd1a84f6d8408dc7e7179a35
2018-03-08 16:23:03 -08:00
Dave Townsend
e2dffad4ac
Bug 1448500: Add speculative request content policy type. r=bz, r=kmag
...
Adds a new TYPE_SPECULATIVE to nsIContentPolicy uses it as the type for
speculative connection channels from the IO service. I believe I've added it to
all the content policies in tree to make sure it behaves the same as TYPE_OTHER
used to.
The webextension test shows that the webextension proxy API sees speculative
lookups requested through the IO service.
MozReview-Commit-ID: DQ4Kq0xdUOD
--HG--
extra : rebase_source : d9460fdac118bc68f0db79749a16f181b580f2e7
2018-03-23 15:27:08 -07:00
Emilio Cobos Álvarez
109ffb9beb
Bug 1420680: Remove the mechanism to buffer CSP violations. r=bz
...
With the previous patch it's unused.
MozReview-Commit-ID: 4EKufeNu0Jz
2018-04-03 16:22:51 +02:00
vinoth
c6574d2c99
Bug 1400487 - Move img src declaration after onload and onerror declaration in file_meta_element.html. r=ckerschb
2018-03-29 15:22:53 -04:00
Christoph Kerschbaumer
4197b7d96d
Bug 1439713 - Update tests relying on nsIContentPolicy. r=bz
2018-03-29 11:14:58 +02:00
Christoph Kerschbaumer
a929955d1f
Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz
2018-03-29 12:16:23 +02:00