-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Make navigate() use UTF-8 in the URL parser #9756
Conversation
Tests: ... Fixes #9708.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. You can count Chromium as interested. I've filed https://bugs.chromium.org/p/chromium/issues/detail?id=1486748 .
You can either write WPTs yourself or wait for us to do so as part of the implementation.
I'll fix that. Can we consider this a bug fix of the original PR given that only Chromium has implemented thus far or should I get Gecko to agree as well? I suppose I'll copy @smaug---- and @zcorpan either way so they know. |
Interest from Mozilla as well, thanks! |
Happy to wait for tests. I'll assign this to @domenic to merge when the tests arrive in WPT. |
@rwlbuis interested in taking on the tests? |
I got around to writing this change up for Chromium, including tests. Once my build passes and the tests export correctly, we can merge this. |
Follows whatwg/html#9756. Fixed: 40283021 Change-Id: Iac654e94044fb97c4618599fee8ecedcd0efdb4d
Follows whatwg/html#9756. Fixed: 40283021 Change-Id: Iac654e94044fb97c4618599fee8ecedcd0efdb4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5722413 Auto-Submit: Domenic Denicola <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1332686}
Follows whatwg/html#9756. Fixed: 40283021 Change-Id: Iac654e94044fb97c4618599fee8ecedcd0efdb4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5722413 Auto-Submit: Domenic Denicola <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1332686}
Follows whatwg/html#9756. Fixed: 40283021 Change-Id: Iac654e94044fb97c4618599fee8ecedcd0efdb4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5722413 Auto-Submit: Domenic Denicola <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1332686}
…g UTF-8, a=testonly Automatic update from web-platform-tests Navigation API: always resolve URLs using UTF-8 Follows whatwg/html#9756. Fixed: 40283021 Change-Id: Iac654e94044fb97c4618599fee8ecedcd0efdb4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5722413 Auto-Submit: Domenic Denicola <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1332686} -- wpt-commits: 2f1700a56d0fefd1e68ba043e5b58ce64e31e27d wpt-pr: 47284
…g UTF-8, a=testonly Automatic update from web-platform-tests Navigation API: always resolve URLs using UTF-8 Follows whatwg/html#9756. Fixed: 40283021 Change-Id: Iac654e94044fb97c4618599fee8ecedcd0efdb4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5722413 Auto-Submit: Domenic Denicola <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1332686} -- wpt-commits: 2f1700a56d0fefd1e68ba043e5b58ce64e31e27d wpt-pr: 47284
…g UTF-8, a=testonly Automatic update from web-platform-tests Navigation API: always resolve URLs using UTF-8 Follows whatwg/html#9756. Fixed: 40283021 Change-Id: Iac654e94044fb97c4618599fee8ecedcd0efdb4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5722413 Auto-Submit: Domenic Denicola <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Nate Chapin <[email protected]> Cr-Commit-Position: refs/heads/main@{#1332686} -- wpt-commits: 2f1700a56d0fefd1e68ba043e5b58ce64e31e27d wpt-pr: 47284
https://bugs.webkit.org/show_bug.cgi?id=276809 Reviewed by NOBODY (OOPS!). Implement the spec change from whatwg/html#9756. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8.html: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=utf8-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=windows-1252-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=x-cp1251-expected.txt: Added. * Source/WebCore/page/Navigation.cpp: (WebCore::Navigation::navigate):
https://bugs.webkit.org/show_bug.cgi?id=276809 Reviewed by Alex Christensen. Implement the spec change from whatwg/html#9756. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8.html: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=utf8-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=windows-1252-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=x-cp1251-expected.txt: Added. * Source/WebCore/page/Navigation.cpp: (WebCore::Navigation::navigate): Canonical link: https://commits.webkit.org/282889@main
https://bugs.webkit.org/show_bug.cgi?id=276809 Reviewed by Alex Christensen. Implement the spec change from whatwg/html#9756. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8.html: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=utf8-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=windows-1252-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-relative-url-utf8_encoding=x-cp1251-expected.txt: Added. * Source/WebCore/page/Navigation.cpp: (WebCore::Navigation::navigate): Canonical link: https://commits.webkit.org/282890@main
Fixes #9708.
(See WHATWG Working Mode: Changes for more details.)
/nav-history-apis.html ( diff )