[Webkit-unassigned] [Bug 236684] New: GeneratePreferences.rb: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 15 18:24:27 PST 2022


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

            Bug ID: 236684
           Summary: GeneratePreferences.rb: warning: Passing safe_level
                    with the 2nd argument of ERB.new is deprecated
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

Since Ruby 3.1.0, GeneratePreferences.rb reports the following warnings.

[5602/6320] Generating ../../WebKit/DerivedSources/WebPageUpdatePreferences.cpp, ../../WebKit/DerivedSources/WebPreferencesDefinitions.h, ../../WebKit/DerivedSources/WebPreferencesExperimentalFeatures.cpp, ../../WebKit/DerivedSources/WebPreferencesGetterSetters.cpp, ../../WebKit/DerivedSources/WebPreferencesInternalDebugFeatures.cpp, ../../WebKit/DerivedSources/WebPreferencesKeys.cpp, ../../WebKit/DerivedSources/WebPreferencesKeys.h, ../../WebKit/DerivedSources/WebPreferencesStoreDefaultsMap.cpp
C:/home/webkit/gc/WebKitBuild/Debug/WTF/Scripts/GeneratePreferences.rb:235: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.

C:/home/webkit/gc/WebKitBuild/Debug/WTF/Scripts/GeneratePreferences.rb:235: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.

-- 
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/20220216/a0d2ce53/attachment.htm>


More information about the webkit-unassigned mailing list