Bug 1414893 - Add the reported testcase to WPT r=sefeng

I don't reproduce the crash even if I rewrite the test using `attachShadow`
which replaced `createShadowRoot`.  Therefore, this patch just adds the reported
testcase into the tree.

Differential Revision: https://phabricator.services.mozilla.com/D213375
This commit is contained in:
Masayuki Nakano 2024-06-14 00:15:44 +00:00
parent ba3daa61e1
commit 9e46b7e834

View File

@ -0,0 +1,17 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
"use strict";
const p = document.createElement("p");
document.documentElement.appendChild(p);
const shadowRoot = p.attachShadow({mode: "open"});
const textarea = document.createElement("textarea");
shadowRoot.appendChild(textarea);
textarea.defaultValue = "|";
</script>
</head>
<body></body>
</html>