| Index: ppapi/tests/test_url_util.cc
|
| ===================================================================
|
| --- ppapi/tests/test_url_util.cc (revision 219784)
|
| +++ ppapi/tests/test_url_util.cc (working copy)
|
| @@ -28,6 +28,7 @@
|
| RUN_TEST(DocumentCanAccessDocument, filter);
|
| RUN_TEST(GetDocumentURL, filter);
|
| RUN_TEST(GetPluginInstanceURL, filter);
|
| + RUN_TEST(GetPluginRefererURL, filter);
|
| }
|
|
|
| std::string TestURLUtil::TestCanonicalize() {
|
| @@ -136,3 +137,9 @@
|
| ASSERT_EQ(url.AsString(), "http://a.b.c/test");
|
| PASS();
|
| }
|
| +
|
| +std::string TestURLUtil::TestGetPluginRefererURL() {
|
| + pp::Var url = util_->GetPluginRefererURL(instance_);
|
| + ASSERT_TRUE(url.is_undefined());
|
| + PASS();
|
| +}
|
|
|