Skip to content

Commit

Permalink
Bug 1615285 [wpt PR 21781] - Secure contexts: add data: URLs, a=testonly
Browse files Browse the repository at this point in the history
Automatic update from web-platform-tests
Secure contexts: add data: URLs

See w3c/webappsec-secure-contexts#69. Complements web-platform-tests/wpt#21146.
--

wpt-commits: cc7860faa93b6c404a5767b7635843d274eb7d0a
wpt-pr: 21781

UltraBlame original commit: 9168eaebb7a09addc3a9c1700a2b2312bae790c5
  • Loading branch information
marco-c committed Feb 18, 2020
1 parent 1a66070 commit a07d0e6
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@









Expand Down Expand Up @@ -101,6 +98,12 @@ const loadTypes = [
"about:blank",
eSecureIfCreatorSecure,
eResultFromExaminationSync),
new LoadType("a data: URL",

eLoadInUnsandboxedIframe | eLoadInSandboxedIframe,
"data:text/html,<script>parent.postMessage(isSecureContext, '*')</script>",
eSecureIfCreatorSecure,
eResultFromPostMessage),
];

const loadTargets = [
Expand Down

0 comments on commit a07d0e6

Please sign in to comment.