[Webkit-unassigned] [Bug 278073] New: [WebKitLegacy] Fix -Wenum-compare in WebDefaultPolicyDelegate.m

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 13 19:51:15 PDT 2024


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

            Bug ID: 278073
           Summary: [WebKitLegacy] Fix -Wenum-compare in
                    WebDefaultPolicyDelegate.m
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
        Depends on: 201596

Fix -Wenum-compare in WebDefaultPolicyDelegate.m from WebKitLegacy when compiling with newer clang:

OpenSource/Source/WebKitLegacy/mac/DefaultDelegates/WebDefaultPolicyDelegate.m:88:24: error: comparison of different enumeration types ('WebNavigationType' (aka 'enum WebNavigationType') and 'WebExtraNavigationType') [-Werror,-Wenum-compare]
   88 |     } else if (navType == WebNavigationTypePlugInRequest) {
      |                ~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=201596
[Bug 201596] Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html
-- 
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/20240814/7fd2fad0/attachment.htm>


More information about the webkit-unassigned mailing list