Chromium Code Reviews| Index: LayoutTests/http/tests/htmlimports/resources/import-cors-credentials-body.html |
| diff --git a/LayoutTests/http/tests/htmlimports/import-cors-credentials.html b/LayoutTests/http/tests/htmlimports/resources/import-cors-credentials-body.html |
| similarity index 72% |
| copy from LayoutTests/http/tests/htmlimports/import-cors-credentials.html |
| copy to LayoutTests/http/tests/htmlimports/resources/import-cors-credentials-body.html |
| index beb90273443369e7392ef3ebcf3ac77ddd1d5dae..9c6332f4b9f30cf521226402f26bc39172d22de3 100644 |
| --- a/LayoutTests/http/tests/htmlimports/import-cors-credentials.html |
| +++ b/LayoutTests/http/tests/htmlimports/resources/import-cors-credentials-body.html |
| @@ -1,18 +1,16 @@ |
| <!DOCTYPE html> |
| <script src="/js-test-resources/js-test.js"></script> |
| -<script> |
| -document.cookie = "key=HelloCredentials"; |
| -</script> |
| -<link id="sameOrigin" rel="import" href="resources/cookie-match.cgi?key=HelloCredentials"> |
| +<link id="sameOrigin" rel="import" href="cookie-match.cgi?key=HelloCredentials"> |
| <link id="crossOrigin" rel="import" href="http://localhost:8080/htmlimports/resources/cookie-match.cgi"> |
| -<link id="fromSameToCrossOrigin" rel="import" href="resources/having-cookie-match-8080.html"> |
| +<link id="fromSameToCrossOrigin" rel="import" href="having-cookie-match-8080.html"> |
| <link id="fromCrossToSameOrigin" rel="import" href="http://localhost:8080/htmlimports/resources/having-cookie-match-same.cgi"> |
| <script> |
| -if (window.testRunner) |
| - testRunner.dumpAsText(); |
| - |
|
Yoav Weiss
2015/06/09 07:53:40
Can you elaborate on why these changes are related
yoichio
2015/06/11 04:27:44
resources/import-cors-credentials-body.html is spl
|
| shouldBeEqualToString("sameOrigin.import.body.innerHTML", "PASS"); |
| shouldBeEqualToString("crossOrigin.import.body.innerHTML", "PASS"); |
| shouldBeEqualToString("fromSameToCrossOrigin.import.getElementById('crossOrigin').import.body.innerHTML", "PASS"); |
| shouldBeEqualToString("fromCrossToSameOrigin.import.getElementById('sameOrigin').import.body.innerHTML", "PASS"); |
| + |
| +if (window.testRunner) |
| + window.setTimeout(function() { testRunner.notifyDone(); }, 0); |
| + |
| </script> |