Bug 34894 - beforepaste, beforecut and beforecopy get fired when opening the "Edit" menu
Summary: beforepaste, beforecut and beforecopy get fired when opening the "Edit" menu
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.fredck.com/bugs/beforepast...
Keywords: InRadar
: 77630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-12 07:51 PST by webkit
Modified: 2022-09-19 09:47 PDT (History)
7 users (show)

See Also:


Attachments
Test page (768 bytes, text/html)
2010-02-12 07:52 PST, webkit
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description webkit 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.
Comment 1 webkit 2010-02-12 07:52:36 PST
Created attachment 48645 [details]
Test page
Comment 2 Ryosuke Niwa 2012-04-30 21:21:26 PDT
*** Bug 77630 has been marked as a duplicate of this bug. ***
Comment 3 Ahmad Saleem 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.
Comment 4 Radar WebKit Bug Importer 2022-09-19 09:47:17 PDT
<rdar://problem/100126511>