Blink WPT Bot dcb948938d Bug 1868203 [wpt PR 43502] - [soft-navigations] Fix crash when user interaction precedes softnav, a=testonly
Automatic update from web-platform-tests
[soft-navigations] Fix crash when user interaction precedes softnav (#43502)

[1] ended up causing crashes in cases a non-soft-navigation user
interaction precedes a soft navigation.

This CL fixes that by:
* Making sure we're not emitting soft nav entries before their time was
set.
* Emitting softnavs when the time is set, if all conditions were met
before then.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/5071732

Bug: 1507750
Change-Id: I9e26cebfcab2313b425261004a0e1eeaa8517842
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5079439
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232691}

Co-authored-by: Yoav Weiss <yoavweiss@chromium.org>
--

wpt-commits: 565993e57b6cceae7f3a2ae7954929d9ab76b809
wpt-pr: 43502
2023-12-14 09:31:32 +00:00

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.
Description
Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Readme 6.1 GiB
Languages
JavaScript 32.3%
C++ 25.4%
HTML 21%
C 10.8%
Python 2.8%
Other 7.2%