RESOLVED FIXED177743
Use of uninitialized value $targetIdlFile in hash element at preprocess-idls.pl line 165.
https://bugs.webkit.org/show_bug.cgi?id=177743
Summary Use of uninitialized value $targetIdlFile in hash element at preprocess-idls....
Michael Catanzaro
Reported 2017-10-02 06:54:13 PDT
We should fix this regression: Use of uninitialized value $targetIdlFile in hash element at /home/mcatanzaro/Projects/WebKit/Source/WebCore/bindings/scripts/preprocess-idls.pl line 165.
Attachments
Patch (2.41 KB, patch)
2017-10-26 21:20 PDT, Fujii Hironori
no flags
Patch (3.30 KB, patch)
2017-10-26 21:34 PDT, Fujii Hironori
no flags
Patch (3.25 KB, patch)
2017-10-27 02:59 PDT, Fujii Hironori
no flags
Patch (3.54 KB, patch)
2017-10-29 19:27 PDT, Fujii Hironori
no flags
Michael Catanzaro
Comment 1 2017-10-26 19:57:56 PDT
Summoning lovers slash understanders slash victims of Perl, known or suspected ....
Fujii Hironori
Comment 2 2017-10-26 20:18:31 PDT
Modules/webvr/GamepadWebVR.idl supplements Modules/gamepad/Gamepad.idl. But, Gamepad.idl is not processed because ENABLE_GAMEPAD is OFF.
Fujii Hironori
Comment 3 2017-10-26 21:20:23 PDT
Build Bot
Comment 4 2017-10-26 21:24:34 PDT
Attachment 325121 [details] did not pass style-queue: ERROR: Source/WebCore/CMakeLists.txt:998: There should be exactly one empty line instead of 0 between "Modules/gamepad/NavigatorGamepad.idl" and "Modules/webvr/GamepadWebVR.idl". [list/emptyline] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Fujii Hironori
Comment 5 2017-10-26 21:34:22 PDT
Fujii Hironori
Comment 6 2017-10-27 02:59:20 PDT
Michael Catanzaro
Comment 7 2017-10-27 08:31:26 PDT
Comment on attachment 325146 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325146&action=review > Source/WebCore/Sources.txt:2978 > +Modules/webvr/GamepadWebVR.cpp There should be a blank line between files in different directories. > Source/WebCore/bindings/scripts/preprocess-idls.pl:164 > + my $targetIdlFile = $interfaceNameToIdlFile{$baseFile} or die "${baseFile}.idl is not found which is supplemented by $idlFile"; How about "${baseFile}.idl not found, but it is supplemented by $idlFile"
Michael Catanzaro
Comment 8 2017-10-27 08:31:47 PDT
Also: thanks ;)
Fujii Hironori
Comment 9 2017-10-29 19:27:13 PDT
Created attachment 325311 [details] Patch * Addressed review feedbacks.
WebKit Commit Bot
Comment 10 2017-10-29 20:40:53 PDT
Comment on attachment 325311 [details] Patch Clearing flags on attachment: 325311 Committed r224168: <https://trac.webkit.org/changeset/224168>
WebKit Commit Bot
Comment 11 2017-10-29 20:40:55 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 12 2017-11-15 13:12:32 PST
Note You need to log in before you can comment on or make changes to this bug.