[Webkit-unassigned] [Bug 31721] Using jQuery to show/hide IMG elements crashes WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 20 21:14:19 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=31721





--- Comment #31 from Andrey Petrov <andrey.petrov at gmail.com>  2011-05-20 21:14:18 PST ---
(From update of attachment 94308)
View in context: https://bugs.webkit.org/attachment.cgi?id=94308&action=review

>> LayoutTests/editing/pasteboard/copy-standalone-image-crash.html:32
>> +    // As long as didn't crash, we passed.
> 
> This comment is redundant.

copied it from some other tests (found it useful actually), but sure

>> LayoutTests/editing/pasteboard/copy-standalone-image-crash.html:63
>> +        items = eventSender.contextClick();
> 
> What's the point in calling contextClick() here?

to popup context menu and to programmatically learn action items available

>> LayoutTests/editing/pasteboard/copy-standalone-image-crash.html:67
>> +        setTimeout(doclick, 10);
> 
> What's the point of this setTimeout?

to execute detachment of render to the node WHILE the context menu is popped up.
This is the heart of the problem in this bug

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list