Reputation: 28
The document says that <webview>
tag has a feature to initiate in-page text search since Chrome 35:
<webview>.find(string searchText, FindOptions options, function callback)
...but I found the method is undefined
in my environment.
I'm using Chrome Version 37.0.2062.120 on Mac OS X 10.9.4.
I have "webview" permission in my manifest, and other webview tag methods like back/forward/reload/clearData are working fine.
I also found that my webview is lacking some methods like getZoom/setZoom(which should be available since Chrome 36).
Do I need a special permission on my manifest to enable these features, or is this an error on the document side?
Upvotes: 1
Views: 188
Reputation: 5659
I'd say it's a documentation issue.
webview.find
isn't on Stable Channel yet (see https://codereview.chromium.org/414803003)
You may want to try it out with Chrome Canary though (http://chrome.com/canary) since it works there.
Upvotes: 1