mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 771749 - Fix dangling pointer in nsEditor::RemoveContainer; r=ehsan
This commit is contained in:
parent
c595d9ad0f
commit
acbe12b416
21
editor/libeditor/base/crashtests/771749.html
Normal file
21
editor/libeditor/base/crashtests/771749.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var root = document.documentElement;
|
||||
root.contentEditable = "true";
|
||||
document.removeChild(root);
|
||||
document.appendChild(root);
|
||||
document.execCommand("insertunorderedlist", false, null);
|
||||
document.execCommand("inserthtml", false, "<span></span>");
|
||||
document.execCommand("outdent", false, null);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
@ -15,3 +15,4 @@ load 766360.html
|
||||
load 766413.html
|
||||
load 766845.xhtml
|
||||
load 768765.html
|
||||
needs-focus load 771749.html
|
||||
|
Loading…
Reference in New Issue
Block a user