Closed Bug 700633 Opened 8 years ago Closed 8 years ago

responseType not set when using XHR to retrieve XML

Categories

(Toolkit :: Add-ons Manager, defect, trivial)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: hsivonen, Assigned: darktrojan)

References

()

Details

Attachments

(1 file)

https://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/content/extensions.js#2860 uses XHR to retrieve responseXML. To avoid buffering data uselessly for responseText, it would be good to set responseType to "document" after calling .open() and before calling .send().
Attached patch patchSplinter Review
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #572975 - Flags: review?
Attachment #572975 - Flags: review? → review?(dtownsend)
Attachment #572975 - Flags: review?(dtownsend) → review+
Flags: in-testsuite-
Flags: in-litmus-
https://hg.mozilla.org/mozilla-central/rev/95ae882ae390
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.