Closed
Bug 1964328
Opened 17 days ago
Closed 16 days ago
NetworkGeolocationProvider should check the status before calling json()
Categories
(Core :: DOM: Geolocation, enhancement)
Core
DOM: Geolocation
Tracking
()
RESOLVED
FIXED
140 Branch
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
Attachments
(1 file)
let req = await fetch(url, fetchOpts);
lazy.clearTimeout(timeoutId);
let result = req.json();
Assignee | ||
Comment 1•17 days ago
|
||
This should help investigate what's happening in bug 1823283.
Also use AbortSignal.timeout instead of manual set/clearTimeout.
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/566abd3030f3
Check response status before calling json() r=dom-core,sefeng
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/693747559896
Revert "Bug 1964328 - Check response status before calling json() r=dom-core,sefeng" for causing location related failures.
Comment 4•17 days ago
•
|
||
Backed out for causing location related failures.
Failure logs:
Flags: needinfo?(krosylight)
Assignee | ||
Updated•16 days ago
|
Flags: needinfo?(krosylight)
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af9dba0a1b1e
Check response status before calling json() r=dom-core,sefeng
Comment 6•16 days ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 16 days ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•