https://github.com/web-platform-tests/wpt
Raw File
Tip revision: afa7bc960f2a72b911f5cf4ea83d4f272bed3270 authored by Manuel Rego Casasnovas on 30 November 2018, 22:57:59 UTC
[css-contain][css-grid] Support size containment on grid containers
Tip revision: afa7bc9
non-secure-context-dynamic-import.tentative.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Async local storage: should not work in non-secure contexts when included via import()</title>

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<script>
"use strict";

test(() => {
  assert_false(self.isSecureContext, "This test must run in a non-secure context");
}, "Prerequisite check");

promise_test(t => {
  return promise_rejects(t, "SecurityError", import("std:async-local-storage"));
});
</script>
back to top