Navigation API: Implement #dom-navigationprecommitcontroller-addhandler
Categories
(Core :: DOM: Navigation, task)
Tracking
()
People
(Reporter: jjaschke, Assigned: jjaschke)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
This was introduced by HTML#11984. The spec PR names bug 2004569 as implementation bug, but it only updates the WPTs and is closed already, hence this new bug.
| Assignee | ||
Comment 1•3 months ago
|
||
Updated•3 months ago
|
Comment 5•3 months ago
|
||
Reverted this because it was causing wpt failures.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | /html/dom/idlharness.https.html?exclude=(Document|Window|HTML.+) | NavigationPrecommitController interface: operation addHandler(NavigationInterceptHandler) - assert_own_property: self does not have own property "NavigationPrecommitController" expected property "NavigationPrecommitController" missing
| Assignee | ||
Comment 6•3 months ago
|
||
Ah, there's android + no ship of course. I updated the expectation and I'll reland.
Comment 8•3 months ago
|
||
| bugherder | ||
Comment 9•3 months ago
|
||
:jjaschke, could you consider nominating this for a release note? (Process info)
| Assignee | ||
Comment 10•3 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: This allows registering a post-commit navigation handler during the pre-commit phase, to allow a multi-step navigation process.
[Affects Firefox for Android]: Yes, but only with SHIP
[Suggested wording]:
[Links (documentation, blog post, etc)]: https://github.com/whatwg/html/issues/11956
Comment 11•3 months ago
|
||
Thanks, added to the Fx148 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx148 release notes.
Updated•2 months ago
|
Comment 12•2 months ago
|
||
FF148 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/42780
@Donal, I could be wrong but I think you need to modify the release note to change NavigationPrecommitController to NavigationPrecommitController.addHandler() (NavigationPrecommitController was already supported from 141. The change here is that NavigationPrecommitController.addHandler() is now supported). [Just requesting info so you don't miss this]
Comment 13•2 months ago
|
||
(In reply to Hamish Willee from comment #12)
FF148 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/42780
@Donal, I could be wrong but I think you need to modify the release note to change
NavigationPrecommitControllertoNavigationPrecommitController.addHandler()(NavigationPrecommitControllerwas already supported from 141. The change here is thatNavigationPrecommitController.addHandler()is now supported). [Just requesting info so you don't miss this]
Thanks, Hamish! I've updated the note
Updated•2 months ago
|
Description
•