[Webkit-unassigned] [Bug 228174] New: javaScriptEnabled is wrongly marked as deprecated for all iOS version in Xcode 13 beta3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 21 20:33:42 PDT 2021


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

            Bug ID: 228174
           Summary: javaScriptEnabled is wrongly marked as deprecated for
                    all iOS version in Xcode 13 beta3
           Product: WebKit
           Version: Other
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: honma at microsoft.com

Created attachment 433986

  --> https://bugs.webkit.org/attachment.cgi?id=433986&action=review

Test project.

According to the documentation, this api is available on iOS 8.0 to 14.0, but after specifying the version with @available attribute on xcode beta3, the following warning still appears when compiling. 

>'javaScriptEnabled' is deprecated: Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis

This problem does not exist on beta2. It seems to be a bug introduced by beta3. You can build the attached test project with Xcode 13 beta3 to reproduce.

-- 
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/20210722/f270740f/attachment.htm>


More information about the webkit-unassigned mailing list