<?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>222182</bug_id>
          
          <creation_ts>2021-02-19 10:42:01 -0800</creation_ts>
          <short_desc>[ macOS Wk2 ] 2X builtins-generator-tests are failing</short_desc>
          <delta_ts>2021-02-19 11:13:36 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>222184</dup_id>
          
          <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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mark.lam</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1731421</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-19 10:42:01 -0800</bug_when>
    <thetext>JavaScriptCore/Scripts/tests/builtins/expected/WebCoreJSBuiltins.h-result
and 
JavaScriptCore/Scripts/tests/builtins/expected/WebCore-GuardedInternalBuiltin-Separate.js-result

are failing in macOS release in Wk2. 

FAILURE TEXT:
PASS: JavaScriptCore-Builtin.prototype-Combined.js-result
PASS: JavaScriptCore-BuiltinConstructor-Separate.js-result
PASS: WebCore-UnguardedBuiltin-Separate.js-result
PASS: WebCore-ArbitraryConditionalGuard-Separate.js-result
PASS: JavaScriptCore-Builtin.Promise-Combined.js-result
PASS: WebCore-DuplicateKeyValueAnnotation-Separate.js-error
FAIL: WebCore-GuardedInternalBuiltin-Separate.js-result
--- JavaScriptCore/Scripts/tests/builtins/expected/WebCore-GuardedInternalBuiltin-Separate.js-result	2021-02-02 16:43:22.000000000 -0800
+++ /var/folders/10/_3cn9dz55qb0vv0d_8_7qmzh0000gn/T/tmpXloMB3builtin-generator-tests/WebCore-GuardedInternalBuiltin-Separate.js-result	2021-02-19 09:25:16.000000000 -0800
@@ -127,7 +127,7 @@
     explicit GuardedInternalBuiltinBuiltinFunctions(JSC::VM&amp; vm) : m_vm(vm) { }
 
     void init(JSC::JSGlobalObject&amp;);
-    void visit(JSC::SlotVisitor&amp;);
+    template&lt;typename Visitor&gt; void visit(Visitor&amp;);
 
 public:
     JSC::VM&amp; m_vm;
@@ -146,13 +146,18 @@
 #undef EXPORT_FUNCTION
 }
 
-inline void GuardedInternalBuiltinBuiltinFunctions::visit(JSC::SlotVisitor&amp; visitor)
+template&lt;typename Visitor&gt;
+inline void GuardedInternalBuiltinBuiltinFunctions::visit(Visitor&amp; visitor)
 {
 #define VISIT_FUNCTION(name) visitor.append(m_##name##Function);
     WEBCORE_FOREACH_GUARDEDINTERNALBUILTIN_BUILTIN_FUNCTION_NAME(VISIT_FUNCTION)
 #undef VISIT_FUNCTION
 }
 
+template void GuardedInternalBuiltinBuiltinFunctions::visit(JSC::AbstractSlotVisitor&amp;);
+template void GuardedInternalBuiltinBuiltinFunctions::visit(JSC::SlotVisitor&amp;);
+
+
 
 } // namespace WebCore
 
PASS: WebCore-DuplicateFlagAnnotation-Separate.js-error
FAIL: WebCore-xmlCasingTest-Separate.js-result
--- JavaScriptCore/Scripts/tests/builtins/expected/WebCore-xmlCasingTest-Separate.js-result	2021-02-02 16:43:22.000000000 -0800
+++ /var/folders/10/_3cn9dz55qb0vv0d_8_7qmzh0000gn/T/tmplmyepdbuiltin-generator-tests/WebCore-xmlCasingTest-Separate.js-result	2021-02-19 09:25:16.000000000 -0800
@@ -143,7 +143,7 @@
     explicit xmlCasingTestBuiltinFunctions(JSC::VM&amp; vm) : m_vm(vm) { }
 
     void init(JSC::JSGlobalObject&amp;);
-    void visit(JSC::SlotVisitor&amp;);
+    template&lt;typename Visitor&gt; void visit(Visitor&amp;);
 
 public:
     JSC::VM&amp; m_vm;
@@ -162,13 +162,18 @@
 #undef EXPORT_FUNCTION
 }
 
-inline void xmlCasingTestBuiltinFunctions::visit(JSC::SlotVisitor&amp; visitor)
+template&lt;typename Visitor&gt;
+inline void xmlCasingTestBuiltinFunctions::visit(Visitor&amp; visitor)
 {
 #define VISIT_FUNCTION(name) visitor.append(m_##name##Function);
     WEBCORE_FOREACH_XMLCASINGTEST_BUILTIN_FUNCTION_NAME(VISIT_FUNCTION)
 #undef VISIT_FUNCTION
 }
 
+template void xmlCasingTestBuiltinFunctions::visit(JSC::AbstractSlotVisitor&amp;);
+template void xmlCasingTestBuiltinFunctions::visit(JSC::SlotVisitor&amp;);
+
+
 
 } // namespace WebCore
 
