summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1505811.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/base/crashtests/1505811.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/dom/base/crashtests/1505811.html b/dom/base/crashtests/1505811.html
new file mode 100644
index 0000000000..10be85c6dd
--- /dev/null
+++ b/dom/base/crashtests/1505811.html
@@ -0,0 +1,24 @@
+<html>
+
+<head>
+ <script>
+ function start() {
+ window.CustomElement0 = class extends HTMLElement {
+ constructor() {
+ super()
+ }
+ connectedCallback() {
+ this.before('', custom)
+ this.outerHTML = '<input pattern=""value=ð>'
+ }
+ }
+ customElements.define('custom-element-0', CustomElement0)
+ custom = document.createElementNS('http://www.w3.org/1999/xhtml', 'custom-element-0')
+ document.documentElement.appendChild(custom)
+ }
+
+ document.addEventListener('DOMContentLoaded', start)
+ </script>
+</head>
+
+</html> \ No newline at end of file