<?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>227753</bug_id>
          
          <creation_ts>2021-07-07 10:36:16 -0700</creation_ts>
          <short_desc>[ macOS ] fast/dom/Window/post-message-large-array-buffer-should-not-crash.html is a flaky failure</short_desc>
          <delta_ts>2025-02-28 15:01:37 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=227755</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>ayumi_kojima</reporter>
          <assigned_to>ayumi_kojima</assigned_to>
          <cc>keith_miller</cc>
    
    <cc>rackler</cc>
    
    <cc>tsavell</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>1775320</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-07 10:36:16 -0700</bug_when>
    <thetext>fast/dom/Window/post-message-large-array-buffer-should-not-crash.html

History: https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fdom%2FWindow%2Fpost-message-large-array-buffer-should-not-crash.html

I was able to reproduce the failure at r279603 and r276913 with run-webkit-tests fast/dom/Window/post-message-large-array-buffer-should-not-crash.html --iterations 50 —debug -f -1 

--- /Volumes/Data/Builds/debug-279603/layout-test-results/fast/dom/Window/post-message-large-array-buffer-should-not-crash-expected.txt
+++ /Volumes/Data/Builds/debug-279603/layout-test-results/fast/dom/Window/post-message-large-array-buffer-should-not-crash-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
 Check that trying to deserialize an ArrayBuffer when there&apos;s not enough memory does not crash (test may only fail flakily)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775322</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-07-07 10:37:27 -0700</bug_when>
    <thetext>&lt;rdar://problem/80277602&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775336</commentid>
    <comment_count>2</comment_count>
      <attachid>433048</attachid>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-07 10:58:06 -0700</bug_when>
    <thetext>Created attachment 433048
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775340</commentid>
    <comment_count>3</comment_count>
      <attachid>433048</attachid>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2021-07-07 11:04:55 -0700</bug_when>
    <thetext>Comment on attachment 433048
Patch

Clearing flags on attachment: 433048

Committed r279650 (239463@main): &lt;https://commits.webkit.org/239463@main&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792051</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-09-09 13:06:13 -0700</bug_when>
    <thetext>*** Bug 227755 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792053</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-09-09 13:06:43 -0700</bug_when>
    <thetext>Comment from Keith in the dupe:
We should probably just change the test to &quot;handle&quot; the promise, which can just be an empty callback.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099440</commentid>
    <comment_count>6</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2025-02-28 14:56:19 -0800</bug_when>
    <thetext>The test is also flaky failing on macOS wk1 x86_64.  Modify test expectation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099442</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-28 15:01:37 -0800</bug_when>
    <thetext>Test gardening commit 291384@main (283dfc74dbb1): &lt;https://commits.webkit.org/291384@main&gt;

Reviewed commits have been landed. Closing PR #41673 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>433048</attachid>
            <date>2021-07-07 10:58:06 -0700</date>
            <delta_ts>2021-07-07 11:04:55 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-227753-20210707105806.patch</filename>
            <type>text/plain</type>
            <size>1503</size>
            <attacher>ayumi_kojima</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc5NjQwCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNmU4NDRmNjdmZjUxNjNmMGI0MjQ3
ZDc4MzlhNmFhYWE5NzE4Yjc0Zi4uYWZmMzJjYjM4YmQzOGYxYWI4NTM2NTIyMzcwZjdhZmUxNjFh
MmY2ZiAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDIxLTA3LTA3ICBBeXVtaSBLb2ppbWEgIDxh
eXVtaV9rb2ppbWFAYXBwbGUuY29tPgorCisgICAgICAgIFsgTWFjIERlYnVnI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