Package-Local Resources
This sample shows good and bad examples of mixing a <webview> tag that
embeds trusted content packaged…
Package-Local Resources
This sample shows good and bad examples of mixing a <webview> tag that
embeds trusted content packaged within an app with a tag that embeds
untrusted web content that may crash. In the bad example, trusted and
untrusted content share the same
partition;
simulating a crash in the untrusted webview will also crash the trusted
webview. The good example separates the two into different partitions;
simulating a crash in the untrusted webview does not affect the trusted
webview.
Finally, the manifest.json file contains an example of granting permissions
to particular webview partitions to access trusted package-local content.
See the source code at https://github.com/GoogleChrome/chrome-app-samples/tree/master/webview-samples/local-resources
This version was built from git commit 9d36727 https://github.com/GoogleChrome/chrome-app-samples/tree/9d36727/webview-samples/local-resources