Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Create a NotRestoredReasons object" takes a realm, but "create the navigation timing entry" doesn't pass it #201

Open
petervanderbeken opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@petervanderbeken
Copy link

https://w3c.github.io/navigation-timing/#marking-navigation-timing has step 11:

  1. 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.

@clelland clelland self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants