<?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>284592</bug_id>
          
          <creation_ts>2024-12-12 16:38:02 -0800</creation_ts>
          <short_desc>☂️ dialog closedby attribute</short_desc>
          <delta_ts>2026-03-20 08:45:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=285989</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>274717</dependson>
    
    <dependson>298200</dependson>
    
    <dependson>297954</dependson>
    
    <dependson>298201</dependson>
    
    <dependson>310299</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mason Freed">masonf</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>afrehner.work</cc>
    
    <cc>annevk</cc>
    
    <cc>ik</cc>
    
    <cc>karlcow</cc>
    
    <cc>lwarlow</cc>
    
    <cc>ntim</cc>
    
    <cc>ryan</cc>
    
    <cc>thaa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit.bugzilla</cc>
    
    <cc>webkit.org</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2081364</commentid>
    <comment_count>0</comment_count>
    <who name="Mason Freed">masonf</who>
    <bug_when>2024-12-12 16:38:02 -0800</bug_when>
    <thetext>This is an implementation bug for the new light dismiss behaviors (including closedby attribute and dialog.requestclose()) proposed here:

https://github.com/whatwg/html/pull/10737</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083165</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-19 16:38:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/141789116&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087417</commentid>
    <comment_count>2</comment_count>
    <who name="Luke Warlow">lwarlow</who>
    <bug_when>2025-01-15 05:21:16 -0800</bug_when>
    <thetext>Moved dialog.requestClose() to its own bug as I believe it can be implemented separate to the other changes (which rely on CloseWatcher being implemented in WebKit). https://bugs.webkit.org/show_bug.cgi?id=285989</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090449</commentid>
    <comment_count>3</comment_count>
    <who name="Luke Warlow">lwarlow</who>
    <bug_when>2025-01-29 09:24:20 -0800</bug_when>
    <thetext>Assigning to myself, I have a prototype of the closedby=&quot;any&quot; behaviour, am waiting on Close Watcher&apos;s to be merged and integrated with dialog so I can implement the closerequest and none values too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138943</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-08-26 18:04:24 -0700</bug_when>
    <thetext>Luke,

Since dialog.requestClose() has been merged, Would publishing the closedby=&quot;any&quot; prototype be possible?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139002</commentid>
    <comment_count>5</comment_count>
    <who name="Luke Warlow">lwarlow</who>
    <bug_when>2025-08-27 01:10:07 -0700</bug_when>
    <thetext>For the full closedby it needs wider close watcher support (I believe anyway, there may be a way to approximate it without that) but yes I think the best course of action is to get the prototype for closedby=any into a PR just have it behind a flag and then as more gets done we can finish it off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2139016</commentid>
    <comment_count>6</comment_count>
    <who name="Luke Warlow">lwarlow</who>
    <bug_when>2025-08-27 04:37:27 -0700</bug_when>
    <thetext>https://github.com/whatwg/html/pull/11326 - for those tracking there was also some spec issues with the initial version of closedby which delayed things a bit while we resolved them. This is the final change neccessary before we have a solid base to work from.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>