LogEvent returns a promise, but right now it's always already resolved or rejected. It would be nice if it resolved after we knew the event had been logged. Can still resolve immediately when not tracking or using sendBeacon, but we should resolve when the image loads if using the fallback <img> tag method.
Description
Description
Details
Details
Event Timeline
Comment Actions
Change 238623 had a related patch set uploaded (by Ejegg):
Resolve beacon promise async
Comment Actions
Change 238629 had a related patch set uploaded (by Ejegg):
Break out sendBeacon implementations
Comment Actions
@awight, did you move this by mistake? I'm getting -1ed by nuria on the basis that 'LogEvent is supposed to be fire-and-forget', arguing to remove the promise entirely
Comment Actions
Seems to be a no-go in EventLogging, we'll just directly create the img in CentralNotice for non-beacon browsers.
Comment Actions
Change 238623 abandoned by Ejegg:
Resolve beacon promise async
Reason:
Will implement this in CN instead