mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
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
This commit is contained in:
parent
3062964d28
commit
9f0fb9c16e
7 changed files with 72 additions and 41 deletions
17
dom/base/crashtests/1393806.html
Normal file
17
dom/base/crashtests/1393806.html
Normal file
|
|
@ -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>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue