mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
29 lines
735 B
HTML
29 lines
735 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
|
|
function f(event) {
|
|
document.removeEventListener("DOMAttrModified", f, false);
|
|
|
|
// dumpln(event.attrChange); /* 2 (MutationEvent.ADDITION) */
|
|
// dumpln(event.attrName); /* "curpos" */
|
|
// dumpln(event.newValue); /* "0" */
|
|
|
|
// (gdb) break nsGlobalWindow::Dump
|
|
dump("[[[[DOMAttrModified\n");
|
|
document.removeChild(svgUse);
|
|
dump("]]]]\n");
|
|
}
|
|
|
|
var svgUse = document.createElementNS("http://www.w3.org/2000/svg", "use");
|
|
document.removeChild(document.documentElement);
|
|
document.addEventListener("DOMAttrModified", f, false);
|
|
document.appendChild(svgUse);
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();"></body>
|
|
</html>
|