Local Resources Sample
Item logo image for Local Resources Sample

Local Resources Sample

Developer Tools21 users
Item media 1 screenshot

Overview

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

0 out of 5No ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    2.0
  • Updated
    May 30, 2014
  • Offered by
    Chrome App Samples
  • Size
    445KiB
  • Languages
    English (United States)
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, visit the developer's support site

Google apps