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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/shim/simple_script.js

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delvin's comments. Created 5 years, 8 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/shim/simple_script.js
diff --git a/chrome/test/data/extensions/api_test/runtime/open_options_page/options.js b/chrome/test/data/extensions/platform_apps/web_view/shim/simple_script.js
similarity index 78%
copy from chrome/test/data/extensions/api_test/runtime/open_options_page/options.js
copy to chrome/test/data/extensions/platform_apps/web_view/shim/simple_script.js
index 9054ed56925a531f4577eb08b9f043d69900b640..f2ad2bb8129aa77e380ec7317930224688011b9c 100644
--- a/chrome/test/data/extensions/api_test/runtime/open_options_page/options.js
+++ b/chrome/test/data/extensions/platform_apps/web_view/shim/simple_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";

Powered by Google App Engine
This is Rietveld 408576698