Closed
Bug 988107
Opened 10 years ago
Closed 7 years ago
Make sendBeacon work with FirefoxOS apps by setting the correct appId on the request
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox28 | --- | unaffected |
firefox29 | --- | unaffected |
firefox30 | - | affected |
firefox31 | - | affected |
People
(Reporter: ehsan.akhgari, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #987387 +++ This is a spin-off from bug 987387 to cover the case of setting the correct appId on the request. Josh, what needs to be done here?
Flags: needinfo?(josh)
Updated•10 years ago
|
We'll need to disable sendBeacon for FFOS if we can't get this fixed.
blocking-b2g: --- → 1.4?
Comment 2•10 years ago
|
||
I am unaware of a way to set an appId without providing a notificationChannelCallbacks or loadGroup that links to nsILoadContext. Maybe we need to create a synthesized one here and link it to the existing notificationChannelCallbacks?
Flags: needinfo?(josh)
Ah, yes, the way to do this is probably to create a fresh nsILoadGroup which links to a fresh non-docshell nsILoadContext. Then supply the correct information on that nsILoadContext.
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #1) > We'll need to disable sendBeacon for FFOS if we can't get this fixed. FWIW it seems like sendBeacon is disabled everywhere for now. It's hidden behind the beacon.enabled pref.
Reporter | ||
Updated•10 years ago
|
Comment 5•10 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #1) > We'll need to disable sendBeacon for FFOS if we can't get this fixed. Why is this needed specifically for 1.4?
It's not. But at the time I thought that the feature was enabled, but in a broken state, for v1.4. Not worth blocking on given that it's already disabled.
blocking-b2g: 1.4? → ---
Comment 7•10 years ago
|
||
Given comment 4 and having sendBeacon disabled everywhere, there's no reason to continue tracking this.
Comment 8•10 years ago
|
||
> FWIW it seems like sendBeacon is disabled everywhere for now. It's hidden behind the beacon.enabled pref.
This is no longer true, is it?
It is still true for FirefoxOS sadly.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•