| Index: LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode.html
|
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode.html b/LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode.html
|
| index ec5b8eaf01722a5e3041457dfe65f0b6e95b318a..0ff0e8d4dbbcdb73d8bfacead881a115931b1c90 100644
|
| --- a/LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode.html
|
| +++ b/LayoutTests/http/tests/security/contentSecurityPolicy/eval-allowed-in-report-only-mode.html
|
| @@ -1,13 +1,16 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| + <script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| + if (window.internals)
|
| + internals.settings.setExperimentalContentSecurityPolicyFeaturesEnabled(false);
|
| + </script>
|
| <meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'self' 'unsafe-inline'">
|
| </head>
|
| <body>
|
| <script>
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| try {
|
| eval("alert('PASS: eval() executed as expected.');");
|
| } catch(e) {
|
|
|