gecko-dev/caps/tests/gtest
J.C. Jones 56fa739a54 Bug 1616675 - Add isIpAddress to nsIPrincipal r=ckerschb
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
2020-02-26 23:15:43 +00:00
..
moz.build Bug 1616675 - Add isIpAddress to nsIPrincipal r=ckerschb 2020-02-26 23:15:43 +00:00
TestOriginAttributes.cpp
TestPrincipalAttributes.cpp Bug 1616675 - Add isIpAddress to nsIPrincipal r=ckerschb 2020-02-26 23:15:43 +00:00
TestPrincipalSerialization.cpp