PASS: JavaScriptCore-BuiltinConstructor-Combined.js-result
PASS: JavaScriptCore-Builtin.prototype-Separate.js-result
FAIL: WebCore-AnotherGuardedInternalBuiltin-Separate.js-result
--- JavaScriptCore/Scripts/tests/builtins/expected/WebCore-AnotherGuardedInternalBuiltin-Separate.js-result	2021-02-02 16:43:22.000000000 -0800
+++ /var/folders/10/_3cn9dz55qb0vv0d_8_7qmzh0000gn/T/tmpkSTaCpbuiltin-generator-tests/WebCore-AnotherGuardedInternalBuiltin-Separate.js-result	2021-02-19 09:25:16.000000000 -0800
@@ -126,7 +126,7 @@
     explicit AnotherGuardedInternalBuiltinBuiltinFunctions(JSC::VM&amp; vm) : m_vm(vm) { }
 
     void init(JSC::JSGlobalObject&amp;);
-    void visit(JSC::SlotVisitor&amp;);
+    template&lt;typename Visitor&gt; void visit(Visitor&amp;);
 
 public:
     JSC::VM&amp; m_vm;
@@ -145,13 +145,18 @@
 #undef EXPORT_FUNCTION
 }
 
-inline void AnotherGuardedInternalBuiltinBuiltinFunctions::visit(JSC::SlotVisitor&amp; visitor)
+template&lt;typename Visitor&gt;
+inline void AnotherGuardedInternalBuiltinBuiltinFunctions::visit(Visitor&amp; visitor)
 {
 #define VISIT_FUNCTION(name) visitor.append(m_##name##Function);
     WEBCORE_FOREACH_ANOTHERGUARDEDINTERNALBUILTIN_BUILTIN_FUNCTION_NAME(VISIT_FUNCTION)
 #undef VISIT_FUNCTION
 }
 
+template void AnotherGuardedInternalBuiltinBuiltinFunctions::visit(JSC::AbstractSlotVisitor&amp;);
+template void AnotherGuardedInternalBuiltinBuiltinFunctions::visit(JSC::SlotVisitor&amp;);
+
+
 
 } // namespace WebCore
 
PASS: JavaScriptCore-Builtin.Promise-Separate.js-result
PASS: WebCore-GuardedBuiltin-Separate.js-result
PASS: JavaScriptCore-InternalClashingNames-Combined.js-error
PASS: JavaScriptCore-InternalClashingNames-Combined.js-result
FAIL: WebCoreJSBuiltins.h-result
--- JavaScriptCore/Scripts/tests/builtins/expected/WebCoreJSBuiltins.h-result	2021-02-02 16:43:22.000000000 -0800
+++ /var/folders/10/_3cn9dz55qb0vv0d_8_7qmzh0000gn/T/tmpaXF4GWbuiltin-generator-tests/WebCoreJSBuiltins.h-result	2021-02-19 09:25:17.000000000 -0800
@@ -199,7 +199,7 @@
 public:
     explicit JSBuiltinInternalFunctions(JSC::VM&amp;);
 
-    void visit(JSC::SlotVisitor&amp;);
+    template&lt;typename Visitor&gt; void visit(Visitor&amp;);
     void initialize(JSDOMGlobalObject&amp;);
 
 #if ENABLE(FETCH_API)
@@ -286,7 +286,8 @@
     UNUSED_PARAM(vm);
 }
 
-void JSBuiltinInternalFunctions::visit(JSC::SlotVisitor&amp; visitor)
+template&lt;typename Visitor&gt;
+void JSBuiltinInternalFunctions::visit(Visitor&amp; visitor)
 {
 #if ENABLE(FETCH_API)
     m_anotherGuardedInternalBuiltin.visit(visitor);
@@ -300,6 +301,9 @@
     UNUSED_PARAM(visitor);
 }
 
+template void JSBuiltinInternalFunctions::visit(AbstractSlotVisitor&amp;);
+template void JSBuiltinInternalFunctions::visit(SlotVisitor&amp;);
+
 void JSBuiltinInternalFunctions::initialize(JSDOMGlobalObject&amp; globalObject)
 {
     UNUSED_PARAM(globalObject);
Some tests FAIL! (To update the reference files, execute &quot;run-builtins-generator-tests --reset-results&quot;)
program finished with exit code 255
elapsedTime=1.254936</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1731422</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-19 10:42:38 -0800</bug_when>
    <thetext>&lt;rdar://problem/74528501&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1731424</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-19 10:46:21 -0800</bug_when>
    <thetext>Looking at builders page:
https://build.webkit.org/#/builders/70

It appears this started at r273138.

CHANGESET URL:
https://trac.webkit.org/changeset/273138/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1731448</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2021-02-19 11:13:06 -0800</bug_when>
    <thetext>Oops ... I also created another bugzilla that implemented the fix.  Will dupe this to that one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1731449</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2021-02-19 11:13:36 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>