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

NEW
Unassigned

Status

()

P4
minor
Rank:
46
5 years ago
3 years ago

People

(Reporter: MattN, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

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]

Updated

3 years ago
Rank: 46
You need to log in before you can comment on or make changes to this bug.