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

Unified Diff: chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/popup_opener.html

Issue 2208483002: Fix extension bindings injection for iframes (reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments, fixed lint Created 4 years, 4 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/api_test/messaging/externally_connectable/sites/popup_opener.html
diff --git a/chrome/test/data/extensions/platform_apps/web_view/download_cookie_isolation/window.html b/chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/popup_opener.html
similarity index 54%
copy from chrome/test/data/extensions/platform_apps/web_view/download_cookie_isolation/window.html
copy to chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/popup_opener.html
index 6011fd959df6c1d5566b168d0928cd547639abd5..6b11de598ad3059adddb84946a2173231af0def0 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/download_cookie_isolation/window.html
+++ b/chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/popup_opener.html
@@ -1,14 +1,9 @@
-<!DOCTYPE html>
<!--
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.
-->
-<html>
- <head>
- </head>
- <body>
- <div id="container"></div>
- <script src="window.js"></script>
- </body>
-</html>
+<script>
+var url = location.href.replace('popup_opener.html', 'chromium.org.html');
+window.open(url, '_blank');
+</script>
« no previous file with comments | « chrome/test/data/extensions/api_test/bindings/message_sender/public.html ('k') | extensions/renderer/script_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698