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

Side by Side Diff: chrome/test/data/extensions/platform_apps/web_view/shim/guest.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 test 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 * Copyright (c) 2013 The Chromium Authors. All rights reserved. Use of this 3 * Copyright (c) 2013 The Chromium Authors. All rights reserved. Use of this
4 * source code is governed by a BSD-style license that can be found in the 4 * source code is governed by a BSD-style license that can be found in the
5 * LICENSE file. 5 * LICENSE file.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <title>A guest that opens a new window.</title> 9 <title>A guest page.</title>
10 <script type="text/javascript">
11 window.onload = function() {
12 window.open(
13 'data:text/html,<html><body>Initial dummy guest</body></html>');
14 };
15 </script>
16 </head> 10 </head>
17 <body style="padding: 0; margin: 0;"> 11 <body style="padding: 0; margin: 0;">
12 <script>
13 window.console.log('guest.html: Inline script ran');
14 </script>
18 </body> 15 </body>
19 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698