| Index: Source/web/tests/PageSerializerTest.cpp
|
| diff --git a/Source/web/tests/PageSerializerTest.cpp b/Source/web/tests/PageSerializerTest.cpp
|
| index d2ff73d19ae6cf29366da8e29fdac5fb5ebe32ae..222e2eda206da97f4524ea511932b88e9f582817 100644
|
| --- a/Source/web/tests/PageSerializerTest.cpp
|
| +++ b/Source/web/tests/PageSerializerTest.cpp
|
| @@ -216,4 +216,16 @@ TEST_F(PageSerializerTest, DTD)
|
| EXPECT_TRUE(getSerializedData("dtd.html").startsWith(expectedStart));
|
| }
|
|
|
| +TEST_F(PageSerializerTest, Font)
|
| +{
|
| + setBaseFolder("pageserializer/font/");
|
| +
|
| + registerURL("font.html", "text/html");
|
| + registerURL("font.ttf", "application/octet-stream");
|
| +
|
| + serialize("font.html");
|
| +
|
| + EXPECT_TRUE(isSerialized("font.ttf", "application/octet-stream"));
|
| +}
|
| +
|
| }
|
|
|