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

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: Revert unrelated change 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
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 2a8c87330803d35228b5eada3782f3e0c7cba9c9..58174f6ac5a5ebc1853505d5f26347adcfed66b3 100644
--- a/chrome/test/data/pdf/basic_plugin_test.js
+++ b/chrome/test/data/pdf/basic_plugin_test.js
@@ -23,30 +23,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();

Powered by Google App Engine
This is Rietveld 408576698