From 95a0f45c37bb1bfbf39377c0870834f4733952dc Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Tue, 18 Feb 2020 16:47:26 +0000 Subject: [PATCH] Bug 1615285 [wpt PR 21781] - Secure contexts: add data: URLs, a=testonly Automatic update from web-platform-tests Secure contexts: add data: URLs See https://github.com/w3c/webappsec-secure-contexts/issues/69. Complements https://github.com/web-platform-tests/wpt/pull/21146. -- wpt-commits: cc7860faa93b6c404a5767b7635843d274eb7d0a wpt-pr: 21781 UltraBlame original commit: 9168eaebb7a09addc3a9c1700a2b2312bae790c5 --- .../basic-popup-and-iframe-tests.https.js | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/testing/web-platform/tests/secure-contexts/basic-popup-and-iframe-tests.https.js b/testing/web-platform/tests/secure-contexts/basic-popup-and-iframe-tests.https.js index 12b82353ca3e4..e6b41a8529f0d 100644 --- a/testing/web-platform/tests/secure-contexts/basic-popup-and-iframe-tests.https.js +++ b/testing/web-platform/tests/secure-contexts/basic-popup-and-iframe-tests.https.js @@ -318,6 +318,44 @@ blank eSecureIfCreatorSecure eResultFromExaminationSync ) +new +LoadType +( +" +a +data +: +URL +" +eLoadInUnsandboxedIframe +| +eLoadInSandboxedIframe +" +data +: +text +/ +html +< +script +> +parent +. +postMessage +( +isSecureContext +' +* +' +) +< +/ +script +> +" +eSecureIfCreatorSecure +eResultFromPostMessage +) ] ; const