Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-header-sorted.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-header-sorted.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-header-sorted.html |
index 7814982ebed4ba095d0b76f5ca85ce4de4429484..0d00285e8668bb87185204f869238064bfc8befb 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-header-sorted.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-header-sorted.html |
@@ -16,6 +16,9 @@ function sendRequest() |
xhr.setRequestHeader("X-Custom-V", "foobar"); |
xhr.setRequestHeader("X-Custom-s", "foobar"); |
xhr.setRequestHeader("X-Custom-U", "foobar"); |
+ // Check that a simple header is also included in the |
+ // Access-Control-Request-Headers header. |
+ xhr.setRequestHeader("Content-Type", "text/plain"); |
xhr.onerror = function() { |
document.body.appendChild(document.createTextNode("FAIL: onerror called")); |
if (window.testRunner) |