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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/shim/guest_from_opener.html

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments. 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/extensions/platform_apps/web_view/shim/guest_from_opener.html
diff --git a/chrome/test/data/extensions/platform_apps/web_view/shim/guest.html b/chrome/test/data/extensions/platform_apps/web_view/shim/guest_from_opener.html
similarity index 68%
copy from chrome/test/data/extensions/platform_apps/web_view/shim/guest.html
copy to chrome/test/data/extensions/platform_apps/web_view/shim/guest_from_opener.html
index f893348671a20cf7e6938b5a281fc7ffa881892d..d4ce302a58247a92c9b3dbfb12485c756c7d4db6 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/shim/guest.html
+++ b/chrome/test/data/extensions/platform_apps/web_view/shim/guest_from_opener.html
@@ -1,6 +1,6 @@
<!doctype html>
<!--
- * Copyright (c) 2013 The Chromium Authors. All rights reserved. Use of this
+ * Copyright (c) 2015 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.
-->
@@ -9,8 +9,7 @@
<title>A guest that opens a new window.</title>
<script type="text/javascript">
window.onload = function() {
- window.open(
- 'data:text/html,<html><body>Initial dummy guest</body></html>');
+ window.open(document.documentURI);
};
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698