RESOLVED FIXED 134264
[XHR] open method must uppercase only standard method types
https://bugs.webkit.org/show_bug.cgi?id=134264
Summary [XHR] open method must uppercase only standard method types
Mahesh Kulkarni
Reported 2014-06-24 12:41:49 PDT
[XHR] open method must uppercase only standard method types
Attachments
Patch (9.88 KB, patch)
2014-06-24 12:48 PDT, Mahesh Kulkarni
no flags
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 (657.79 KB, application/zip)
2014-06-24 17:45 PDT, Build Bot
no flags
Patch (9.88 KB, patch)
2014-06-26 09:13 PDT, Mahesh Kulkarni
no flags
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion (508.84 KB, application/zip)
2014-06-26 10:43 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2 (569.35 KB, application/zip)
2014-06-26 11:24 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion (514.79 KB, application/zip)
2014-06-26 11:41 PDT, Build Bot
no flags
Patch (9.73 KB, patch)
2014-06-26 12:39 PDT, Mahesh Kulkarni
no flags
Mahesh Kulkarni
Comment 1 2014-06-24 12:48:55 PDT
Mahesh Kulkarni
Comment 2 2014-06-24 12:50:22 PDT
Now all desktop browsers IE11, Mozilla 31, Chrome (dev m37) supports capitalizing only standard method names as per spec http://xhr.spec.whatwg.org/#the-open()-method.
Mahesh Kulkarni
Comment 3 2014-06-24 12:51:02 PDT
(In reply to comment #2) > Now all desktop browsers IE11, Mozilla 31, Chrome (dev m37) supports capitalizing only standard method names as per spec http://xhr.spec.whatwg.org/#the-open()-method. This change will also pass all failing tests from w3c-test suite http://w3c-test.org/XMLHttpRequest/open-method-case-sensitive.htm.
Alexey Proskuryakov
Comment 4 2014-06-24 12:58:56 PDT
Comment on attachment 233731 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=233731&action=review > Source/WebCore/xml/XMLHttpRequest.cpp:-397 > - const char* const methods[] = { "COPY", "DELETE", "GET", "HEAD", "INDEX", "LOCK", "M-POST", "MKCOL", "MOVE", "OPTIONS", "POST", "PROPFIND", "PROPPATCH", "PUT", "UNLOCK" }; Is there test coverage for common methods whose handling changes here (eg propfind)?
Mahesh Kulkarni
Comment 5 2014-06-24 13:09:01 PDT
(In reply to comment #4) > (From update of attachment 233731 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=233731&action=review > > > Source/WebCore/xml/XMLHttpRequest.cpp:-397 > > - const char* const methods[] = { "COPY", "DELETE", "GET", "HEAD", "INDEX", "LOCK", "M-POST", "MKCOL", "MOVE", "OPTIONS", "POST", "PROPFIND", "PROPPATCH", "PUT", "UNLOCK" }; > > Is there test coverage for common methods whose handling changes here (eg propfind)? I did not find any for non-standard type method names.
Build Bot
Comment 6 2014-06-24 17:45:17 PDT
Comment on attachment 233731 [details] Patch Attachment 233731 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/6292203869569024 New failing tests: media/W3C/audio/canPlayType/canPlayType_application_octet_stream_with_codecs_1.html http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive.html http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html
Build Bot
Comment 7 2014-06-24 17:45:20 PDT
Created attachment 233770 [details] Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Mahesh Kulkarni
Comment 8 2014-06-25 09:58:42 PDT
mac-w2 seems red because of flaky test.
Alexey Proskuryakov
Comment 9 2014-06-26 00:30:25 PDT
Are you sure? These failures seem related to the patch: http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive.html http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html
Mahesh Kulkarni
Comment 10 2014-06-26 09:13:58 PDT
Build Bot
Comment 11 2014-06-26 10:43:21 PDT
Comment on attachment 233905 [details] Patch Attachment 233905 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5775701303099392 New failing tests: http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive.html http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html
Build Bot
Comment 12 2014-06-26 10:43:25 PDT
Created attachment 233912 [details] Archive of layout-test-results from webkit-ews-01 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-01 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 13 2014-06-26 11:24:17 PDT
Comment on attachment 233905 [details] Patch Attachment 233905 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4607389642784768 New failing tests: media/W3C/video/readyState/readyState_during_canplay.html http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive.html http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html
Build Bot
Comment 14 2014-06-26 11:24:21 PDT
Created attachment 233917 [details] Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-16 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 15 2014-06-26 11:41:30 PDT
Comment on attachment 233905 [details] Patch Attachment 233905 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6539798508470272 New failing tests: http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive.html http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html
Build Bot
Comment 16 2014-06-26 11:41:34 PDT
Created attachment 233919 [details] Archive of layout-test-results from webkit-ews-08 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-08 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Mahesh Kulkarni
Comment 17 2014-06-26 12:39:37 PDT
Mahesh Kulkarni
Comment 18 2014-06-27 08:30:38 PDT
Comment on attachment 233925 [details] Patch Thanks Darin!
WebKit Commit Bot
Comment 19 2014-06-27 09:01:58 PDT
Comment on attachment 233925 [details] Patch Clearing flags on attachment: 233925 Committed r170530: <http://trac.webkit.org/changeset/170530>
WebKit Commit Bot
Comment 20 2014-06-27 09:02:05 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.