[Webkit-unassigned] [Bug 211607] New: [Quirks] Add a helper function to match top level domains.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 7 19:29:17 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=211607
Bug ID: 211607
Summary: [Quirks] Add a helper function to match top level
domains.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zalan at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
auto host = m_document->topDocument().url().host();
return equalLettersIgnoringASCIICase(host, "netflix.com") || host.endsWithIgnoringASCIICase(".netflix.com");
is a common pattern we have in Quirks class.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200508/3271e1d9/attachment.htm>
More information about the webkit-unassigned
mailing list