Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f5376181a64311425085fa351264e3fe8051df64
https://github.com/WebKit/WebKit/commit/f5376181a64311425085fa351264e3fe8051df64
Author: Diego Pino Garcia <[email protected]>
Date: 2026-05-20 (Wed, 20 May 2026)
Changed paths:
M LayoutTests/platform/gtk/TestExpectations
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
REGRESSION(312211@main) Re-introduce URL protocol check for WebKitGTK
https://bugs.webkit.org/show_bug.cgi?id=313649
Reviewed by Carlos Garcia Campos.
After 312211@main, method 'resolveURLStringIfNeeded' always returns a
complete URL for 'ResolveURLs::YesExcludingURLsForPrivacy'.
This change made several tests regress for WebKitGTK since now 'href' or 'src'
values equal to a full filesystem URL. Before 312211@main, an extra check
returned a relative URL in case the URL's protocol was filesystem. This seems
to be the correct behaviour for WebKitGTK.
Reintroduce URL's protocol check, but only for WebKitGTK.
* LayoutTests/platform/gtk/TestExpectations:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::resolveURLStringIfNeeded const):
Canonical link: https://commits.webkit.org/313644@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications