[Webkit-unassigned] [Bug 31721] Using jQuery to show/hide IMG elements crashes WebKit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 25 07:38:44 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31721
--- Comment #5 from Mihnea Ovidenie <mihnea at adobe.com> 2009-11-25 07:38:44 PST ---
Created an attachment (id=43844)
--> (https://bugs.webkit.org/attachment.cgi?id=43844)
Simple HTML test file, no jquery involved
I made a simplified version of the crash and tested with latest nighlty 51303
on Windows. This time, no jquery involved. Basically, the code that crashes
WebKit is as follows:
<script>
function openPreferences() {
setTimeout(function() {
document.getElementById('DIV').style.display = 'none';
}, 100);
}
</script>
<body onmousedown="openPreferences()">
<div>
<div ID="DIV">
<div> <img id="IMG" src="5day.png"/> </div>
</div>
</div>
</body>
If hiding (or removing) the image from DOM is done on a timer, then the right
click menu can be displayed and in addition to that, when the CopyImage action
is chosen, Webkit crashes since the renderer for the node is 0.
Regards,
Mihnea
--
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