Bug 1794963 [wpt PR 36428] - Get SoftNavigationHeuristics to recognize popstate-based...
commit3fcffd1c184c46c214bc19471e24035954c62a9e
authorYoav Weiss <yoavweiss@chromium.org>
Sun, 20 Nov 2022 16:12:29 +0000 (20 16:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 21 Nov 2022 02:53:50 +0000 (21 02:53 +0000)
treef928b7a7bba3515a5dc5331f9f073301eecfe4b9
parente017e7bb31e0938061eb753cec32f63d2ace71ad
Bug 1794963 [wpt PR 36428] - Get SoftNavigationHeuristics to recognize popstate-based soft navs, a=testonly

Automatic update from web-platform-tests
Get SoftNavigationHeuristics to recognize popstate-based soft navs

Following up on [1], this CL also ensures that popstate events that
modify the DOM are properly being considered for Soft Navigation
Heuristics.

Rough design doc for this change: [2]

[1] https://chromium-review.googlesource.com/c/chromium/src/+/3941774
[2] https://docs.google.com/document/d/1bubR2GxFEQtdYFkdU1JMhEopjq69SiFjkiwmSAOTby4/edit#

Change-Id: I0fd669b51ff29f274ee437b469d6f81c4b6aa4b1
Bug: 1371932
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3945102
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072892}

--

wpt-commits: 120d10be208089d4c0889fe55877d5258747454e
wpt-pr: 36428
testing/web-platform/tests/soft-navigation-heuristics/navigation-api-preventDefault.tentative.html
testing/web-platform/tests/soft-navigation-heuristics/navigation-api-rejected.tentative.html
testing/web-platform/tests/soft-navigation-heuristics/navigation-api.tentative.html
testing/web-platform/tests/soft-navigation-heuristics/popstate.tentative.html [new file with mode: 0644]
testing/web-platform/tests/soft-navigation-heuristics/resources/soft-navigation-helper.js