Bug 118022
Summary: | Consider returning 0 immediately if m_error is true in response accessors of XMLHttpRequest. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | aestes, annevk, ap, beidson |
Priority: | P2 | Keywords: | BlinkMergeCandidate |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryosuke Niwa
Consider merging https://chromium.googlesource.com/chromium/blink/+/45441471baa04ff1cb3d8ad5c0ed683a40537f9e if it's relevant for us.
Current code is depending on the response clearing code called by abort().
Also adds layout tests to ensure spec conformance. Note that the accessor
for ArrayBuffer passes this test even without this change since abort()
clears response holders. For blob, it was returning an empty blob.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
*** This bug has been marked as a duplicate of bug 45994 ***