<!DOCTYPE html><html><head><title>Access-Control-Request-Headers values should be lowercase</title><scriptsrc="/resources/testharness.js"></script><scriptsrc="/resources/testharnessreport.js"></script><scriptsrc="/common/get-host-info.sub.js"></script></head><body><scripttype="text/javascript">async_test(function(test){constxhr=newXMLHttpRequest;xhr.open("GET",get_host_info().HTTP_REMOTE_ORIGIN+"/xhr/resources/access-control-preflight-request-header-lowercase.py");xhr.setRequestHeader("X-Test","foobar");xhr.onerror=test.unreached_func("Error occurred.");xhr.onload=test.step_func_done(function(){assert_equals(xhr.status,200);assert_equals(xhr.responseText,"PASS");});xhr.send();},"Request with uppercase header set");</script></body></html>