navigation-timing
navigation-timing copied to clipboard
"Create a NotRestoredReasons object" takes a realm, but "create the navigation timing entry" doesn't pass it
https://w3c.github.io/navigation-timing/#marking-navigation-timing has step 11:
- Set navigationTimingEntry's not restored reasons to the result of creating a NotRestoredReasons object given document's not restored reasons.
Note that create a NotRestoredReasons object
takes a not restored reasons backingStruct and a realm
, so this should probably pass the right realm. This should probably also link creating a NotRestoredReasons object
to https://html.spec.whatwg.org/multipage/nav-history-apis.html#create-a-notrestoredreasons-object.
Also, for some reason that last link in step 11 is to this spec's not restored reasons
, but it should probably link to https://html.spec.whatwg.org/multipage/nav-history-apis.html#nrr-struct instead.