mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
1e12d53224
Add a document.addCertException function to about:certerror pages, and use it on the desktop certerror page. Also, as the CallerIsTrusted* functions expect URLs like about:certerror, but GeckoView error pages are data URLs, and so need to be handled differently for these special error-page methods to be exposed on their documents. Example usage of document.addCertException: document.addCertException( true|false /* true == temporary, false == permanent */ ).then( () => { location.reload(); }, err => { console.error(err); } ); Differential Revision: https://phabricator.services.mozilla.com/D56974 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
android | ||
locales |