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

Reorder promise resolutions for navigation API #10658

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

domenic
Copy link
Member

@domenic domenic commented Sep 30, 2024

The API method tracker finished promise vs. the navigation transition finished promise ordering did not match the tests and Chromium implementation. There's no real argument for one order vs. the other, so update the spec to match.

Closes #10646.

(See WHATWG Working Mode: Changes for more details.)


/nav-history-apis.html ( diff )

The API method tracker finished promise vs. the navigation transition finished promise ordering did not match the tests and Chromium implementation. There's no real argument for one order vs. the other, so update the spec to match.

Closes #10646.
rwlbuis added a commit to rwlbuis/WebKit that referenced this pull request Sep 30, 2024
https://bugs.webkit.org/show_bug.cgi?id=280398

Reviewed by NOBODY (OOPS!).

Reorder order of resolving transition and finished promises, the tests already expect this order
and the spec was adjusted recently:
whatwg/html#10658

* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::innerDispatchNavigateEvent):
webkit-commit-queue pushed a commit to rwlbuis/WebKit that referenced this pull request Sep 30, 2024
https://bugs.webkit.org/show_bug.cgi?id=280398

Reviewed by Anne van Kesteren.

Reorder order of resolving transition and finished promises, the tests already expect this order
and the spec was adjusted recently:
whatwg/html#10658

* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::innerDispatchNavigateEvent):

Canonical link: https://commits.webkit.org/284445@main
@domenic domenic merged commit 09db56b into main Sep 30, 2024
2 checks passed
@domenic domenic deleted the navigation-api-promise-order branch September 30, 2024 10:14
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Sep 30, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Sep 30, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.
awesomekling pushed a commit to LadybirdBrowser/ladybird that referenced this pull request Sep 30, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.
ebanner pushed a commit to ebanner/ladybird that referenced this pull request Oct 4, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.
ebanner pushed a commit to ebanner/ladybird that referenced this pull request Oct 15, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.
nico pushed a commit to nico/serenity that referenced this pull request Nov 9, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.

(cherry picked from commit ec15f8fa626e5b0faf5b3e420080e944ab31ff11)
nico pushed a commit to nico/serenity that referenced this pull request Nov 10, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.

(cherry picked from commit ec15f8fa626e5b0faf5b3e420080e944ab31ff11)
nico pushed a commit to nico/serenity that referenced this pull request Nov 10, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.

(cherry picked from commit ec15f8fa626e5b0faf5b3e420080e944ab31ff11)
nico pushed a commit to SerenityOS/serenity that referenced this pull request Nov 10, 2024
Applies changes in whatwg/html#10658 and also
whichever previous change split the step for firing the navigateerror
into two parts.

(cherry picked from commit ec15f8fa626e5b0faf5b3e420080e944ab31ff11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Resolving of transition and finished promises is mismatched between spec and tests
2 participants