зеркало из https://github.com/mozilla/gecko-dev.git
890672d7f9
The first change we can make is to simplify the PrivacyLevel.canSave() method itself as it only takes a single argument, `isHTTPS`. Callers shouldn't be required to pass an object, they should simply pass a boolean. The second change here is to cleanup SessionCookies.jsm that still passes the old `isPinned` argument that's no longer needed. We can remove some house keeping and simplify the cookie collection code. SessionCookies.getHostsForWindow() that previously returned a map from hostnames to a site's pinned status (tab.pinned) can now simply return a Set containing all hostnames found in a window. |
||
---|---|---|
.. | ||
FormData.jsm | ||
PrivacyLevel.jsm | ||
ScrollPosition.jsm | ||
SessionHistory.jsm | ||
Utils.jsm | ||
XPathGenerator.jsm |