| Index: LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.js
|
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.js b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.js
|
| index 739411d2c5cd7036b41e6621483d6f029871ea7b..b66a1d672fc83d01e6e6f6dbc35c51e919ef4bc3 100644
|
| --- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.js
|
| +++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.js
|
| @@ -4,5 +4,9 @@ if (window.testRunner) {
|
| }
|
|
|
| window.onload = function () {
|
| - window.location = "/security/contentSecurityPolicy/resources/echo-report.php";
|
| + var test = window.location.pathname.replace(/^.+\//, '');
|
| + var match = window.location.search.match(/^\?test=([^&]+)/);
|
| + if (match)
|
| + test = match[1];
|
| + window.location = "/security/contentSecurityPolicy/resources/echo-report.php?test=" + test;
|
| }
|
|
|