<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>306874</bug_id>
          
          <creation_ts>2026-02-03 07:40:06 -0800</creation_ts>
          <short_desc>Create C++ utilities and declare types required for Swift Back Forward List</short_desc>
          <delta_ts>2026-02-05 05:51:06 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Process Model</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>305483</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>adrian_taylor</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>nham</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2177588</commentid>
    <comment_count>0</comment_count>
    <who name="">adrian_taylor</who>
    <bug_when>2026-02-03 07:40:06 -0800</bug_when>
    <thetext>We&apos;re creating a Swift version of the Back Forward List IPC message handler.

Swift code can&apos;t always directly work with 100% of pre-existing C++ APIs, so we need to introduce a header file which simplifies some types and functions to make them accessible in Swift.

Specifically,
- Make lots of concrete types using statements like
using VectorRefPtrAPIObject = Vector&lt;RefPtr&lt;Object&gt;&gt;;
- Where Swift code would rely on C++ preprocessor macros, we need to do it in C++ instead
- C++ functions to work around a couple of known Swift/C++ interop bugs.

This bug represents the task of adding these functions and concrete types to call from Swift.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177589</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-02-03 07:40:11 -0800</bug_when>
    <thetext>&lt;rdar://problem/169533295&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2178366</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-02-05 05:51:04 -0800</bug_when>
    <thetext>Committed 306864@main (c4cab0f5e07b): &lt;https://commits.webkit.org/306864@main&gt;

Reviewed commits have been landed. Closing PR #57291 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>