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

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: add fix and test for bug 630928, and logging to existing test 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..92be2c21f24eee99f231b66907c2951fefec7ee0 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");
Devlin 2016/08/03 16:16:49 nit: prefer single quotes.
asargent_no_longer_on_chrome 2016/08/04 05:47:18 Oops, sorry, old habits die hard. Fixed.
+window.open(url, "_blank");
+</script>

Powered by Google App Engine
This is Rietveld 408576698