Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1e810fd834af971b12fe1d1099fa7427d2b2271f
https://github.com/WebKit/WebKit/commit/1e810fd834af971b12fe1d1099fa7427d2b2271f
Author: Ahmad Saleem <[email protected]>
Date: 2026-09-01 (Tue, 01 Sep 2026)
Changed paths:
M Source/WebCore/loader/FormSubmission.h
Log Message:
-----------
FormSubmission::boundary() returns String by value, forcing a copy
https://bugs.webkit.org/show_bug.cgi?id=322901
rdar://186160163
Reviewed by Chris Dumez.
FormSubmission::boundary() returned String by value, copying the
underlying StringImpl (an atomic ref-count churn) on every call. Every
other string accessor in the class -- contentType(), referrer(),
origin(), returnValue() -- already returns const String& with
LIFETIME_BOUND. Make boundary() consistent by returning a const
reference, since m_boundary's lifetime is tied to the FormSubmission.
* Source/WebCore/loader/FormSubmission.h:
Canonical link: https://commits.webkit.org/320312@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications