Bug 1456391 - Part 9: Support PrivacyLevel form data filtering with GeckoView, too. r=snorp

MozReview-Commit-ID: 9F5ZNWf0lYc

--HG--
extra : rebase_source : 7da2705d27fdecbc915f3d6516452c413635b062
This commit is contained in:
Jan Henning 2018-04-27 22:11:23 +02:00
Родитель 5ec5f23aab
Коммит 375f2704c3
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -10,6 +10,7 @@ XPCOMUtils.defineLazyModuleGetters(this, {
Services: "resource://gre/modules/Services.jsm",
SessionHistory: "resource://gre/modules/sessionstore/SessionHistory.jsm",
FormData: "resource://gre/modules/FormData.jsm",
PrivacyFilter: "resource://gre/modules/sessionstore/PrivacyFilter.jsm",
ScrollPosition: "resource://gre/modules/ScrollPosition.jsm",
Utils: "resource://gre/modules/sessionstore/Utils.jsm",
});
@ -87,6 +88,8 @@ class GeckoViewContent extends GeckoViewContentModule {
scrolldata.zoom.displaySize = displaySize;
formdata = PrivacyFilter.filterFormData(formdata || {});
return {history, formdata, scrolldata};
}