Processing rules for Content-Type has been implemented send with String as parameter, but not for Document, but both be treated the same according to the spec: https://xhr.spec.whatwg.org/#the-send()-method
Created attachment 348090 [details] Patch
Attachment 348090 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:17: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 348090 [details] Patch Attachment 348090 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/8988111 New failing tests: imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm
Created attachment 348092 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
Comment on attachment 348090 [details] Patch Attachment 348090 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/8988122 New failing tests: imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm
Created attachment 348093 [details] Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Created attachment 348094 [details] Patch
Comment on attachment 348094 [details] Patch Attachment 348094 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/8988439 New failing tests: imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm
Created attachment 348095 [details] Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Comment on attachment 348094 [details] Patch Attachment 348094 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/8988517 New failing tests: imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm
Created attachment 348096 [details] Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
Comment on attachment 348094 [details] Patch Attachment 348094 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/8988545 New failing tests: imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm
Created attachment 348097 [details] Archive of layout-test-results from ews116 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-sierra Platform: Mac OS X 10.12.6
Created attachment 348099 [details] Patch
Comment on attachment 348099 [details] Patch Similar patch for chromium here: https://chromium-review.googlesource.com/c/chromium/src/+/1189602
Created attachment 348129 [details] Patch
Comment on attachment 348129 [details] Patch Rejecting attachment 348129 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 348129, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in LayoutTests/ChangeLog contains OOPS!. Full output: https://webkit-queues.webkit.org/results/8994316
Created attachment 348135 [details] Patch
Comment on attachment 348135 [details] Patch Clearing flags on attachment: 348135 Committed r235360: <https://trac.webkit.org/changeset/235360>
All reviewed patches have been landed. Closing bug.
<rdar://problem/43752581>