mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1857597 - Add test for bug 1856737; r=smaug
Depends on D190348 Differential Revision: https://phabricator.services.mozilla.com/D190350
This commit is contained in:
parent
388cb44827
commit
e7ae0f0c44
19
dom/events/crashtests/1856737.html
Normal file
19
dom/events/crashtests/1856737.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE HTML>
|
||||
<script>
|
||||
let container = document.documentElement;
|
||||
for(let i = 0; i < 256; i++) {
|
||||
let div = document.createElement("div");
|
||||
container.appendChild(div);
|
||||
container = div;
|
||||
}
|
||||
|
||||
let input = document.createElement("input");
|
||||
input.type = "radio";
|
||||
container.appendChild(input);
|
||||
|
||||
let evt = new MouseEvent("click", {
|
||||
bubbles: true,
|
||||
cancelable: true,
|
||||
});
|
||||
input.dispatchEvent(evt);
|
||||
</script>
|
@ -16,3 +16,4 @@ load eventctor-nullstorage.html
|
||||
load recursive-DOMNodeInserted.html
|
||||
load recursive-onload.html
|
||||
load 1397711.html
|
||||
load 1856737.html
|
||||
|
Loading…
Reference in New Issue
Block a user