Clearing Webview Data
I have a Chrome App with a webview that has a 'persistent partition', I need to have a button that will clear all the data saved in that webview's partition. I've tried the followi
Solution 1:
You may want to check your method call syntax. May be more of a context problem.
From the documentation it appears that the call for clearData is directly on to the webview itself.
<webview>.clearData( ClearDataOptions options, ClearDataTypeSet types, function callback)
Also, this SO post might prove useful for more understanding. Short variable for DOM methods
Post a Comment for "Clearing Webview Data"