diff options
Diffstat (limited to 'testing/web-platform/harness/test/testdata/testharness/testharness.https.html')
-rw-r--r-- | testing/web-platform/harness/test/testdata/testharness/testharness.https.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/harness/test/testdata/testharness/testharness.https.html b/testing/web-platform/harness/test/testdata/testharness/testharness.https.html new file mode 100644 index 000000000..5871eac00 --- /dev/null +++ b/testing/web-platform/harness/test/testdata/testharness/testharness.https.html @@ -0,0 +1,10 @@ +<!doctype html> +<title>Example https test</title> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script> +test(function() { + assert_equals(window.location.protocol, "https:"); +}, "Test that file was loaded with the correct protocol"); + +</script>
\ No newline at end of file |