layout/reftests/object/malformed-xml-with-type.html
author bzbarsky@mit.edu
Mon, 17 Sep 2007 15:18:28 -0700
changeset 6004 5c4a24b11b871c519a72c4378f4225c886444cd8
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Make the nsISerializable implementation of nsPrincipal actually work. This makes it possible to save principal objects to a stream and read them back. Bug 369566, r=dveditz+brendan, sr=jst, a=jst

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- http://biesi.damowmow.com/object/024.html -->
<html lang="en">
<head>
<title>&lt;object&gt;: Malformed XML file with type attribute</title>
</head>
<body>
<!--
  You should _probably_ see an XML parse error below, although you could
  argue that it should behave like a broken image (and say PASS); this
  test currently checks for the former.
-->
<p><object type="text/xml" data="extra/malformed.xml" width="300" height="200">PASS</object></p>
</body>
</html>