summaryrefslogtreecommitdiff
path: root/dom/base/crashtests
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:25:14 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:25:14 -0400
commitfd7a325bc08f1f027b692181b6c7ab5efaf619aa (patch)
tree2d5fffa0474fea1a9d2f4fb855e6aabdf4b05d4c /dom/base/crashtests
parentf0b7ba1e2b49858ce2755c61beebe3694cae882f (diff)
downloaduxp-fd7a325bc08f1f027b692181b6c7ab5efaf619aa.tar.gz
Bug 1422931 - Fix crash with slot element and make webcomponents preference per-doc
Tag #1375
Diffstat (limited to 'dom/base/crashtests')
-rw-r--r--dom/base/crashtests/1422931.html6
-rw-r--r--dom/base/crashtests/crashtests.list1
2 files changed, 7 insertions, 0 deletions
diff --git a/dom/base/crashtests/1422931.html b/dom/base/crashtests/1422931.html
new file mode 100644
index 0000000000..9f09f41efd
--- /dev/null
+++ b/dom/base/crashtests/1422931.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+<body>
+<!-- Testing slot element with "dom.webcomponents.enabled" set to false -->
+<slot><div></div></slot>
+</html>
diff --git a/dom/base/crashtests/crashtests.list b/dom/base/crashtests/crashtests.list
index 8b115fd4de..d451d93848 100644
--- a/dom/base/crashtests/crashtests.list
+++ b/dom/base/crashtests/crashtests.list
@@ -211,3 +211,4 @@ load 1304437.html
pref(clipboard.autocopy,true) load 1385272-1.html
pref(dom.webcomponents.customelements.enabled,true) load 1341693.html
pref(dom.webcomponents.enabled,true) load 1419799.html
+pref(dom.webcomponents.enabled,false) load 1422931.html