parser/htmlparser/tests/mochitest/bug_502091_iframe.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <html>
michael@0 2 <head>
michael@0 3 <title>Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML</title>
michael@0 4 </head>
michael@0 5 <body>
michael@0 6 <div id="testdiv">
michael@0 7 testdiv
michael@0 8 </div>
michael@0 9 <script>
michael@0 10 var x=document.createElement('div');
michael@0 11 x.innerHTML = '<meta http-equiv="Content-Type" content="text/html;"></meta>';
michael@0 12 document.getElementById("testdiv").appendChild(x);
michael@0 13 </script>
michael@0 14 some text here
michael@0 15 </body>
michael@0 16 </html>
michael@0 17

mercurial