Bug 539882 - Make test_bug324378.html not expect that attributes on second <head> move to head. r=bzbarsky.
authorHenri Sivonen <hsivonen@iki.fi>
Mon, 18 Jan 2010 15:38:43 +0200
changeset 37466 e7383a2e123d80b1a52e98c7ae0beb8822b28bb8
parent 37465 5412edab749793dc3b88042979aadd998c9c48d9
child 37467 8bfa6babb89bc143b6080fc50926ee855fa16be3
push id11320
push userhsivonen@iki.fi
push dateMon, 25 Jan 2010 09:53:53 +0000
treeherdermozilla-central@d8177ec0014c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs539882, 324378
milestone1.9.3a1pre
Bug 539882 - Make test_bug324378.html not expect that attributes on second <head> move to head. r=bzbarsky.
content/html/document/test/test_bug324378.html
--- a/content/html/document/test/test_bug324378.html
+++ b/content/html/document/test/test_bug324378.html
@@ -62,16 +62,17 @@ https://bugzilla.mozilla.org/show_bug.cg
   is($("d"), null, "Unexpected node with id=d");
   is($("e"), body, "Unexpected node with id=e");
   is($("f"), null, "Unexpected node with id=f");
   is($("g"), null, "Unexpected node with id=g");
   is($("j"), null, "Unexpected node with id=j");
   is($("m"), null, "Unexpected node with id=m");
 
   is(html.getAttribute("foo"), "h", "Unexpected 'foo' value on <html>");
-  is(head.getAttribute("foo"), "k", "Unexpected 'foo' value on <head>");
+  // The line below can be uncommented once the HTML5 parser is on by default
+  // is(head.getAttribute("foo"), null, "Unexpected 'foo' value on <head>");
   is(body.getAttribute("foo"), "n", "Unexpected 'foo' value on <body>");
 
 </script>
 </pre>
 </body>
 </html>