mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1324505 - Part 2. Add crash test. r=masayuki
MozReview-Commit-ID: 7NJr1fGKBZA --HG-- extra : rebase_source : 6d1da342b10c7d05b82be445665902d1dd47430e
This commit is contained in:
parent
47569ce31a
commit
540f7d2d63
24
editor/libeditor/crashtests/1324505.html
Normal file
24
editor/libeditor/crashtests/1324505.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<script>
|
||||
addEventListener("DOMContentLoaded", function(){
|
||||
let root = document.documentElement;
|
||||
while(root.firstChild) {
|
||||
root.removeChild(root.firstChild);
|
||||
}
|
||||
let o_0 = document.createElement("body");
|
||||
root.appendChild(o_0);
|
||||
o_0.appendChild(document.createElement("table"));
|
||||
o_0.appendChild(document.createElement("canvas"));
|
||||
let o_1 = document.createElement("canvas");
|
||||
o_0.appendChild(o_1);
|
||||
o_1.setAttribute("contenteditable", "true");
|
||||
setTimeout(function(){
|
||||
document.execCommand("selectAll", false, "Marker felt");
|
||||
document.designMode = 'on';
|
||||
document.execCommand("insertorderedlist", false, null);
|
||||
document.execCommand("insertorderedlist", false, null);
|
||||
}, 0);
|
||||
});
|
||||
</script>
|
||||
</html>
|
@ -71,3 +71,4 @@ load 1264921.html
|
||||
load 1272490.html
|
||||
load 1317704.html
|
||||
load 1317718.html
|
||||
load 1324505.html
|
||||
|
Loading…
Reference in New Issue
Block a user