Index: chrome/test/data/pdf/basic_plugin_test.js |
diff --git a/chrome/test/data/pdf/basic_plugin_test.js b/chrome/test/data/pdf/basic_plugin_test.js |
index fc73d5417b4ca607e92ee746eddc13317f124178..dbcf0bc31e4ed4864dd5f755c73af428e310c228 100644 |
--- a/chrome/test/data/pdf/basic_plugin_test.js |
+++ b/chrome/test/data/pdf/basic_plugin_test.js |
@@ -55,6 +55,15 @@ var tests = [ |
chrome.test.assertEq('this is some text\nsome more text', selectedText); |
})); |
}, |
+ |
+ /** |
+ * Test that the filename is used as the title.pdf. |
+ */ |
+ function testHasCorrectTitle() { |
+ chrome.test.assertEq('test.pdf', document.title); |
+ |
+ chrome.test.succeed(); |
+ }, |
]; |
var scriptingAPI = new PDFScriptingAPI(window, window); |