Skip to content

Commit

Permalink
Redo top-level origin and add top-level creation URL
Browse files Browse the repository at this point in the history
An environment's top-level origin is null during the initial navigation (before the response arrived) and otherwise represents the origin of the top-level document. It is currently implementation-defined for non-dedicated workers, but hopefully that can be sorted soon.

An environment's top-level creation URL is the URL of the top-level document. It is null for workers as they do not need the concept.

Needed for whatwg/fetch#943 and whatwg#5558.
  • Loading branch information
shivanigithub authored and annevk committed Jun 3, 2020
1 parent 5796632 commit 7c6312a
Showing 1 changed file with 145 additions and 100 deletions.
Loading

0 comments on commit 7c6312a

Please sign in to comment.