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

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

Issue 843923002: Revert of Add print and getSelectedText functions to the OOP PDF scripting API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@postMessage-api
Patch Set: Created 5 years, 11 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/browser/resources/pdf/pdf_scripting_api.js ('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/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 08d27141a5b25e9e6c7cf0e6b9d96fd7290cea26..3a1e360d45d520b6c5af8d813ff2ef23af7cfec5 100644
--- a/chrome/test/data/pdf/basic_plugin_test.js
+++ b/chrome/test/data/pdf/basic_plugin_test.js
@@ -45,15 +45,7 @@
chrome.test.assertEq('some more text',
dict.textBox[1].textNodes[0].text);
}), 0);
- },
-
- function testGetSelectedText() {
- var client = new PDFScriptingAPI(window, window);
- client.selectAll();
- client.getSelectedText(chrome.test.callbackPass(function(selectedText) {
- chrome.test.assertEq('this is some text\nsome more text', selectedText);
- }));
- },
+ }
];
var scriptingAPI = new PDFScriptingAPI(window, window);
« no previous file with comments | « chrome/browser/resources/pdf/pdf_scripting_api.js ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698