Closed mingyc closed 2 years ago
cc @philipwalton @fergald PTAL. Please also suggest better naming than PendingGETBeacon
, PendingPOSTBeacon
, thanks!
I think in the case of
Tab A: top level is userfoo.blog.com, frame is map.company.com Tab B: top level is map.company.com
I think Tab A's map.company.com beacons should still be delivered because
In general I would really like to not impose restrictions on beacon that are not present already because all that does is keep devs doing things the hard way which also tends to be wasteful of user resources.
pageHideTimeout
withbackgroundTimeout
andtimeout
.setData()
orsetURL()
.isPending
topending
and specify its behaviors.PendingGETBeacon
which supportssetURL(url, options)
.PendingPOSTBeacon
which supportssetData(data, options)
.setData(data)
from basePendingBeacon
.