From bdfdf5deadaf250cd1a2eec319618efb9f045125 Mon Sep 17 00:00:00 2001 From: Roberto Rodriguez Date: Mon, 6 Apr 2026 13:33:49 -0700 Subject: [PATCH] WebKit export of https://bugs.webkit.org/show_bug.cgi?id=308752 --- .../blob/frame-src-blob-matches-blob.sub.html | 36 +++++++++++++++++++ ...rame-src-self-does-not-match-blob.sub.html | 33 +++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 content-security-policy/blob/frame-src-blob-matches-blob.sub.html create mode 100644 content-security-policy/blob/frame-src-self-does-not-match-blob.sub.html diff --git a/content-security-policy/blob/frame-src-blob-matches-blob.sub.html b/content-security-policy/blob/frame-src-blob-matches-blob.sub.html new file mode 100644 index 00000000000000..0dbc89bdd59361 --- /dev/null +++ b/content-security-policy/blob/frame-src-blob-matches-blob.sub.html @@ -0,0 +1,36 @@ + + + + + + frame-src-blob-matches-blob + + + + + + + +

+ blob: URLs should match if the blob: scheme is explicitly specified in the frame-src directive. +

+ +
+ + + diff --git a/content-security-policy/blob/frame-src-self-does-not-match-blob.sub.html b/content-security-policy/blob/frame-src-self-does-not-match-blob.sub.html new file mode 100644 index 00000000000000..fc54910644c122 --- /dev/null +++ b/content-security-policy/blob/frame-src-self-does-not-match-blob.sub.html @@ -0,0 +1,33 @@ + + + + + + frame-src-self-does-not-match-blob + + + + + + + +

+ blob: URLs should not match the 'self' source in a frame-src directive because blob: is a non-HTTP(S) scheme that must be explicitly listed. +

+ +
+ + +