<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>147132</bug_id>
          
          <creation_ts>2015-07-20 17:16:49 -0700</creation_ts>
          <short_desc>Use of uninitialized value $type in IDLParser.pm</short_desc>
          <delta_ts>2022-08-19 16:49:27 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>149406</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1110840</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-07-20 17:16:49 -0700</bug_when>
    <thetext>I don&apos;t understand Perl nor what is going on here, but it looks bad:

[622/1038] Generating ../../DerivedSou...ces/webkitdom/WebKitDOMCharacterData.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[623/1038] Generating ../../DerivedSou...rces/webkitdom/WebKitDOMDocumentType.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[625/1038] Generating ../../DerivedSou.../webkitdom/WebKitDOMDocumentFragment.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[631/1038] Generating ../../DerivedSou...dSources/webkitdom/WebKitDOMDocument.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[633/1038] Generating ../../DerivedSou...edSources/webkitdom/WebKitDOMElement.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.

Nothing has changed here recently, so I have no clue why I am only now seeing the warnings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890330</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-10 10:29:32 -0700</bug_when>
    <thetext>I could only find two changes to IDLParser.pm near July 2015:

https://github.com/WebKit/WebKit/commit/05fa8411002fefbd0a66859046f0ac4a78e3bb2f

https://github.com/WebKit/WebKit/commit/1d068a4b1cc7149de5fc6fc443950fb085d004ed

First one seems to be more about fixing these type of warnings. Just wanted to share what I could fine and I could be completely but just wanted to update. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892556</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-08-19 16:49:27 -0700</bug_when>
    <thetext>Yes, 167542@main was the fix.

*** This bug has been marked as a duplicate of bug 149406 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>