Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 17fce107c78323439f6841483292a9bfc97f4c5b
      
https://github.com/WebKit/WebKit/commit/17fce107c78323439f6841483292a9bfc97f4c5b
  Author: Brent Fulgham <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M Source/WebCore/loader/FrameLoader.cpp

  Log Message:
  -----------
  REGRESSION (294079@main): [  MacOS iOS WK2 ] 3X 
imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form are 
consistent failures
https://bugs.webkit.org/show_bug.cgi?id=292582
rdar://150733740

Reviewed by Ryosuke Niwa.

I introduced a user-after-move in 294079@main (in 
FrameLoader::loadPostRequest). This patch corrects that mistake.

Tested by:
imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-userInitiated.html
imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-with-target.html
imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form.html

* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadPostRequest): Revert back to using a const reference 
for url, since it is sometimes
used again in a later bit of code. Moving the object causes it to be blank 
later, which is incorrect.

Canonical link: https://commits.webkit.org/294582@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to