Bug 34894

Summary: beforepaste, beforecut and beforecopy get fired when opening the "Edit" menu
Product: WebKit Reporter: webkit
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, cdumez, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.fredck.com/bugs/beforepaste/beforepaste.html
Attachments:
Description Flags
Test page none

webkit
Reported 2010-02-12 07:51:29 PST
The beforepaste, beforecut and beforecopy events get fired when clicking the "Edit" menu in Safari. Some of these events get fired even more than once. The provided URL demonstrates the problem.
Attachments
Test page (768 bytes, text/html)
2010-02-12 07:52 PST, webkit
no flags
webkit
Comment 1 2010-02-12 07:52:36 PST
Created attachment 48645 [details] Test page
Ryosuke Niwa
Comment 2 2012-04-30 21:21:26 PDT
*** Bug 77630 has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 3 2022-09-16 23:20:54 PDT
I am able to reproduce this bug in Safari Technology Preview 153 using attached test case, when I have Safari open and try to click "Edit" menu from the top bar, it triggers: beforeoncut, beforeoncopy and beforeonpaste dialog boxes while no other browser like Chrome Canary 107 and Firefox Nightly 106 trigger this based on the user interaction with the OS layer controls.
Radar WebKit Bug Importer
Comment 4 2022-09-19 09:47:17 PDT
Note You need to log in before you can comment on or make changes to this bug.