summaryrefslogtreecommitdiffstats
path: root/layout/reftests/object
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/object')
-rw-r--r--layout/reftests/object/404-data-ref.html10
-rw-r--r--layout/reftests/object/404-data-with-type-ref.html10
-rw-r--r--layout/reftests/object/404-data-with-type.html10
-rw-r--r--layout/reftests/object/404-data.html10
-rw-r--r--layout/reftests/object/connection-refused-ref.html10
-rw-r--r--layout/reftests/object/connection-refused.html10
-rw-r--r--layout/reftests/object/extra/404.html9
-rw-r--r--layout/reftests/object/extra/404.html^headers^1
-rw-r--r--layout/reftests/object/extra/malformed.xml1
-rw-r--r--layout/reftests/object/extra/malformed_image.png1
-rw-r--r--layout/reftests/object/extra/pass.html6
-rw-r--r--layout/reftests/object/extra/pass.pngbin0 -> 732 bytes
-rw-r--r--layout/reftests/object/extra/pass.svg74
-rw-r--r--layout/reftests/object/extra/pass_imagebin0 -> 732 bytes
-rw-r--r--layout/reftests/object/image-no-useful-extension-typesniff-ref.html10
-rw-r--r--layout/reftests/object/image-no-useful-extension-typesniff.html10
-rw-r--r--layout/reftests/object/image-no-useful-extension-with-type-ref.html10
-rw-r--r--layout/reftests/object/image-no-useful-extension-with-type.html10
-rw-r--r--layout/reftests/object/image-ref.html10
-rw-r--r--layout/reftests/object/image-with-type-ref.html10
-rw-r--r--layout/reftests/object/image-with-type.html10
-rw-r--r--layout/reftests/object/image.html10
-rw-r--r--layout/reftests/object/malformed-should-fallback-ref.html10
-rw-r--r--layout/reftests/object/malformed-should-fallback.html10
-rw-r--r--layout/reftests/object/malformed-uri-ref.html14
-rw-r--r--layout/reftests/object/malformed-uri.html14
-rw-r--r--layout/reftests/object/malformed-with-type-ref.html10
-rw-r--r--layout/reftests/object/malformed-with-type.html10
-rw-r--r--layout/reftests/object/malformed-xml-ref.html15
-rw-r--r--layout/reftests/object/malformed-xml-with-type-ref.html15
-rw-r--r--layout/reftests/object/malformed-xml-with-type.html15
-rw-r--r--layout/reftests/object/malformed-xml.html15
-rw-r--r--layout/reftests/object/no-attrs-ref.html10
-rw-r--r--layout/reftests/object/no-attrs.html10
-rw-r--r--layout/reftests/object/page-as-data-ref.html10
-rw-r--r--layout/reftests/object/page-as-data-with-type-ref.html10
-rw-r--r--layout/reftests/object/page-as-data-with-type.html10
-rw-r--r--layout/reftests/object/page-as-data.html10
-rw-r--r--layout/reftests/object/reftest-stylo.list60
-rw-r--r--layout/reftests/object/reftest.list57
-rw-r--r--layout/reftests/object/svg-ref.html10
-rw-r--r--layout/reftests/object/svg-with-type-ref.html10
-rw-r--r--layout/reftests/object/svg-with-type.html10
-rw-r--r--layout/reftests/object/svg.html10
-rw-r--r--layout/reftests/object/type-overridden-by-server-ref.html10
-rw-r--r--layout/reftests/object/type-overridden-by-server.html10
-rw-r--r--layout/reftests/object/unknown-type-ref.html10
-rw-r--r--layout/reftests/object/unknown-type.html10
48 files changed, 617 insertions, 0 deletions
diff --git a/layout/reftests/object/404-data-ref.html b/layout/reftests/object/404-data-ref.html
new file mode 100644
index 000000000..ca93f6bfc
--- /dev/null
+++ b/layout/reftests/object/404-data-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/002.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: 404 data</title>
+</head>
+<body>
+<p>PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/404-data-with-type-ref.html b/layout/reftests/object/404-data-with-type-ref.html
new file mode 100644
index 000000000..dddc4e4e2
--- /dev/null
+++ b/layout/reftests/object/404-data-with-type-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/003.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: 404 data with type</title>
+</head>
+<body>
+<p>PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/404-data-with-type.html b/layout/reftests/object/404-data-with-type.html
new file mode 100644
index 000000000..5c2c3dd45
--- /dev/null
+++ b/layout/reftests/object/404-data-with-type.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/003.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: 404 data with type</title>
+</head>
+<body>
+<p><object type="text/html" data="extra/404.html">PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/404-data.html b/layout/reftests/object/404-data.html
new file mode 100644
index 000000000..37c7a28a2
--- /dev/null
+++ b/layout/reftests/object/404-data.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/002.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: 404 data</title>
+</head>
+<body>
+<p><object data="extra/404.html">PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/connection-refused-ref.html b/layout/reftests/object/connection-refused-ref.html
new file mode 100644
index 000000000..c3ab4f479
--- /dev/null
+++ b/layout/reftests/object/connection-refused-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/006.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Connection refused</title>
+</head>
+<body>
+<p>PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/connection-refused.html b/layout/reftests/object/connection-refused.html
new file mode 100644
index 000000000..b252d36a1
--- /dev/null
+++ b/layout/reftests/object/connection-refused.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/006.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Connection refused</title>
+</head>
+<body>
+<p><object data="http://localhost:52345">PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/extra/404.html b/layout/reftests/object/extra/404.html
new file mode 100644
index 000000000..6c9abdc2c
--- /dev/null
+++ b/layout/reftests/object/extra/404.html
@@ -0,0 +1,9 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+<title>404 Not Found</title>
+</head>
+<body>
+<p>This is a 404 page.</p>
+</body>
+</html>
diff --git a/layout/reftests/object/extra/404.html^headers^ b/layout/reftests/object/extra/404.html^headers^
new file mode 100644
index 000000000..937e38c6c
--- /dev/null
+++ b/layout/reftests/object/extra/404.html^headers^
@@ -0,0 +1 @@
+HTTP 404 Not Found
diff --git a/layout/reftests/object/extra/malformed.xml b/layout/reftests/object/extra/malformed.xml
new file mode 100644
index 000000000..828c00299
--- /dev/null
+++ b/layout/reftests/object/extra/malformed.xml
@@ -0,0 +1 @@
+<foo>This is some invalid xml.
diff --git a/layout/reftests/object/extra/malformed_image.png b/layout/reftests/object/extra/malformed_image.png
new file mode 100644
index 000000000..94e1707e8
--- /dev/null
+++ b/layout/reftests/object/extra/malformed_image.png
@@ -0,0 +1 @@
+FAIL
diff --git a/layout/reftests/object/extra/pass.html b/layout/reftests/object/extra/pass.html
new file mode 100644
index 000000000..e73e00975
--- /dev/null
+++ b/layout/reftests/object/extra/pass.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<title>PASS page</title>
+
+<body>
+<p>PASS</p>
diff --git a/layout/reftests/object/extra/pass.png b/layout/reftests/object/extra/pass.png
new file mode 100644
index 000000000..4b0d444cf
--- /dev/null
+++ b/layout/reftests/object/extra/pass.png
Binary files differ
diff --git a/layout/reftests/object/extra/pass.svg b/layout/reftests/object/extra/pass.svg
new file mode 100644
index 000000000..311c5036e
--- /dev/null
+++ b/layout/reftests/object/extra/pass.svg
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ sodipodi:docname="pass.svg"
+ sodipodi:docbase="/tmp"
+ inkscape:version="0.41"
+ sodipodi:version="0.32"
+ id="svg2"
+ height="10.000000px"
+ width="50.000000px">
+ <defs
+ id="defs3" />
+ <sodipodi:namedview
+ inkscape:window-y="48"
+ inkscape:window-x="2"
+ inkscape:window-height="574"
+ inkscape:window-width="925"
+ inkscape:current-layer="layer1"
+ inkscape:document-units="px"
+ inkscape:cy="2.6496320"
+ inkscape:cx="30.500000"
+ inkscape:zoom="6.2988506"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="1.0000000"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#00ff00"
+ id="base" />
+ <metadata
+ id="metadata4">
+ <rdf:RDF
+ id="RDF5">
+ <cc:Work
+ id="Work6"
+ rdf:about="">
+ <dc:format
+ id="format7">image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage"
+ id="type9" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:groupmode="layer"
+ inkscape:label="Layer 1">
+ <rect
+ style="stroke-opacity:1.0000000;stroke-linejoin:miter;stroke-linecap:butt;stroke-width:1.0000000px;stroke:none;fill-rule:evenodd;fill-opacity:0.75000000;fill:#00ff00"
+ id="rect1294"
+ width="50.802921"
+ height="9.6843061"
+ x="-0.15875912"
+ y="0.63321173" />
+ <text
+ id="text1291"
+ y="9.6824818"
+ x="8.2226276"
+ style="font-size:12.000000px;font-style:normal;font-weight:normal;fill:#0000ff;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans"
+ xml:space="preserve"><tspan
+ y="9.6824818"
+ x="8.2226276"
+ id="tspan1293"
+ sodipodi:role="line">PASS</tspan></text>
+ </g>
+</svg>
diff --git a/layout/reftests/object/extra/pass_image b/layout/reftests/object/extra/pass_image
new file mode 100644
index 000000000..4b0d444cf
--- /dev/null
+++ b/layout/reftests/object/extra/pass_image
Binary files differ
diff --git a/layout/reftests/object/image-no-useful-extension-typesniff-ref.html b/layout/reftests/object/image-no-useful-extension-typesniff-ref.html
new file mode 100644
index 000000000..9d9c0a02c
--- /dev/null
+++ b/layout/reftests/object/image-no-useful-extension-typesniff-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/009.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Image w/o useful extension</title>
+</head>
+<body>
+<p><img src="extra/pass.png"></p>
+</body>
+</html>
diff --git a/layout/reftests/object/image-no-useful-extension-typesniff.html b/layout/reftests/object/image-no-useful-extension-typesniff.html
new file mode 100644
index 000000000..b509bfc98
--- /dev/null
+++ b/layout/reftests/object/image-no-useful-extension-typesniff.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/009.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Image w/o useful extension</title>
+</head>
+<body>
+<p><object data="extra/pass_image">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/image-no-useful-extension-with-type-ref.html b/layout/reftests/object/image-no-useful-extension-with-type-ref.html
new file mode 100644
index 000000000..76c7eb1e8
--- /dev/null
+++ b/layout/reftests/object/image-no-useful-extension-with-type-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/010.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Image w/o useful extension with type</title>
+</head>
+<body>
+<p><img src="extra/pass.png"></p>
+</body>
+</html>
diff --git a/layout/reftests/object/image-no-useful-extension-with-type.html b/layout/reftests/object/image-no-useful-extension-with-type.html
new file mode 100644
index 000000000..15b133846
--- /dev/null
+++ b/layout/reftests/object/image-no-useful-extension-with-type.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/010.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Image w/o useful extension with type</title>
+</head>
+<body>
+<p><object type="image/png" data="extra/pass_image">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/image-ref.html b/layout/reftests/object/image-ref.html
new file mode 100644
index 000000000..1976ffe0e
--- /dev/null
+++ b/layout/reftests/object/image-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/007.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: PNG Image</title>
+</head>
+<body>
+<p><img src="extra/pass.png"></p>
+</body>
+</html>
diff --git a/layout/reftests/object/image-with-type-ref.html b/layout/reftests/object/image-with-type-ref.html
new file mode 100644
index 000000000..d8f78907c
--- /dev/null
+++ b/layout/reftests/object/image-with-type-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/008.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: PNG Image with type</title>
+</head>
+<body>
+<p><img src="extra/pass.png"></p>
+</body>
+</html>
diff --git a/layout/reftests/object/image-with-type.html b/layout/reftests/object/image-with-type.html
new file mode 100644
index 000000000..c045279aa
--- /dev/null
+++ b/layout/reftests/object/image-with-type.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/008.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: PNG Image with type</title>
+</head>
+<body>
+<p><object type="image/png" data="extra/pass.png">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/image.html b/layout/reftests/object/image.html
new file mode 100644
index 000000000..84ef3f17d
--- /dev/null
+++ b/layout/reftests/object/image.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/007.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: PNG Image</title>
+</head>
+<body>
+<p><object data="extra/pass.png">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-should-fallback-ref.html b/layout/reftests/object/malformed-should-fallback-ref.html
new file mode 100644
index 000000000..e281ee367
--- /dev/null
+++ b/layout/reftests/object/malformed-should-fallback-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/016.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed image (should fallback)</title>
+</head>
+<body>
+<p>PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-should-fallback.html b/layout/reftests/object/malformed-should-fallback.html
new file mode 100644
index 000000000..014aba631
--- /dev/null
+++ b/layout/reftests/object/malformed-should-fallback.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/016.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed image (should fallback)</title>
+</head>
+<body>
+<p><object data="extra/malformed_image.png">PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-uri-ref.html b/layout/reftests/object/malformed-uri-ref.html
new file mode 100644
index 000000000..6a5927f43
--- /dev/null
+++ b/layout/reftests/object/malformed-uri-ref.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/035.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed URIs</title>
+<style type="text/css">
+ html, body { width:100%; height:100%; }
+ #obj { width:100%; height:90%; }
+</style>
+</head>
+<body>
+<p id="obj">PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-uri.html b/layout/reftests/object/malformed-uri.html
new file mode 100644
index 000000000..a0e92c8da
--- /dev/null
+++ b/layout/reftests/object/malformed-uri.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/035.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed URIs</title>
+<style type="text/css">
+ html, body { width:100%; height:100%; }
+ #obj { width:100%; height:90%; }
+</style>
+</head>
+<body>
+<p id="obj"><object type="application/x-shockwave-flash" data="http://foo bar/pass.swf" width="100" height="100">PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-with-type-ref.html b/layout/reftests/object/malformed-with-type-ref.html
new file mode 100644
index 000000000..ad14b569e
--- /dev/null
+++ b/layout/reftests/object/malformed-with-type-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/017.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed image (with type attribute)</title>
+</head>
+<body>
+<p>PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-with-type.html b/layout/reftests/object/malformed-with-type.html
new file mode 100644
index 000000000..2b5d1216d
--- /dev/null
+++ b/layout/reftests/object/malformed-with-type.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/017.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed image (with type attribute)</title>
+</head>
+<body>
+<p><object type="image/png" data="extra/malformed_image.png">PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-xml-ref.html b/layout/reftests/object/malformed-xml-ref.html
new file mode 100644
index 000000000..064b411ed
--- /dev/null
+++ b/layout/reftests/object/malformed-xml-ref.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/023.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed XML file</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). For
+ now this test expects the former.
+-->
+<p><iframe style="border: 0px" src="extra/malformed.xml"></iframe></p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-xml-with-type-ref.html b/layout/reftests/object/malformed-xml-with-type-ref.html
new file mode 100644
index 000000000..c23aad4c3
--- /dev/null
+++ b/layout/reftests/object/malformed-xml-with-type-ref.html
@@ -0,0 +1,15 @@
+<!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><iframe style="border: 0px" src="extra/malformed.xml" width="300" height="200"></iframe></p>
+</body>
+</html>
diff --git a/layout/reftests/object/malformed-xml-with-type.html b/layout/reftests/object/malformed-xml-with-type.html
new file mode 100644
index 000000000..44c4b3b36
--- /dev/null
+++ b/layout/reftests/object/malformed-xml-with-type.html
@@ -0,0 +1,15 @@
+<!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>
diff --git a/layout/reftests/object/malformed-xml.html b/layout/reftests/object/malformed-xml.html
new file mode 100644
index 000000000..3f6b176f8
--- /dev/null
+++ b/layout/reftests/object/malformed-xml.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/023.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Malformed XML file</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). For
+ now this test expects the former.
+-->
+<p><object data="extra/malformed.xml">PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/no-attrs-ref.html b/layout/reftests/object/no-attrs-ref.html
new file mode 100644
index 000000000..23709f747
--- /dev/null
+++ b/layout/reftests/object/no-attrs-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/001.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: No attributes</title>
+</head>
+<body>
+<p>PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/no-attrs.html b/layout/reftests/object/no-attrs.html
new file mode 100644
index 000000000..9702c1d98
--- /dev/null
+++ b/layout/reftests/object/no-attrs.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/001.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: No attributes</title>
+</head>
+<body>
+<p><object>PASS</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/page-as-data-ref.html b/layout/reftests/object/page-as-data-ref.html
new file mode 100644
index 000000000..999e9d6be
--- /dev/null
+++ b/layout/reftests/object/page-as-data-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/004.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Normal Webpage</title>
+</head>
+<body>
+<p><iframe style="border: 0px" src="extra/pass.html"></iframe></p>
+</body>
+</html>
diff --git a/layout/reftests/object/page-as-data-with-type-ref.html b/layout/reftests/object/page-as-data-with-type-ref.html
new file mode 100644
index 000000000..d4e76f65f
--- /dev/null
+++ b/layout/reftests/object/page-as-data-with-type-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/005.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Normal Webpage with type</title>
+</head>
+<body>
+<p><iframe style="border: 0px" src="extra/pass.html"></iframe></p>
+</body>
+</html>
diff --git a/layout/reftests/object/page-as-data-with-type.html b/layout/reftests/object/page-as-data-with-type.html
new file mode 100644
index 000000000..62a8a9859
--- /dev/null
+++ b/layout/reftests/object/page-as-data-with-type.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/005.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Normal Webpage with type</title>
+</head>
+<body>
+<p><object type="text/html" data="extra/pass.html">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/page-as-data.html b/layout/reftests/object/page-as-data.html
new file mode 100644
index 000000000..baa760866
--- /dev/null
+++ b/layout/reftests/object/page-as-data.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/004.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Normal Webpage</title>
+</head>
+<body>
+<p><object data="extra/pass.html">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/reftest-stylo.list b/layout/reftests/object/reftest-stylo.list
new file mode 100644
index 000000000..629e954f4
--- /dev/null
+++ b/layout/reftests/object/reftest-stylo.list
@@ -0,0 +1,60 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== no-attrs.html no-attrs.html
+random HTTP == 404-data.html 404-data.html
+random HTTP == 404-data-with-type.html 404-data-with-type.html
+random == page-as-data.html page-as-data.html
+random == page-as-data-with-type.html page-as-data-with-type.html
+random == connection-refused.html connection-refused.html
+== image.html image.html
+== image-with-type.html image-with-type.html
+random == image-no-useful-extension-typesniff.html image-no-useful-extension-typesniff.html
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+fails == image-no-useful-extension-with-type.html image-no-useful-extension-with-type.html
+#
+# This test must be run on an HTTP server because it relies on the HTTP
+# Content-Type overriding the type specified by the attribute on the object,
+# but when run from a local file the type attribute will override the
+# content-sniffed assumed type (text/html based entirely on the extension).
+#
+random HTTP == type-overridden-by-server.html type-overridden-by-server.html
+#
+# XXX missing tests 012-015 from http://biesi.damowmow.com/object/ here; need
+# a controllable HTTP server (or preferably one run on the test machine)
+# to add them
+#
+== malformed-should-fallback.html malformed-should-fallback.html
+== malformed-with-type.html malformed-with-type.html
+#
+# XXX missing tests 018-021 from http://biesi.damowmow.com/object/ here; need
+# a controllable HTTP server (or preferably one run on the test machine)
+# to add them
+#
+== unknown-type.html unknown-type.html
+== malformed-xml.html malformed-xml.html
+== malformed-xml-with-type.html malformed-xml-with-type.html
+#
+# XXX missing tests 025-28 from http://biesi.damowmow.com/object/ here; would
+# need to require Flash on the test machine to run them
+#
+# XXX need to support <img src="foo.svg"> for these to pass
+random == svg.html svg.html
+== svg-with-type.html svg-with-type.html
+#
+# XXX missing test 031 from http://biesi.damowmow.com/object/ here; need to
+# first support the standby attribute on objects, then need to figure out
+# how to reproduce the setup needed for that test such that reftest will
+# handle it correctly, since a still-loading image probably delays the
+# snapshot reftest takes
+#
+# XXX missing test 032 from http://biesi.damowmow.com/object/ here; would
+# need to require Java on test machine to run it
+#
+# XXX missing test 033 from http://biesi.damowmow.com/object/ here; not sure
+# how nullplugin testing should work
+#
+#
+# XXX missing test 034 from http://biesi.damowmow.com/object/ here; would
+# need to require Flash on the test machine to run them
+#
+== malformed-uri.html malformed-uri.html
diff --git a/layout/reftests/object/reftest.list b/layout/reftests/object/reftest.list
new file mode 100644
index 000000000..1437c897c
--- /dev/null
+++ b/layout/reftests/object/reftest.list
@@ -0,0 +1,57 @@
+== no-attrs.html no-attrs-ref.html
+HTTP == 404-data.html 404-data-ref.html
+HTTP == 404-data-with-type.html 404-data-with-type-ref.html
+== page-as-data.html page-as-data-ref.html
+== page-as-data-with-type.html page-as-data-with-type-ref.html
+== connection-refused.html connection-refused-ref.html
+== image.html image-ref.html
+== image-with-type.html image-with-type-ref.html
+fails-if(Android) == image-no-useful-extension-typesniff.html image-no-useful-extension-typesniff-ref.html
+== image-no-useful-extension-with-type.html image-no-useful-extension-with-type-ref.html
+#
+# This test must be run on an HTTP server because it relies on the HTTP
+# Content-Type overriding the type specified by the attribute on the object,
+# but when run from a local file the type attribute will override the
+# content-sniffed assumed type (text/html based entirely on the extension).
+#
+HTTP == type-overridden-by-server.html type-overridden-by-server-ref.html
+#
+# XXX missing tests 012-015 from http://biesi.damowmow.com/object/ here; need
+# a controllable HTTP server (or preferably one run on the test machine)
+# to add them
+#
+== malformed-should-fallback.html malformed-should-fallback-ref.html
+== malformed-with-type.html malformed-with-type-ref.html
+#
+# XXX missing tests 018-021 from http://biesi.damowmow.com/object/ here; need
+# a controllable HTTP server (or preferably one run on the test machine)
+# to add them
+#
+== unknown-type.html unknown-type-ref.html
+== malformed-xml.html malformed-xml-ref.html
+== malformed-xml-with-type.html malformed-xml-with-type-ref.html
+#
+# XXX missing tests 025-28 from http://biesi.damowmow.com/object/ here; would
+# need to require Flash on the test machine to run them
+#
+# XXX need to support <img src="foo.svg"> for these to pass
+fails == svg.html svg-ref.html
+fails == svg-with-type.html svg-with-type-ref.html
+#
+# XXX missing test 031 from http://biesi.damowmow.com/object/ here; need to
+# first support the standby attribute on objects, then need to figure out
+# how to reproduce the setup needed for that test such that reftest will
+# handle it correctly, since a still-loading image probably delays the
+# snapshot reftest takes
+#
+# XXX missing test 032 from http://biesi.damowmow.com/object/ here; would
+# need to require Java on test machine to run it
+#
+# XXX missing test 033 from http://biesi.damowmow.com/object/ here; not sure
+# how nullplugin testing should work
+#
+#
+# XXX missing test 034 from http://biesi.damowmow.com/object/ here; would
+# need to require Flash on the test machine to run them
+#
+== malformed-uri.html malformed-uri-ref.html
diff --git a/layout/reftests/object/svg-ref.html b/layout/reftests/object/svg-ref.html
new file mode 100644
index 000000000..1d49ad7ff
--- /dev/null
+++ b/layout/reftests/object/svg-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/029.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: SVG</title>
+</head>
+<body>
+<iframe src="extra/pass.svg" width="100" height="20">FAIL</iframe>
+</body>
+</html>
diff --git a/layout/reftests/object/svg-with-type-ref.html b/layout/reftests/object/svg-with-type-ref.html
new file mode 100644
index 000000000..c610700bd
--- /dev/null
+++ b/layout/reftests/object/svg-with-type-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/030.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: SVG (with type attribute)</title>
+</head>
+<body>
+<iframe src="extra/pass.svg" width="100" height="20"></iframe>
+</body>
+</html>
diff --git a/layout/reftests/object/svg-with-type.html b/layout/reftests/object/svg-with-type.html
new file mode 100644
index 000000000..233f799ad
--- /dev/null
+++ b/layout/reftests/object/svg-with-type.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/030.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: SVG (with type attribute)</title>
+</head>
+<body>
+<p><object type="image/svg+xml" data="extra/pass.svg" width="100" height="20">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/svg.html b/layout/reftests/object/svg.html
new file mode 100644
index 000000000..2e244d083
--- /dev/null
+++ b/layout/reftests/object/svg.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/029.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: SVG</title>
+</head>
+<body>
+<p><object data="extra/pass.svg" width="100" height="20">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/type-overridden-by-server-ref.html b/layout/reftests/object/type-overridden-by-server-ref.html
new file mode 100644
index 000000000..6bbbf3c56
--- /dev/null
+++ b/layout/reftests/object/type-overridden-by-server-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/011.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Server override of type (PNG vs HTML)</title>
+</head>
+<body>
+<p><iframe style="border: 0px" src="extra/pass.html"></iframe></p>
+</body>
+</html>
diff --git a/layout/reftests/object/type-overridden-by-server.html b/layout/reftests/object/type-overridden-by-server.html
new file mode 100644
index 000000000..dc8a65b8f
--- /dev/null
+++ b/layout/reftests/object/type-overridden-by-server.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/011.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Server override of type (PNG vs HTML)</title>
+</head>
+<body>
+<p><object type="image/png" data="extra/pass.html">FAIL</object></p>
+</body>
+</html>
diff --git a/layout/reftests/object/unknown-type-ref.html b/layout/reftests/object/unknown-type-ref.html
new file mode 100644
index 000000000..5a1768c96
--- /dev/null
+++ b/layout/reftests/object/unknown-type-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/022.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Unknown type</title>
+</head>
+<body>
+<p>PASS</p>
+</body>
+</html>
diff --git a/layout/reftests/object/unknown-type.html b/layout/reftests/object/unknown-type.html
new file mode 100644
index 000000000..c70768735
--- /dev/null
+++ b/layout/reftests/object/unknown-type.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- http://biesi.damowmow.com/object/022.html -->
+<html lang="en">
+<head>
+<title>&lt;object&gt;: Unknown type</title>
+</head>
+<body>
+<p><object data="data:application/x-unknown,FAIL">PASS</object></p>
+</body>
+</html>