diff options
Diffstat (limited to 'testing/web-platform/tests/infrastructure/reftest/reftest.https.html')
-rw-r--r-- | testing/web-platform/tests/infrastructure/reftest/reftest.https.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/infrastructure/reftest/reftest.https.html b/testing/web-platform/tests/infrastructure/reftest/reftest.https.html new file mode 100644 index 0000000000..5a45f10f35 --- /dev/null +++ b/testing/web-platform/tests/infrastructure/reftest/reftest.https.html @@ -0,0 +1,9 @@ +<link rel=match href=green.html> +<style> +:root {background-color:red} +</style> +<script> +if (window.location.protocol === "https:") { + document.documentElement.style.backgroundColor = "green"; +} +</script>
\ No newline at end of file |