Hi, Vishnu,
Sorry for the late response.
In android webview, the real job done by WebView.clearFormData is hiding the
AutofillPopup.
"it does not remove any saved form data from this WebView's store."
@CalledByNative
public void hideAutofillPopup() {
if (mAutofillPopup == null) return;
mAutofillPopup.dismiss();
mAutofillPopup = null;
}
After walking through the code, I didn't find any AutofillPopup. So I think it
is no necessary to provide this API.
But I am curious that can you see the auto fill popup?
If so, could you please help to provide the screen shot and test case for this?
I have filed a bug for this:
https://crosswalk-project.org/jira/browse/XWALK-4243
Regards,
Xing
From: Vishnu Prakash [mailto:[email protected]]
Sent: Monday, May 18, 2015 8:21 PM
To: [email protected]; Xu, Xing
Subject: Ask: clearFormData in Xwalk
<<Resending it as no response so far>>
Thank You,
Vishnu
From: Vishnu Prakash [mailto:[email protected]]
Sent: Thursday, May 14, 2015 10:28 AM
To: '[email protected]'
Cc: 'Neeraj Sahu'; Kaushik Sindhu
Subject: Help clearFormData in Xwalk
Hi Crosswalk team,
I wanted to implement clearFormData in my application similar to Android's API
here.<http://developer.android.com/reference/android/webkit/WebView.html> I
checked for similar methods to do so in XWalkSettings and XWalkContent but
could not relate.
I was able to clear the History using this approach XWalkView
.webView.getNavigationHistory().clear();
Can you please guide me how to implement/locate the clearFormData or a similar
method in my application using XWalk APIs.
Thank you so much for all your support.
Warm Regards,
Vishnu
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help