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

Unified Diff: chrome/test/data/webui/webview_execute_script.js

Issue 1004253002: Enable <webview>.executeScript outside of Apps and Extensions [2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 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/webui/webview_execute_script.js
diff --git a/chrome/test/data/extensions/api_test/runtime/open_options_page/options.js b/chrome/test/data/webui/webview_execute_script.js
similarity index 79%
copy from chrome/test/data/extensions/api_test/runtime/open_options_page/options.js
copy to chrome/test/data/webui/webview_execute_script.js
index 9054ed56925a531f4577eb08b9f043d69900b640..1a4989e10d11e579c4b0029c7ae62a87edfd22eb 100644
--- a/chrome/test/data/extensions/api_test/runtime/open_options_page/options.js
+++ b/chrome/test/data/webui/webview_execute_script.js
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-chrome.runtime.sendMessage('success');
+document.body.style.backgroundColor="red";
« no previous file with comments | « chrome/browser/ui/webui/webui_webview_browsertest.cc ('k') | chrome/test/data/webui/webview_execute_script_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698