Kishan Subhash
Kishan Subhash

Reputation: 163

Chrome Apps: webview not working inside sandbox

I just started building Chrome Apps, i've gone through sandbox and webview examples but have no idea why webview is not working inside sandbox. When webview is placed in main/window.html it works fine. Even sandbox included as <iframe> works fine, but webview placed inside sandbox is not working. Have no idea why it's showing white empty space.
Then I tried with replacing webview with <iframe> inside sandbox even then it didn't worked. can Some explain why this happens in brief

Upvotes: 2

Views: 763

Answers (1)

Xan
Xan

Reputation: 77571

From the documentation:

A sandboxed page will not have access to extension or app APIs

<webview> tag is part of the Apps API. It's not available to normal pages, and as such not available to anything sandboxed.

Upvotes: 1

Related Questions