blob: b032311fa7552767a2356a181ce0ffb1fb9b3511 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Testcase for bug 643706 of Mozilla</title>
<script>
function boom() {
const iframe = document.querySelector("iframe");
const win = iframe.contentWindow;
win.document.designMode = 'on';
iframe.style.content = "'m'";
win.document.removeChild(win.document.documentElement)
}
</script>
</head>
<body onload="boom();"><iframe srcdoc=""></iframe></body>
</html>
|