<?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>159591</bug_id>
          
          <creation_ts>2016-07-08 17:28:04 -0700</creation_ts>
          <short_desc>LayoutTests jquery/attributes.html, core.html, event.html, manipulation.html, and traversing.html are flaky</short_desc>
          <delta_ts>2016-07-12 18:16:46 -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>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>159616</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=159589</see_also>
          <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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mark.lam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1209360</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-07-08 17:28:04 -0700</bug_when>
    <thetext>Regressions: Unexpected text-only failures
  jquery/attributes.html
  jquery/core.html
  jquery/event.html
  jquery/manipulation.html
  jquery/traversing.html

https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r203006%20(7494)/results.html
https://build.webkit.org/builders/Apple%20Yosemite%20Release%20WK2%20%28Tests%29/builds/15964

--- /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/jquery/core-expected.txt
+++ /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/jquery/core-actual.txt
@@ -1,2 +1,51 @@
-ALERT: 667 tests of 667 passed, 0 failed.
+CONSOLE MESSAGE: line 900: Test map() died, exception and test follows
+CONSOLE MESSAGE: line 901: RangeError: Maximum call stack size exceeded.
+CONSOLE MESSAGE: line 902: function () {
+	expect(2);//expect(6);
 
+	same(
+		jQuery(&quot;#ap&quot;).map(function(){
+			return jQuery(this).find(&quot;a&quot;).get();
+		}).get(),
+		q(&quot;google&quot;, &quot;groups&quot;, &quot;anchor1&quot;, &quot;mark&quot;),
+		&quot;Array Map&quot;
+	);
+
+	same(
+		jQuery(&quot;#ap &gt; a&quot;).map(function(){
+			return this.parentNode;
+		}).get(),
+		q(&quot;ap&quot;,&quot;ap&quot;,&quot;ap&quot;),
+		&quot;Single Map&quot;
+	);
+
+	return;//these haven&apos;t been accepted yet
+
+	//for #2616
+	var keys = jQuery.map( {a:1,b:2}, function( v, k ){
+		return k;
+	}, [ ] );
+
+	equals( keys.join(&quot;&quot;), &quot;ab&quot;, &quot;Map the keys from a hash to an array&quot; );
+
+	var values = jQuery.map( {a:1,b:2}, function( v, k ){
+		return v;
+	}, [ ] );
+
+	equals( values.join(&quot;&quot;), &quot;12&quot;, &quot;Map the values from a hash to an array&quot; );
+
+	var scripts = document.getElementsByTagName(&quot;script&quot;);
+	var mapped = jQuery.map( scripts, function( v, k ){
+		return v;
+	}, {length:0} );
+
+	equals( mapped.length, scripts.length, &quot;Map an array(-like) to a hash&quot; );
+
+	var flat = jQuery.map( Array(4), function( v, k ){
+		return k % 2 ? k : [k,k,k];//try mixing array and regular returns
+	});
+
+	equals( flat.join(&quot;&quot;), &quot;00012223&quot;, &quot;try the new flatten technique(#2616)&quot; );
+}
+ALERT: 666 tests of 667 passed, 1 failed.
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1209365</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-07-08 17:29:29 -0700</bug_when>
    <thetext>These tests have become flaky failures on Mac. They all fail together.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1210236</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-07-12 16:36:40 -0700</bug_when>
    <thetext>When did this regress, was it &lt;http://trac.webkit.org/r203067&gt;?

Mark, would you be available to take a look?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1210294</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-07-12 18:16:11 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; When did this regress, was it &lt;http://trac.webkit.org/r203067&gt;?
&gt; 
&gt; Mark, would you be available to take a look?

https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r203006%20(7494)/results.html is run on r203006.  Hence, this cannot be due to r203067.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1210296</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-07-12 18:16:46 -0700</bug_when>
    <thetext>Indeed.

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

    </bug>

</bugzilla>