Open Bug 1016808 Opened 7 years ago Updated 5 years ago

Use XMLHttpRequest's responseType = "json" for search suggestions

Categories

(Firefox :: Search, defect, P4)

defect

Tracking

()

People

(Reporter: MattN, Unassigned)

Details

(Whiteboard: [fxsearch])

responseType[1] will clean up the code to avoid our our JSON.parse error handling afterwards although we may have to be careful with how it interacts with server backoff code and if we don't currently require the proper mimetype, we may also need overrideMimeType[2]

[1] https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#responseType
[2] https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#overrideMimeType%28%29
Priority: -- → P4
Whiteboard: [fxsearch]
Rank: 46
You need to log in before you can comment on or make changes to this bug.