<?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>265749</bug_id>
          
          <creation_ts>2023-12-03 01:55:01 -0800</creation_ts>
          <short_desc>REGRESSION(268561@main): generate-bindings-all.pl: [CMake] doesn&apos;t account for certain IDL changes</short_desc>
          <delta_ts>2023-12-04 16:48:43 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=261364</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>fujii</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1996535</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-12-03 01:55:01 -0800</bug_when>
    <thetext>https://github.com/WebKit/WebKit/pull/21232 is failing to compile across the Linux bots due to what appears to be the incremental build not realizing the IDL changes are significant.

For instance:

In file included from /app/webkit/WebKitBuild/WPE/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-109.cpp:2:
/app/webkit/WebKitBuild/WPE/Release/WebCore/DerivedSources/JSPerformanceNavigationTiming.cpp: In function ‘JSC::EncodedJSValue WebCore::jsPerformanceNavigationTimingPrototypeFunction_toJSONBody(JSC::JSGlobalObject*, JSC::CallFrame*, JSPerformanceNavigationTiming*)’:
/app/webkit/WebKitBuild/WPE/Release/WebCore/DerivedSources/JSPerformanceNavigationTiming.cpp:437:35: error: ‘serverTimingEnabled’ is not a member of ‘WebCore::DeprecatedGlobalSettings’</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996858</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-12-04 13:55:56 -0800</bug_when>
    <thetext>The generated JSPerformanceNavigationTiming.dep contains the following line:

&gt; JSPerformanceNavigationTiming.h : PerformanceResourceTiming.idl PerformanceEntry.idl

If PerformanceResourceTiming.idl is modified, JSPerformanceNavigationTiming.{h,cpp} should be regenerated.

This is a regression of 268561@main (bug#261364).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996863</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-12-04 14:04:32 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/21299</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996866</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-12-04 14:22:09 -0800</bug_when>
    <thetext>Is there a reason the dependency file doesn&apos;t simply also contain JSPerformanceNavigationTiming.cpp? Why only regenerate the header and not also the generated source file?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996869</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-04 14:28:58 -0800</bug_when>
    <thetext>Committed 271510@main (e4ad7f1cf28a): &lt;https://commits.webkit.org/271510@main&gt;

Reviewed commits have been landed. Closing PR #21299 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996870</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-04 14:30:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/119153459&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996875</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-12-04 14:35:34 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #3)
&gt; Is there a reason the dependency file doesn&apos;t simply also contain
&gt; JSPerformanceNavigationTiming.cpp? Why only regenerate the header and not
&gt; also the generated source file?

Oh, I missed your comment.
generate-bindings.pl gerenates both .cpp and .h at the same time.
So, it doesn&apos;t need .cpp line in the .dep file.

And, generate-bindings-all.pl process only the file line of .dep files at the moment.
https://github.com/WebKit/WebKit/blob/906329430eb27e345bf525433f393e8a3912936a/Source/WebCore/bindings/scripts/generate-bindings-all.pl#L201</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>