Reputation: 163
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
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