Closed
Bug 954934
Opened 11 years ago
Closed 11 years ago
Twitter's stream should the the moz-chunked-text XHR responseType
Categories
(Chat Core :: Twitter, defect)
Chat Core
Twitter
Tracking
(Not tracked)
RESOLVED
FIXED
1.2
People
(Reporter: florian, Assigned: florian)
Details
Attachments
(1 file)
1.58 KB,
patch
|
clokep
:
review+
|
Details | Diff | Splinter Review |
*** Original post on bio 1501 at 2012-06-10 10:17:00 UTC ***
*** Due to BzAPI limitations, the initial description is in comment 1 ***
Assignee | ||
Comment 1•11 years ago
|
||
*** Original post on bio 1501 as attmnt 1583 at 2012-06-10 10:17:00 UTC ***
This awesome (and completely undocumented) mozilla extension to XHR was added in https://bugzilla.mozilla.org/show_bug.cgi?id=687087
My understanding of it is that when setting responseType to moz-chunked-text, the responseText and responseBody attributes become unusable, and instead one should use the response attribute which contains only the new data received since the last progress event.
This simple change should help with memory usage when a twitter account stays connected for hours.
Attachment #8353340 -
Flags: review?(clokep)
Comment 2•11 years ago
|
||
Comment on attachment 8353340 [details] [diff] [review]
Patch
*** Original change on bio 1501 attmnt 1583 at 2012-06-10 18:53:23 UTC ***
Nice find. :)
Attachment #8353340 -
Flags: review?(clokep) → review+
Comment 3•11 years ago
|
||
*** Original post on bio 1501 at 2012-06-10 21:03:58 UTC ***
Checked in as http://hg.instantbird.org/instantbird/rev/2749a7494bb8
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2
You need to log in
before you can comment on or make changes to this bug.
Description
•