Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f3c815d65f98a983816d847ba3c5d5277f84724
      
https://github.com/WebKit/WebKit/commit/2f3c815d65f98a983816d847ba3c5d5277f84724
  Author: Diego Pino Garcia <[email protected]>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M Source/WebCore/dom/Element.cpp

  Log Message:
  -----------
  Cherry-pick 313644@main (f5376181a643). 
https://bugs.webkit.org/show_bug.cgi?id=313649

    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

Canonical link: https://commits.webkit.org/305877.970@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to