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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js

Issue 1815933002: Fix WebView accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename set_browser_plugin_embedder_ax_tree_id Created 4 years, 9 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/extensions/platform_apps/web_view/focus_accessibility/main.js
diff --git a/chrome/test/data/extensions/platform_apps/web_view/simple/main.js b/chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js
similarity index 86%
copy from chrome/test/data/extensions/platform_apps/web_view/simple/main.js
copy to chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js
index dee6c63d5d6c5ec30903a587510f75bce4321179..9fe2ee1957629b6bd638ab83693340f65d9b3cfa 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/simple/main.js
+++ b/chrome/test/data/extensions/platform_apps/web_view/focus_accessibility/main.js
@@ -1,11 +1,9 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 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.
function CreateWebViewAndGuest(callback) {
var webview = document.createElement('webview');
- webview.allowtransparency = true;
- webview.allowscaling = true;
var onLoadStop = function(e) {
chrome.test.sendMessage('WebViewTest.LAUNCHED');
webview.removeEventListener('loadstop', onLoadStop);
@@ -19,7 +17,8 @@ function CreateWebViewAndGuest(callback) {
webview.removeEventListener('loadstop', onLoadStop);
webview.removeEventListener('loadabort', onLoadAbort);
};
- webview.src = 'data:text/html,<html><body>simple test</body></html>';
+ webview.src = 'data:text/html,' +
+ '<html><body><button>Guest button</button></body></html>';
return webview;
}

Powered by Google App Engine
This is Rietveld 408576698