Bug 245944 - Input type "button" remains in pressed state for half a second
Summary: Input type "button" remains in pressed state for half a second
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-02 04:52 PDT by Ahmad Saleem
Modified: 2023-02-06 17:07 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-10-02 04:52:29 PDT
Hi Team,

While going through Chrome Monorail, I came across following test case, where clicking on "Button" hangs Safari Technology Preview 154 for few seconds.

Link - http://jsfiddle.net/7KMj7/

Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=393504

Link - https://bugs.chromium.org/p/chromium/issues/detail?id=393504#c4

1) Open above link
2) Click on "button" and it is not immediately show console output, it shows "button" in pressed state for few seconds.
Comment 1 Radar WebKit Bug Importer 2022-10-09 04:53:17 PDT
<rdar://problem/100946158>
Comment 2 Alexey Proskuryakov 2022-10-09 13:54:59 PDT
I cannot reproduce it staying pressed for multiple seconds on my M1 MacBook Pro, but it does stay pressed for maybe half a second, which does appear to indicate a bug.
Comment 3 Ahmad Saleem 2022-10-10 02:32:47 PDT
(In reply to Alexey Proskuryakov from comment #2)
> I cannot reproduce it staying pressed for multiple seconds on my M1 MacBook
> Pro, but it does stay pressed for maybe half a second, which does appear to
> indicate a bug.

I think my browser hanged because I had loads of tabs and system load in the background but you are right that "pressed" button is more of prevalent issue and I should rename this bug title to reflect this properly.
Comment 4 Ahmad Saleem 2023-02-06 15:36:58 PST
It is not slower anymore and works fine in Safari 16.3 & Safari Technology Preview 162.

Do we need to track anymore?
Comment 5 Alexey Proskuryakov 2023-02-06 17:07:15 PST
This still reproduces for me, but inconsistently. After clicking on the button multiple times, I quickly start seeing significant delays.