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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/app_csp.html

Issue 596123002: Clarify documentation for Chrome Apps CSP, link to webview, example for sandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/articles/app_external.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <h1>Content Security Policy</h1> 1 <h1>Content Security Policy</h1>
2 2
3 3
4 <p> 4 <p>
5 If you're not familiar with Content Security Policy (CSP), 5 If you're not familiar with Content Security Policy (CSP),
6 <a href="http://www.html5rocks.com/en/tutorials/security/content-security-policy /">An Introduction to Content Security Policy</a> 6 <a href="http://www.html5rocks.com/en/tutorials/security/content-security-policy /">An Introduction to Content Security Policy</a>
7 is a good starting point. 7 is a good starting point.
8 That document covers the broader web platform view of CSP; 8 That document covers the broader web platform view of CSP;
9 Chrome App CSP isn't as flexible. 9 Chrome App CSP isn't as flexible.
10 You should also read the 10 You should also read the
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 <p> 113 <p>
114 Video and audio can be loaded from remote services 114 Video and audio can be loaded from remote services
115 because they have good fallback behavior when offline or under spotty connectivi ty. 115 because they have good fallback behavior when offline or under spotty connectivi ty.
116 </p> 116 </p>
117 117
118 <h3 id="embed_content">Embed web content</h3> 118 <h3 id="embed_content">Embed web content</h3>
119 119
120 <p> 120 <p>
121 Instead of using an iframe, 121 Instead of using an iframe,
122 you can call out to an external URL using an object tag 122 you can call out to an external URL using a webview tag
123 (see <a href="app_external#webview">Embed external web pages</a>). 123 (see <a href="app_external#webview">Embed external web pages</a>).
124 </p> 124 </p>
125 125
126 <p class="backtotop"><a href="#top">Back to top</a></p> 126 <p class="backtotop"><a href="#top">Back to top</a></p>
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/templates/articles/app_external.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698