<?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>305846</bug_id>
          
          <creation_ts>2026-01-20 09:01:41 -0800</creation_ts>
          <short_desc>Blur and Focus events should only be dispatched if the window is both active and focused.</short_desc>
          <delta_ts>2026-07-13 12:19:21 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <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>319127</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jlee53</reporter>
          <assigned_to>jlee53</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2173352</commentid>
    <comment_count>0</comment_count>
    <who name="">jlee53</who>
    <bug_when>2026-01-20 09:01:41 -0800</bug_when>
    <thetext>If a window comes into focus, the focus controller may dispatch excess events currently. 

We should only dispatch events when a window either becomes both focused &amp; active or when a window transition out of being both focused and active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173409</commentid>
    <comment_count>1</comment_count>
    <who name="">jlee53</who>
    <bug_when>2026-01-20 11:43:04 -0800</bug_when>
    <thetext>&lt;rdar://problem/168467484&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173412</commentid>
    <comment_count>2</comment_count>
    <who name="">jlee53</who>
    <bug_when>2026-01-20 11:45:57 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56919</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2227961</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-07-08 10:55:12 -0700</bug_when>
    <thetext>Committed 316735@main (742452b1b1a5): &lt;https://commits.webkit.org/316735@main&gt;

Reviewed commits have been landed. Closing PR #56919 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2228995</commentid>
    <comment_count>4</comment_count>
    <who name="">revert-bot</who>
    <bug_when>2026-07-10 16:06:11 -0700</bug_when>
    <thetext>Reopened Bugzilla.
REGRESSION(316735@main?): [macOS] TestWebKitAPI.WKWebView.InputChangeFiresOnWindowBlur is flaky failure, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=319127.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2229775</commentid>
    <comment_count>5</comment_count>
    <who name="">jlee53</who>
    <bug_when>2026-07-13 12:19:21 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/69287</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>