| Index: chrome/test/data/pdf/title_test.js
|
| diff --git a/chrome/test/data/pdf/title_test.js b/chrome/test/data/pdf/title_test.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d4262bed97b817441a94f34aad3a165ba5164407
|
| --- /dev/null
|
| +++ b/chrome/test/data/pdf/title_test.js
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +var tests = [
|
| + /**
|
| + * Test that the correct title is displayed for test-title.pdf.
|
| + */
|
| + function testHasCorrectTitle() {
|
| + chrome.test.assertEq('PDF title test', document.title);
|
| +
|
| + chrome.test.succeed();
|
| + }
|
| +];
|
| +
|
| +var scriptingAPI = new PDFScriptingAPI(window, window);
|
| +scriptingAPI.setLoadCallback(function() {
|
| + chrome.test.runTests(tests);
|
| +});
|
|
|