Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 71a2925a0afe123fc95af80b8336eeb93813fe9d https://github.com/WebKit/WebKit/commit/71a2925a0afe123fc95af80b8336eeb93813fe9d Author: Wenson Hsieh <wenson_hs...@apple.com> Date: 2023-01-10 (Tue, 10 Jan 2023)
Changed paths: M Source/WTF/wtf/URL.cpp M Source/WTF/wtf/URL.h M Tools/TestWebKitAPI/Tests/WTF/URL.cpp Log Message: ----------- Augment a WTF::URL helper function to return a list of query parameters https://bugs.webkit.org/show_bug.cgi?id=250402 Reviewed by Chris Dumez. Tweak `removeQueryParameters` to return a list of query parameters that were removed, in the order that they appear in the original URL (including duplicates). Test: WTF_URL.URLRemoveQueryParameters * Source/WTF/wtf/URL.cpp: (WTF::removeQueryParameters): * Source/WTF/wtf/URL.h: * Tools/TestWebKitAPI/Tests/WTF/URL.cpp: (TestWebKitAPI::TEST_F): Canonical link: https://commits.webkit.org/258755@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes