layout/base/crashtests/793848.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <script>
     6     function f(event) {
     7         document.removeEventListener("DOMAttrModified", f, false);
     9         // dumpln(event.attrChange); /* 2 (MutationEvent.ADDITION) */
    10         // dumpln(event.attrName); /* "curpos" */
    11         // dumpln(event.newValue); /* "0" */
    13         // (gdb) break nsGlobalWindow::Dump
    14         dump("[[[[DOMAttrModified\n");
    15         document.removeChild(svgUse);
    16         dump("]]]]\n");
    17     }
    19     var svgUse = document.createElementNS("http://www.w3.org/2000/svg", "use");
    20     document.removeChild(document.documentElement);
    21     document.addEventListener("DOMAttrModified", f, false);
    22     document.appendChild(svgUse);
    24 </script>
    25 </head>
    27 <body onload="boom();"></body>
    28 </html>

mercurial