Bug 1310307 - Disable HSTS priming in some mixed content tests where it causes a bogus request, a=testonly
authorJames Graham <james@hoppipolla.co.uk>
Thu, 01 Dec 2016 22:40:06 +0000
changeset 325127 b03bd6dc3d8fc7cff3b9f9ffbade5fca97baea63
parent 325126 ad869ab08f361410311b75b33347035733ba93a3
child 325128 ce3b7997c1398c73a03a6bf88d55a3f9368b0259
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewerstestonly
bugs1310307
milestone53.0a1
Bug 1310307 - Disable HSTS priming in some mixed content tests where it causes a bogus request, a=testonly MozReview-Commit-ID: 7wWbT7Ly7z
testing/web-platform/meta/mixed-content/blockable/no-opt-in/cross-origin-http/picture-tag/top-level/no-redirect/no-opt-in-blocks.https.html.ini
testing/web-platform/meta/mixed-content/optionally-blockable/no-opt-in/cross-origin-http/link-prefetch-tag/top-level/keep-scheme-redirect/no-opt-in-allows.https.html.ini
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/mixed-content/blockable/no-opt-in/cross-origin-http/picture-tag/top-level/no-redirect/no-opt-in-blocks.https.html.ini
@@ -0,0 +1,1 @@
+prefs: [security.mixed_content.send_hsts_priming:false, security.mixed_content.use_hsts:false]
--- a/testing/web-platform/meta/mixed-content/optionally-blockable/no-opt-in/cross-origin-http/link-prefetch-tag/top-level/keep-scheme-redirect/no-opt-in-allows.https.html.ini
+++ b/testing/web-platform/meta/mixed-content/optionally-blockable/no-opt-in/cross-origin-http/link-prefetch-tag/top-level/keep-scheme-redirect/no-opt-in-allows.https.html.ini
@@ -1,6 +1,7 @@
 [no-opt-in-allows.https.html]
   type: testharness
+  prefs: [security.mixed_content.send_hsts_priming:false, security.mixed_content.use_hsts:false]
   [opt_in_method: no-opt-in\n                                 origin: cross-origin-http\n                                 source_scheme: https\n                                 context_nesting: top-level\n                                 redirection: keep-scheme-redirect\n                                 subresource: link-prefetch-tag\n                                 expectation: allowed]
     expected: FAIL
     bug: haven't implement prefetch link as an optionally blockable item