Index: Source/platform/weborigin/OriginAccessEntry.h |
diff --git a/Source/platform/weborigin/OriginAccessEntry.h b/Source/platform/weborigin/OriginAccessEntry.h |
index f7a45177f2dc43a72501ebf7a60b3e7bcb68acd0..523153a2eee0a59b311e58d1703b56e581ebf3ea 100644 |
--- a/Source/platform/weborigin/OriginAccessEntry.h |
+++ b/Source/platform/weborigin/OriginAccessEntry.h |
@@ -45,12 +45,6 @@ |
DisallowSubdomains |
}; |
- // Note that 'TreatIPAddressAsDomain' MUST only be used for testing, and does not work for IPv6 addresses. It does the |
- // bare minimum necessary to support 'document.domain' layout test expectations, and should not be relied upon for either |
- // robustness or sanity. |
- // |
- // TODO(mkwst): Remove this enum once we rewrite the 'document.domain' layout tests to use '*.example.test' rather than |
- // raw IP addresses. |
enum IPAddressSetting { |
TreatIPAddressAsDomain, |
TreatIPAddressAsIPAddress |
@@ -63,7 +57,6 @@ |
}; |
// If host is empty string and SubdomainSetting is AllowSubdomains, the entry will match all domains in the specified protocol. |
- // IPv6 addresses must include brackets (e.g. '[2001:db8:85a3::8a2e:370:7334]', not '2001:db8:85a3::8a2e:370:7334'). |
OriginAccessEntry(const String& protocol, const String& host, SubdomainSetting, IPAddressSetting); |
MatchResult matchesOrigin(const SecurityOrigin&) const; |
@@ -71,7 +64,6 @@ |
const String& host() const { return m_host; } |
SubdomainSetting subdomainSettings() const { return m_subdomainSettings; } |
IPAddressSetting ipAddressSettings() const { return m_ipAddressSettings; } |
- bool hostIsIPAddress() const { return m_hostIsIPAddress; } |
private: |
String m_protocol; |