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

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

Issue 237793003: Use default CSP for resource loading in webview (instead of platform app's CSP) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment to added file Created 6 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/guest_with_inline_script.html
diff --git a/chrome/test/data/extensions/platform_apps/web_view/shim/guest_with_inline_script.html b/chrome/test/data/extensions/platform_apps/web_view/shim/guest_with_inline_script.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ba965297f16708f4b08e953492b5f67feb2de69
--- /dev/null
+++ b/chrome/test/data/extensions/platform_apps/web_view/shim/guest_with_inline_script.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<!--
+ * Copyright 2014 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.
+-->
+<!-- This file is loaded from webview accessible resource -->
+<html>
+<head>
+ <title>A guest page.</title>
+</head>
+<body style="padding: 0; margin: 0;">
+ <script>
+ window.console.log('guest_with_inline_script.html: Inline script ran');
+ </script>
+</body>
+</html>
« no previous file with comments | « chrome/browser/extensions/url_request_util.cc ('k') | chrome/test/data/extensions/platform_apps/web_view/shim/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698