When creating a WebView via HIWebViewCreate and loading a page which includes an iframe, oncontextmenu javascript events of the page inside the iframe will not be processed. Only the page inside of the mainFrame do receive the javascript event "oncontextmenu", but none of its children inside iframes. Tested with own implementation and CarbonWeb (from the Apple SDK) linked against the latest WebKit. Sample Attached.
Created attachment 21833 [details] main page to be loaded
Created attachment 21834 [details] iframe page
Sry forgot something: Steps to reproduce: 1.) Load test.html inside a WebView created via HIWebViewCreate 2.) Right-Click the text inside the iframe Expected behavior: 1.) Alert box pops up 2.) Page navigates to a new webpage (via window.location) Experienced behavior: 1.) Does nothing.
New results after another test-run: 1.) Right-Click into IFrame 2.) Native context menu appears 3.) Right-Click inside the IFrame or ContextMenu 4.) Make context menu disapear (somehow ... left click into the iframe or click on the contextmenu) 5.) oncontextmenu gets triggered. los weirdos ...