diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-03-04 17:41:08 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2023-03-04 21:32:17 +0800 |
commit | 8caa472402447236440697797809170543839846 (patch) | |
tree | 6ca17df34b5a8d3940c6b0a64475920a2c495862 /dom/base/crashtests | |
parent | f9ee95f2078d961365b9d4c13abe3889aa7f2079 (diff) | |
download | uxp-8caa472402447236440697797809170543839846.tar.gz |
Issue #2135 - Bug 1393806/Part 3: Change dom::ReparentWrapper to take an ErrorResult
* Bug 1393806 (Part 4) landed as part of Issue #1118.
* Account for ReparentWrappersInSubtree, introduced in 1466991
Diffstat (limited to 'dom/base/crashtests')
-rw-r--r-- | dom/base/crashtests/1393806.html | 17 | ||||
-rw-r--r-- | dom/base/crashtests/crashtests.list | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dom/base/crashtests/1393806.html b/dom/base/crashtests/1393806.html new file mode 100644 index 0000000000..4e859bf602 --- /dev/null +++ b/dom/base/crashtests/1393806.html @@ -0,0 +1,17 @@ +<html> + <head> + <script> + function fun_0() { + document.implementation.createDocument('', '', null).adoptNode(o2); + } + + o1 = document.createElement('map'); + o2 = document.createElement('iframe'); + document.documentElement.appendChild(o1); + document.documentElement.appendChild(o2); + o1.textContent = 'x'; + document.addEventListener('DOMNodeRemoved', fun_0, false); + o1.innerText = 'x'; + </script> + </head> +</html> diff --git a/dom/base/crashtests/crashtests.list b/dom/base/crashtests/crashtests.list index 40d358b38a..ea64f4762b 100644 --- a/dom/base/crashtests/crashtests.list +++ b/dom/base/crashtests/crashtests.list @@ -209,6 +209,7 @@ load 1230422.html load 1251361.html load 1304437.html pref(clipboard.autocopy,true) load 1385272-1.html +load 1393806.html pref(dom.webcomponents.enabled,true) load 1341693.html pref(dom.webcomponents.enabled,true) load 1419799.html pref(dom.webcomponents.enabled,false) load 1422931.html |