diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/web_tests/TestExpectations index afb4334b778a22..2d38381c1a249c 100644 --- a/third_party/blink/web_tests/TestExpectations +++ b/third_party/blink/web_tests/TestExpectations @@ -2036,7 +2036,6 @@ crbug.com/705125 fast/mediacapturefromelement/CanvasCaptureMediaStream-capture-o crbug.com/694525 external/wpt/content-security-policy/connect-src/worker-from-guid.sub.html [ Skip ] crbug.com/694525 external/wpt/content-security-policy/connect-src/worker-connect-src-blocked.sub.html [ Skip ] crbug.com/694525 external/wpt/content-security-policy/navigation/to-javascript-parent-initiated-child-csp.html [ Skip ] -crbug.com/694525 external/wpt/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.sub.html [ Skip ] # These tests will be added back soon: crbug.com/706350 external/wpt/html/browsers/browsing-the-web/history-traversal/window-name-after-cross-origin-aux-frame-navigation.sub.html [ Skip ] diff --git a/third_party/blink/web_tests/external/wpt/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.html b/third_party/blink/web_tests/external/wpt/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.html new file mode 100644 index 00000000000000..054e75b52749b3 --- /dev/null +++ b/third_party/blink/web_tests/external/wpt/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.html @@ -0,0 +1,61 @@ + + + +
+ + + + + + + ++ Eval should be blocked in the iframe, but inline script should be allowed. +
+ + + + + + + diff --git a/third_party/blink/web_tests/external/wpt/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.sub.html b/third_party/blink/web_tests/external/wpt/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.sub.html deleted file mode 100644 index 17430dd767704f..00000000000000 --- a/third_party/blink/web_tests/external/wpt/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.sub.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -Eval should be blocked in the iframe, but inline script should be allowed.
- - - - - - diff --git a/third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe-expected.txt b/third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe-expected.txt deleted file mode 100644 index 62c8312586689b..00000000000000 --- a/third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe-expected.txt +++ /dev/null @@ -1,4 +0,0 @@ -ALERT: /PASS/ -CONSOLE ERROR: line 1: Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'unsafe-inline'". - - Eval should be blocked in the iframe, but inline script should be allowed. diff --git a/third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html b/third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html deleted file mode 100644 index 71cf7641945363..00000000000000 --- a/third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html +++ /dev/null @@ -1,13 +0,0 @@ - - - -Eval should be blocked in the iframe, but inline script should be allowed. -