Bug 30893

Summary: wrong global context used when dragging an image into an iframe
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: WebCore JavaScriptAssignee: Erik Arvidsson <arv>
Status: NEW    
Severity: Normal CC: abarth, arv, eric
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Test case. Based off LayoutTests/editing/selection/drag-to-contenteditable-iframe.html
none
Fixes the test none

Ojan Vafai
Reported 2009-10-28 18:26:01 PDT
Created attachment 42076 [details] Test case. Based off LayoutTests/editing/selection/drag-to-contenteditable-iframe.html Dragging the following image into an iframe alerts "true" in Safari, but alerts false in Chrome 4, Firefox 3 and IE 7: <img src="http://google.com/images/logo.gif" onload="alert(window == top)"> Test case attached.
Attachments
Test case. Based off LayoutTests/editing/selection/drag-to-contenteditable-iframe.html (286 bytes, text/html)
2009-10-28 18:26 PDT, Ojan Vafai
no flags
Fixes the test (2.26 KB, patch)
2009-11-09 18:28 PST, Erik Arvidsson
no flags
Erik Arvidsson
Comment 1 2009-11-09 18:28:46 PST
Created attachment 42828 [details] Fixes the test
Erik Arvidsson
Comment 2 2009-11-09 18:30:40 PST
Comment on attachment 42828 [details] Fixes the test I'll open a new bug on the invalid test.
Note You need to log in before you can comment on or make changes to this bug.