<?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>306516</bug_id>
          
          <creation_ts>2026-01-29 03:12:07 -0800</creation_ts>
          <short_desc>Swift Back Forward List</short_desc>
          <delta_ts>2026-01-29 03:13:18 -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>DUPLICATE</resolution>
          <dup_id>305483</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>306515</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>adrian_taylor</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>nham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2176143</commentid>
    <comment_count>0</comment_count>
    <who name="">adrian_taylor</who>
    <bug_when>2026-01-29 03:12:07 -0800</bug_when>
    <thetext>This is an umbrella bug for the work required to build a Swift version of the Web Back Forward List.

RATIONALE:

WebKit wishes to use Swift to provide much stronger memory safety in its most
sensitive attack surface: CoreIPC message handlers. This PR prototypes how
we can convert a single, simple, message handler to Swift. In itself, converting
this message handler provides negligible security benefit (in fact, rewrites
usually introduce extra bugs) but having a message handler in Swift paves the
way for future work - in particular, it ensures that any future new subsystems
can be written in Swift rather than C++.

BUILDING:

By default this change has no effect. If the LocalOverride option:
  ENABLE_BACK_FORWARD_LIST_SWIFT=ENABLE_BACK_FORWARD_LIST_SWIFT
is given, then a Swift version of the WebBackForwardList will be used. It is
intended to be functionally the same as the C++ version. A recent SDK will
need to be used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176144</commentid>
    <comment_count>1</comment_count>
    <who name="">adrian_taylor</who>
    <bug_when>2026-01-29 03:13:18 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 305483 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>