Bug 244426

Summary: Persistent "Alert" box which does not dismiss
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, bfulgham, ggaren, karlcow, rniwa, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=18315

Description Ahmad Saleem 2022-08-27 01:32:24 PDT
Hi Team,

Hope you are doing great and making Webkit awesome.. Keep pushing!! :-)

While I was trying to reproduce issue using Chromium / Blink patch in bug 117442, I turned the Blink patch into test case as below:

Link - https://jsfiddle.net/2ouzpebg/show

*** STEPS TO REPRODUCE ***

1) Open JSFiddle
2) Focus on contenteditable input field

<<< ACTUAL RESULT >>>

Alert to show Pass will keep on showing-up even if you do "Close" and it might not show for few seconds but as soon as you move mouse it will be again.

<<< EXPECTED RESULT >>>

Alert box should have "field" to suppress future alerts similar to other browsers like Firefox etc. and it should be dismissible

NOTE - Chrome Canary 107 also suffer from this. Only Firefox Nightly 106 show this dialog box once and then don't next time.

I think we should match Firefox here because this can be used for spam or to annoy end-user with non-dismissible alert box.

_________

Keep pushing and make Webkit awesome!!!

Thanks!
Comment 1 Ahmad Saleem 2022-08-27 01:33:22 PDT
I tested it on Safari Technology Preview 152 - I forgot to add. :-(
Comment 2 Radar WebKit Bug Importer 2022-08-27 18:37:27 PDT
<rdar://problem/99237202>
Comment 3 Karl Dubost 2022-08-28 21:24:37 PDT
It inhibits the Web inspector developer tools too. 
The only to get rid of this is to close the tab and reopen a new one.
Comment 4 Karl Dubost 2022-08-28 21:29:41 PDT
btw Firefox has a similar issue when clicking on the second "text" label (not the input box), a series of two alert box are set and the second one can't be dismissed except if we forbid the site to prompt us again.
Comment 5 Ahmad Saleem 2022-08-30 09:53:19 PDT
This is another test case, I found upon triaging old bugs:

https://bug-18315-attachments.webkit.org/attachment.cgi?id=22988#

Bug - https://bugs.webkit.org/show_bug.cgi?id=18315