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

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

Issue 2103043003: Remove legacy PDF JSON interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo after merge Created 4 years, 6 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 b0fbf2fa071f204c35f1cc208b339fd1ddd42b2b..af3e74d6b574a2acb234fcccb063f7e8a97a7340 100644
--- a/chrome/test/data/pdf/basic_plugin_test.js
+++ b/chrome/test/data/pdf/basic_plugin_test.js
@@ -21,30 +21,6 @@ var tests = [
chrome.test.succeed();
},
- function testAccessibility() {
- scriptingAPI.getAccessibilityJSON(chrome.test.callbackPass(function(json) {
- var dict = JSON.parse(json);
- chrome.test.assertEq(true, dict.copyable);
- chrome.test.assertEq(true, dict.loaded);
- chrome.test.assertEq(1, dict.numberOfPages);
- }));
- },
-
- function testAccessibilityWithPage() {
- scriptingAPI.getAccessibilityJSON(chrome.test.callbackPass(function(json) {
- var dict = JSON.parse(json);
- chrome.test.assertEq(612, dict.width);
- chrome.test.assertEq(792, dict.height);
- chrome.test.assertEq(1.0, dict.textBox[0].fontSize);
- chrome.test.assertEq('text', dict.textBox[0].textNodes[0].type);
- chrome.test.assertEq('this is some text',
- dict.textBox[0].textNodes[0].text);
- chrome.test.assertEq('text', dict.textBox[1].textNodes[0].type);
- chrome.test.assertEq('some more text',
- dict.textBox[1].textNodes[0].text);
- }), 0);
- },
-
function testGetSelectedText() {
var client = new PDFScriptingAPI(window, window);
client.selectAll();
« 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