mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 496011. Add crashtest.
This commit is contained in:
parent
4c7d0cd835
commit
644bb060fe
20
layout/base/crashtests/496011-1.xhtml
Normal file
20
layout/base/crashtests/496011-1.xhtml
Normal file
@ -0,0 +1,20 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.body.setAttribute("contenteditable", "true");
|
||||
document.execCommand("selectAll", false, null);
|
||||
document.execCommand("inserthtml", false, "<span><div><\/div><\/span>");
|
||||
document.execCommand("undo", false, null);
|
||||
}
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"><textarea><span/></textarea></body>
|
||||
|
||||
</html>
|
@ -269,6 +269,7 @@ load 492014.xhtml
|
||||
load 492112-1.xhtml
|
||||
load 492163-1.xhtml
|
||||
load 495350-1.html
|
||||
load 496011-1.xhtml
|
||||
load 497519-1.xhtml
|
||||
load 497519-2.xhtml
|
||||
load 499741-1.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user