mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 07:24:47 +00:00
56fa739a54
Adds an infallable boolean attribute to nsIPrincipal that indicates whether the principal's host is an IP address. Adds a gtest to exercise that part of the nsIPrincipal. /** * Returns if the principal is an IP address. */ [infallible] readonly attribute boolean isIpAddress; Differential Revision: https://phabricator.services.mozilla.com/D63966 --HG-- extra : moz-landing-system : lando