[Webkit-unassigned] [Bug 284838] New: Modify helper functions to accept RegistrableDomain argument rather than repeatedly computing from URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 17 13:10:06 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=284838

            Bug ID: 284838
           Summary: Modify helper functions to accept RegistrableDomain
                    argument rather than repeatedly computing from URL
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The helper functions `shouldFlipScreenDimensionsInternal` and `shouldPreventOrientationMediaQueryFromEvaluatingToLandscapeInternal` take a URL, but internally convert to a RegistrableDomain before doing further string manipulations. We should avoid this work by passing the existing RegistrableDomain string already computed in the calling function.

-- 
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/20241217/a612d214/attachment.htm>


More information about the webkit-unassigned mailing list