Commit Graph

10 Commits

Author SHA1 Message Date
Vinothkumar Nagasayanan
4b5021e1ac Bug 1424023 - Test run time reduced using another new iframe. r=ckerschb 2018-04-10 17:43:16 -04:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kate McKinley
400d720dc9 Bug 1424917 - Remove support for HSTS Priming. r=mayhemer, r=ckerschb
This patch removes support and tests for HSTS priming from the tree.
2018-01-10 11:07:00 -05:00
Kate McKinley
90c8afbeac Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

MozReview-Commit-ID: ES1JruCtDdX
2016-09-27 11:27:00 -04:00
Thomas Nguyen
efd3e0d624 Bug 1276836 - Update and add tests for same-origin, strict-origin, strict-origin-when-cross-origin referrer policy. r=jdm
MozReview-Commit-ID: 9ISKTDHBSHP
2016-09-22 16:27:46 -07:00
Franziskus Kiefer
226c736e16 Bug 1186072 - Add trailing slash to origin referer header when policy is set. r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL
2016-02-24 10:51:54 +01:00
Carsten "Tomcat" Book
29dd823d04 Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures 2016-03-03 09:23:59 +01:00
Franziskus Kiefer
5210f12f91 Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL
2016-02-24 10:51:54 +01:00
Franziskus Kiefer
5ab42d0a59 Bug 1161221 - Split http referrer tests and enable them on all platforms except https on b2g. r=sstamm 2015-05-14 11:07:38 -07:00
Franziskus Kiefer
554b3e5af0 Bug 1163743 - Test changes for changing origin-when-crossorigin to origin-when-cross-origin. r=sstamm 2015-05-11 16:18:05 -07:00