<?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>251869</bug_id>
          
          <creation_ts>2023-02-07 11:09:22 -0800</creation_ts>
          <short_desc>Iteration order of Set.prototype.intersection is different from proposed spec when this.size &gt; other.size</short_desc>
          <delta_ts>2023-03-21 18:36:00 -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>CONFIGURATION CHANGED</resolution>
          
          
          <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="Keith Miller">keith_miller</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ross.kirsling</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1931776</commentid>
    <comment_count>0</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2023-02-07 11:09:22 -0800</bug_when>
    <thetext>It&apos;s currently specified that the order should be the same as the this value even though we iterate on the other object. This is difficult in our implementation because we can&apos;t O(1) test the order of two elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1931780</commentid>
    <comment_count>1</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2023-02-07 11:29:33 -0800</bug_when>
    <thetext>Also, heres&apos;s the issue tracker for this on the spec side: https://github.com/tc39/proposal-set-methods/issues/91</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942993</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Kirsling">ross.kirsling</who>
    <bug_when>2023-03-21 18:36:00 -0700</bug_when>
    <thetext>Looks like the plenary decision was just to drop the sorting step, so we can simply remove the FIXME.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>