Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: chrome/test/data/pdf/whitespace_title_test.js

Issue 1316873006: PDF: Strip whitespace when determining whether a PDF's title is empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/pdf/test-whitespace-title.pdf ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/pdf/whitespace_title_test.js
diff --git a/chrome/test/data/pdf/title_test.js b/chrome/test/data/pdf/whitespace_title_test.js
similarity index 72%
copy from chrome/test/data/pdf/title_test.js
copy to chrome/test/data/pdf/whitespace_title_test.js
index d4262bed97b817441a94f34aad3a165ba5164407..3d5b9ca7818bf41abb13fa53b835673d15e3ab0b 100644
--- a/chrome/test/data/pdf/title_test.js
+++ b/chrome/test/data/pdf/whitespace_title_test.js
@@ -4,10 +4,10 @@
var tests = [
/**
- * Test that the correct title is displayed for test-title.pdf.
+ * Test that the correct title is displayed for test-whitespace-title.pdf.
*/
function testHasCorrectTitle() {
- chrome.test.assertEq('PDF title test', document.title);
+ chrome.test.assertEq('test-whitespace-title.pdf', document.title);
chrome.test.succeed();
}
« no previous file with comments | « chrome/test/data/pdf/test-whitespace-title.pdf ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698