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:
Edgar Chen 2023-10-16 09:13:36 +00:00
parent 388cb44827
commit e7ae0f0c44
2 changed files with 20 additions and 0 deletions

View 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>

View File

@ -16,3 +16,4 @@ load eventctor-nullstorage.html
load recursive-DOMNodeInserted.html
load recursive-onload.html
load 1397711.html
load 1856737.html