<?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>195818</bug_id>
          
          <creation_ts>2019-03-15 13:43:55 -0700</creation_ts>
          <short_desc>Remove incremental attribute and search event</short_desc>
          <delta_ts>2023-07-14 12:31:22 -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>Safari 12</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=257686</see_also>
    
    <see_also>https://bugs.chromium.org/p/chromium/issues/detail?id=690143</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mike</reporter>
          <assigned_to name="Anne van Kesteren">annevk</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>akeerthi</cc>
    
    <cc>annevk</cc>
    
    <cc>karlcow</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>zcorpan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1517102</commentid>
    <comment_count>0</comment_count>
    <who name="">mike</who>
    <bug_when>2019-03-15 13:43:55 -0700</bug_when>
    <thetext>WebKit implements the following non-standard APIs:

- Document#onsearch
- Element#onsearch
- the `search` event

Neither Firefox nor Edge implement these.

Blink *does* implement these APIs, but the Blink maintainers are currently
investigating the impact of its removal [1]. That issue includes references
to the `incremental` attribute, but I have not seen any indication of its
existence in WebKit.

WebKit currently has at least one open bug concerning the behavior of this
feature [2].

[1] https://github.com/whatwg/html/issues/667
[2] https://bugs.webkit.org/show_bug.cgi?id=13786</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1517113</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-15 13:55:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/48937114&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1585088</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2019-10-29 14:14:34 -0700</bug_when>
    <thetext>Tests added in https://github.com/web-platform-tests/wpt/pull/19889

The test results suggest WebKit does support an incremental attribute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903442</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-10-05 09:17:35 -0700</bug_when>
    <thetext>Only Firefox passes these tests:

https://wpt.fyi/results/html/semantics/forms?label=master&amp;label=experimental&amp;aligned&amp;view=subtest&amp;q=historical-search-event.html

https://wpt.fyi/results/html/semantics/forms/historical.html?label=master&amp;label=experimental&amp;aligned&amp;view=subtest&amp;q=html%2Fsemantics%2F

_____

Do we have any strategy to remove these non-standards APIs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960082</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-06-06 10:01:45 -0700</bug_when>
    <thetext>*** Bug 257687 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961028</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-06-12 07:22:42 -0700</bug_when>
    <thetext>*** Bug 257686 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966419</commentid>
    <comment_count>6</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-07-12 11:12:55 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/15788</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966422</commentid>
    <comment_count>7</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-07-12 11:25:56 -0700</bug_when>
    <thetext>I&apos;m checking with Chromium if they&apos;re still interested in doing this: https://bugs.chromium.org/p/chromium/issues/detail?id=690143#c25.

Aditya, are you still comfortable with what you said in https://github.com/WebKit/WebKit/pull/14701#issuecomment-1579407262?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966466</commentid>
    <comment_count>8</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2023-07-12 13:51:18 -0700</bug_when>
    <thetext>(In reply to Anne van Kesteren from comment #7)
&gt; I&apos;m checking with Chromium if they&apos;re still interested in doing this:
&gt; https://bugs.chromium.org/p/chromium/issues/detail?id=690143#c25.
&gt; 
&gt; Aditya, are you still comfortable with what you said in
&gt; https://github.com/WebKit/WebKit/pull/14701#issuecomment-1579407262?

I&apos;m slightly more concerned about removing the &quot;search&quot; event without a link check, since it could it completely break search functionality in apps that rely on it. Whereas, if we removed incremental without a link check, users could still use the enter key to initiate a search.

I&apos;m still comfortable with removing both from the web, but would lean towards keeping the &quot;search&quot; event with a link check, since we don&apos;t know the surface of apps we may affect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966791</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-07-14 12:31:19 -0700</bug_when>
    <thetext>Committed 266068@main (99ff08340f12): &lt;https://commits.webkit.org/266068@main&gt;

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

    </bug>

</bugzilla>