<?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>311819</bug_id>
          
          <creation_ts>2026-04-09 07:56:11 -0700</creation_ts>
          <short_desc>[GLIB][JSC] stress/iterator-prototype-includes.js tests are failing since added in 310769@main</short_desc>
          <delta_ts>2026-04-17 08:31:41 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>
          <dependson>312464</dependson>
          <blocked>310698</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>angelos</cc>
    
    <cc>jmichaud</cc>
    
    <cc>tetsuharu.ohzeki</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2198364</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2026-04-09 07:56:11 -0700</bug_when>
    <thetext>https://results.webkit.org/?suite=javascriptcore-tests&amp;test=stress%2Fiterator-prototype-includes.js.default

List of failures:
        stress/iterator-prototype-includes.js.bytecode-cache
        stress/iterator-prototype-includes.js.default
        stress/iterator-prototype-includes.js.dfg-eager
        stress/iterator-prototype-includes.js.dfg-eager-no-cjit-validate
        stress/iterator-prototype-includes.js.eager-jettison-no-cjit
        stress/iterator-prototype-includes.js.ftl-eager
        stress/iterator-prototype-includes.js.ftl-eager-no-cjit
        stress/iterator-prototype-includes.js.ftl-eager-no-cjit-b3o1
        stress/iterator-prototype-includes.js.ftl-no-cjit-b3o0
        stress/iterator-prototype-includes.js.ftl-no-cjit-no-inline-validate
        stress/iterator-prototype-includes.js.ftl-no-cjit-no-put-stack-validate
        stress/iterator-prototype-includes.js.ftl-no-cjit-small-pool
        stress/iterator-prototype-includes.js.ftl-no-cjit-validate-sampling-profiler
        stress/iterator-prototype-includes.js.lockdown
        stress/iterator-prototype-includes.js.mini-mode
        stress/iterator-prototype-includes.js.no-cjit-collect-continuously
        stress/iterator-prototype-includes.js.no-cjit-validate-phases
        stress/iterator-prototype-includes.js.no-ftl
        stress/iterator-prototype-includes.js.no-llint


Example output for some of them:

stress/iterator-prototype-includes.js.lockdown: Exception: Error: call on short iterator with 2nd arg (large number): Number.MAX_VALUE: calling .includes(): Expected false but got true
stress/iterator-prototype-includes.js.lockdown: sameValue@iterator-prototype-includes.js:5:24
stress/iterator-prototype-includes.js.lockdown: global code@iterator-prototype-includes.js:457:18
stress/iterator-prototype-includes.js.lockdown: ERROR: Unexpected exit code: 3
stress/iterator-prototype-includes.js.lockdown: Repro command:  jsc --validateOptions=true --useFTLJIT=false --useFunctionDotArguments=true --validateExceptionChecks=true --useDollarVM=true --maxPerThreadStackUsage=1572864 --useJIT=false --useGenerationalGC=false --useConcurrentGC=false --useLLIntICs=false --use
ZombieMode=true --allowDoubleShape=false --alwaysHaveABadTime=true --libpasForcePGMWithRate=14 --useIteratorIncludes=1 iterator-prototype-includes.js
stress/iterator-prototype-includes.js.default: Exception: Error: call on short iterator with 2nd arg (large number): Number.MAX_VALUE: calling .includes(): Expected false but got true
stress/iterator-prototype-includes.js.default: sameValue@iterator-prototype-includes.js:5:24
stress/iterator-prototype-includes.js.default: global code@iterator-prototype-includes.js:457:18
stress/iterator-prototype-includes.js.ftl-no-cjit-b3o0: Exception: Error: call on short iterator with 2nd arg (large number): Number.MAX_VALUE: calling .includes(): Expected false but got true
stress/iterator-prototype-includes.js.ftl-no-cjit-b3o0: sameValue@iterator-prototype-includes.js:5:24
stress/iterator-prototype-includes.js.ftl-no-cjit-b3o0: global code@iterator-prototype-includes.js:457:18
stress/iterator-prototype-includes.js.no-llint: Exception: Error: call on short iterator with 2nd arg (large number): Number.MAX_VALUE: calling .includes(): Expected false but got true
stress/iterator-prototype-includes.js.no-llint: sameValue@iterator-prototype-includes.js:5:24
stress/iterator-prototype-includes.js.no-llint: global code@iterator-prototype-includes.js:457:18
stress/iterator-prototype-includes.js.bytecode-cache: Exception: Error: call on short iterator with 2nd arg (large number): Number.MAX_VALUE: calling .includes(): Expected false but got true
stress/iterator-prototype-includes.js.bytecode-cache: sameValue@iterator-prototype-includes.js:5:24
stress/iterator-prototype-includes.js.bytecode-cache: global code@iterator-prototype-includes.js:457:18
stress/iterator-prototype-includes.js.bytecode-cache: Command &apos;../../.vm/JavaScriptCore.framework/Helpers/jsc iterator-prototype-includes.js --validateOptions=true --useFTLJIT=false --useFunctionDotArguments=true --validateExceptionChecks=true --useDollarVM=true --maxPerThreadStackUsage=1572864 --validateOptions
=true --useFTLJIT=true --useIteratorIncludes=1&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198887</commentid>
    <comment_count>1</comment_count>
    <who name="Justin Michaud">jmichaud</who>
    <bug_when>2026-04-10 11:41:01 -0700</bug_when>
    <thetext>This is gcc-only</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198951</commentid>
    <comment_count>2</comment_count>
    <who name="Justin Michaud">jmichaud</who>
    <bug_when>2026-04-10 13:57:56 -0700</bug_when>
    <thetext>toSkip = static_cast&lt;uint64_t&gt;(skippedAsDouble); appears to be UB</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2199064</commentid>
    <comment_count>3</comment_count>
    <who name="Justin Michaud">jmichaud</who>
    <bug_when>2026-04-10 21:27:15 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62511</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201470</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-17 06:39:28 -0700</bug_when>
    <thetext>Committed 311446@main (30298eb4df3c): &lt;https://commits.webkit.org/311446@main&gt;

Reviewed commits have been landed. Closing PR #62511 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201471</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-04-17 06:40:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/175005735&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2201518</commentid>
    <comment_count>6</comment_count>
    <who name="Tetsuharu Ohzeki [UTC+9]">tetsuharu.ohzeki</who>
    <bug_when>2026-04-17 08:31:41 -0700</bug_when>
    <thetext>*** Bug 312464 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>