Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3510b2d8216c23d016a1f27b5c2896356091dd5c
      
https://github.com/WebKit/WebKit/commit/3510b2d8216c23d016a1f27b5c2896356091dd5c
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M Source/WebCore/page/Quirks.cpp

  Log Message:
  -----------
  Use an _s literal for the host comparison in Quirks::handleTMobileQuirks
https://bugs.webkit.org/show_bug.cgi?id=318101
rdar://180894857

Reviewed by Chris Dumez.

handleTMobileQuirks() compared the host StringView returned by URL::host()
against a bare const char* literal, which takes the strlen-based comparison
path. Use an ASCIILiteral (_s) operand so the length-aware comparison is
used, matching the convention used by the other host comparisons in the
quirk handlers. No behavior change.

* Source/WebCore/page/Quirks.cpp:

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



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

Reply via email to