[Webkit-unassigned] [Bug 54118] New: XMLHttpRequest::abort() should call clearResponse()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 9 10:23:03 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=54118
Summary: XMLHttpRequest::abort() should call clearResponse()
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Minor
Priority: P4
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jarred.nicholls at gmail.com
In the case of ArrayBuffer responses, abort() will not clear the binary buffer. So it just wastes space. Subsequent open() calls (which must come before send(), since abort() resets the state to UNSENT) will clear the buffer properly, but that's not necessarily going to happen. So this is just more memory efficient.
clearResponse() can replace the code in abort(), because it's accomplishing the same thing, it's neater, and it's one function to maintain; an omission like the above can be better avoided.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list