WICG / pending-beacon

A better beaconing API
Other
43 stars 8 forks source link

Timeout IDL types #44

Closed domenic closed 11 months ago

domenic commented 2 years ago

See https://w3ctag.github.io/design-principles/#numeric-types

You should definitely add [EnforceRange], to both the dictionary and the attribute. I understand sometimes there are technical reasons to avoid unsigned long long but I doubt they apply in this case...

mingyc commented 11 months ago

The timeout option is now activateAfter in fetchLater() API which is a DOMHighResTimeStamp. See https://whatpr.org/fetch/1647.html#dom-deferredrequestinit-activateafter