Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 553f822bf6fa592807f47a3976f363074ad365e5
      
https://github.com/WebKit/WebKit/commit/553f822bf6fa592807f47a3976f363074ad365e5
  Author: Richard Robinson <[email protected]>
  Date:   2026-03-23 (Mon, 23 Mar 2026)

  Changed paths:
    M Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj
    R Source/WebCore/PAL/pal/PALSwift/RegexpHelper.swift
    M Source/WebCore/PAL/pal/module.modulemap
    A Source/WebCore/PAL/pal/system/cocoa/RegexHelper.h
    A Source/WebCore/PAL/pal/system/cocoa/RegexHelper.swift
    M Source/WebCore/workers/service/ServiceWorkerRoute.mm

  Log Message:
  -----------
  [Swift in WebKit] Non-PAL targets should not access the internal PAL Swift 
bridging header (part 2)
https://bugs.webkit.org/show_bug.cgi?id=310491
rdar://173115129

Reviewed by Youenn Fablet.

Use an Obj-C interface with a Swift implementation, instead of using PAL's 
internal Swift generated header
from within WebCore.

* Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj:
* Source/WebCore/PAL/pal/module.modulemap:
* Source/WebCore/PAL/pal/system/cocoa/RegexHelper.h: Added.
* Source/WebCore/PAL/pal/system/cocoa/RegexHelper.swift: Renamed from 
Source/WebCore/PAL/pal/PALSwift/RegexpHelper.swift.
(WebPALRegexHelper.matchPattern(_:value:shouldIgnoreCase:)):
* Source/WebCore/workers/service/ServiceWorkerRoute.mm:
(WebCore::isRegexpMatching):

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



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

Reply via email to