RESOLVED FIXED 237237
Fix deprecations for ERB.new in GenerateSettings.rb
https://bugs.webkit.org/show_bug.cgi?id=237237
Summary Fix deprecations for ERB.new in GenerateSettings.rb
Don Olmstead
Reported 2022-02-26 08:11:12 PST
C:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: 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:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. C:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: 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:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. C:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: 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:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. C:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: 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:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. C:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: 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:/webkit/Source/WebCore/Scripts/GenerateSettings.rb:283: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
Attachments
Patch (2.00 KB, patch)
2022-03-01 16:36 PST, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2022-02-27 12:00:21 PST
Thank you for bug reporting. This issue was fixded by r290104. Please try the latest. *** This bug has been marked as a duplicate of bug 236684 ***
Don Olmstead
Comment 2 2022-02-27 22:52:04 PST
This is for GenerateSettings.rb while the bug you marked is for GeneratePreferences.rb
Fujii Hironori
Comment 3 2022-03-01 15:56:34 PST
Oops. It's my mistake. Will fix.
Fujii Hironori
Comment 4 2022-03-01 16:36:49 PST
Don Olmstead
Comment 5 2022-03-01 16:38:55 PST
Comment on attachment 453548 [details] Patch r=me assuming bots are happy
EWS
Comment 6 2022-03-01 22:04:27 PST
Committed r290718 (247965@main): <https://commits.webkit.org/247965@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453548 [details].
Radar WebKit Bug Importer
Comment 7 2022-03-01 22:05:19 PST
Note You need to log in before you can comment on or make changes to this bug.