| Index: third_party/WebKit/LayoutTests/http/tests/cache/xhr-vary-header.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/cache/xhr-vary-header.html b/third_party/WebKit/LayoutTests/http/tests/cache/xhr-vary-header.html
|
| index 5d183d9f19f7515519ec7705ab344db9659f3a23..16a79dbd71541001b885a624571bdd80e4627289 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/cache/xhr-vary-header.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/cache/xhr-vary-header.html
|
| @@ -12,7 +12,7 @@ var testStep = 1;
|
| function testCrossOrigin()
|
| {
|
| var req = new XMLHttpRequest;
|
| - req.open("get", "http://localhost:8000/cache/resources/xhr-vary-header-response.php");
|
| + req.open("GET", "http://localhost:8080/cache/resources/xhr-vary-header-response.php");
|
| req.onload=function() { receivedResponse(req.responseText) }
|
| req.send();
|
| }
|
| @@ -27,17 +27,17 @@ function receivedResponse(text)
|
| window.responseText = text;
|
| switch (testStep) {
|
| case 1:
|
| - shouldBe("responseText", "'Cross origin response'");
|
| + shouldBe("responseText", "'Origin header value is http://127.0.0.1:8000'");
|
| testStep++;
|
| testSameOrigin();
|
| break;
|
| case 2:
|
| - shouldBe("responseText", "'Same origin response'");
|
| + shouldBe("responseText", "'Origin header value is http://localhost:8000'");
|
| testStep++;
|
| testCrossOrigin();
|
| break;
|
| case 3:
|
| - shouldBe("responseText", "'Cross origin response'");
|
| + shouldBe("responseText", "'Origin header value is http://127.0.0.1:8000'");
|
| finishJSTest();
|
| testStep++;
|
| break;
|
|
|