mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
4d16655b25
This makes it easier for its consumers to avoid leaving a dangling exception on the JSContext. MozReview-Commit-ID: Xep7IkYxSx
18 lines
473 B
HTML
18 lines
473 B
HTML
<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>
|