patcg-individual-drafts / topics

The Topics API
https://patcg-individual-drafts.github.io/topics/
Other
605 stars 199 forks source link

Fix spec: use "registrable domain" for caller context #220

Closed xyaoinum closed 1 year ago

xyaoinum commented 1 year ago

Align with the current implementation in Chrome.

Also, a drive-by fix: when storing history/caller data due to the JS API, pass in argument |topLevelDocument|, instead of current context's document.


Preview | Diff

xyaoinum commented 1 year ago

@domenic PTAL. Thanks!