mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 08:51:04 +00:00
Bug 1474978 - Add crashtest. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D46756 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
b0e5901c93
commit
2c7f1d861c
14
editor/libeditor/crashtests/1474978.html
Normal file
14
editor/libeditor/crashtests/1474978.html
Normal file
@ -0,0 +1,14 @@
|
||||
<script>
|
||||
function go() {
|
||||
document.getSelection().setPosition(b);
|
||||
a.addEventListener("DOMNodeInserted", eh);
|
||||
document.execCommand("insertImage", false, "#");
|
||||
}
|
||||
function eh() {
|
||||
document.execCommand("selectAll", false);
|
||||
document.execCommand("insertText", false, "");
|
||||
}
|
||||
</script>
|
||||
<body onload=go()>
|
||||
<dd id="a" contenteditable="true">
|
||||
<template id="b"></template>
|
@ -108,6 +108,7 @@ skip-if(Android) needs-focus load 1444630.html
|
||||
load 1446451.html
|
||||
asserts(0-2) load 1464251.html # assertion is that mutation event listener modifies content
|
||||
pref(layout.accessiblecaret.enabled,true) load 1470926.html
|
||||
asserts(0-1) load 1474978.html # assertion is that mutation event listener modifies content
|
||||
load 1525481.html
|
||||
load 1533913.html
|
||||
load 1534394.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user