mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
3e22fefe23
--HG-- extra : rebase_source : c75c0ac7b07bbe9396f1b77b34c1e34575078a49
23 lines
415 B
HTML
23 lines
415 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
|
|
document.body.appendChild(frame);
|
|
var frameDoc = frame.contentDocument;
|
|
frameDoc.contentEditable = "true";
|
|
document.body.removeChild(frame);
|
|
SpecialPowers.gc();
|
|
frameDoc.focus();
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();"></body>
|
|
</html>
|