diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:27:56 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:27:56 -0400 |
commit | ef689a705ffdd79cdeeca8e68438b4ad6597f38d (patch) | |
tree | b349fdaf9a8a6e5ef95214d9260417ec6cff5d81 /editor/libeditor/crashtests | |
parent | 091d06b43b294390a96106e57a7462f6303107a3 (diff) | |
download | UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar.gz UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar.lz UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar.xz UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.zip |
Bug 1348851 - Use new block when better selection isn't found.
Tag #1375
Diffstat (limited to 'editor/libeditor/crashtests')
-rw-r--r-- | editor/libeditor/crashtests/1348851.html | 19 | ||||
-rw-r--r-- | editor/libeditor/crashtests/crashtests.list | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1348851.html b/editor/libeditor/crashtests/1348851.html new file mode 100644 index 000000000..d618f049e --- /dev/null +++ b/editor/libeditor/crashtests/1348851.html @@ -0,0 +1,19 @@ +<!DOCTYPE> +<html> +<head> +<meta charset="UTF-8"> +<script> +function boom(){ + document.designMode = "on"; + document.execCommand("insertlinebreak"); + document.designMode = "off"; + document.designMode = "on"; + document.execCommand("insertunorderedlist"); +} +addEventListener("DOMContentLoaded", boom); +</script> +</head> +<body style="display:flex;"> +<!--comment--> +</body> +</html> diff --git a/editor/libeditor/crashtests/crashtests.list b/editor/libeditor/crashtests/crashtests.list index 3fbc6b196..7b1c57dbf 100644 --- a/editor/libeditor/crashtests/crashtests.list +++ b/editor/libeditor/crashtests/crashtests.list @@ -68,4 +68,5 @@ load 1158452.html load 1158651.html load 1244894.xhtml load 1272490.html +load 1348851.html load 1317704.html |