XHR currently cache response object when responseType is json. This can also be done for other types as well (arraybuffer and blob notably) as a small optimization step.
Created attachment 224361 [details] Patch
Created attachment 283987 [details] WIP
Created attachment 283988 [details] WIP2
Created attachment 283992 [details] Patch
Comment on attachment 283992 [details] Patch Attachment 283992 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1706634 New failing tests: fast/xmlhttprequest/xmlhttprequest-responsetype-text.html
Created attachment 283995 [details] Archive of layout-test-results from ews103 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-yosemite Platform: Mac OS X 10.10.5
Comment on attachment 283992 [details] Patch Attachment 283992 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1706641 New failing tests: fast/xmlhttprequest/xmlhttprequest-responsetype-text.html
Created attachment 283996 [details] Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Comment on attachment 283992 [details] Patch Attachment 283992 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1706637 New failing tests: fast/xmlhttprequest/xmlhttprequest-responsetype-text.html
Created attachment 283997 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.5
Comment on attachment 283992 [details] Patch Attachment 283992 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1706640 New failing tests: fast/xmlhttprequest/xmlhttprequest-responsetype-text.html
Created attachment 283998 [details] Archive of layout-test-results from ews116 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 284002 [details] Fixing responseText
Comment on attachment 284002 [details] Fixing responseText Rejecting attachment 284002 [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-03', 'apply-attachment', '--no-update', '--non-interactive', 284002, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: dl Hunk #2 succeeded at 80 (offset 2 lines). patching file Source/WebCore/xml/XMLHttpRequest.js patching file LayoutTests/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file LayoutTests/http/tests/xmlhttprequest/onabort-response-getters-expected.txt patching file LayoutTests/http/tests/xmlhttprequest/onabort-response-getters.html Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Alex Christensen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/1721214
Created attachment 284193 [details] Patch for landing
Comment on attachment 284193 [details] Patch for landing Clearing flags on attachment: 284193 Committed r203494: <http://trac.webkit.org/changeset/203494>
All reviewed patches have been landed. Closing bug.