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 top-level navigation (before the response arrives) 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.

Co-authored-by: Anne van Kesteren <[email protected]>
  • Loading branch information
shivanigithub and annevk authored Jun 5, 2020
1 parent 63e5e42 commit 31b264a
Showing 1 changed file with 188 additions and 122 deletions.
Loading

0 comments on commit 31b264a

Please sign in to comment.