Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /dom/nodes/node-appendchild-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" href="mailto:masonf@chromium.org">
<meta name="assert" content="The renderer should not crash.">
<iframe id=iframe></iframe>
<select>Text Node
<option id=option></option>
</select>
<script>
window.onload=function() {
iframe.addEventListener('DOMNodeInsertedIntoDocument',function() {});
option.remove();
iframe.contentDocument.body.appendChild(document.body);
}
</script>