<?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>201429</bug_id>
          
          <creation_ts>2019-09-03 10:17:09 -0700</creation_ts>
          <short_desc>REGRESSION (r249338): Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-to-client-message-queue.https.html is a flaky failure</short_desc>
          <delta_ts>2019-09-07 13:25:54 -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>Service Workers</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=201169</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 name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</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>1567420</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2019-09-03 10:17:09 -0700</bug_when>
    <thetext>The following layout test is failing on [insert platform]

imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-to-client-message-queue.https.html

Probable cause:

This appears to have started with:
&quot;Add support for postMessage buffering between the service worker and window&quot;
https://trac.webkit.org/changeset/249338/webkit 

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fpostmessage-to-client-message-queue.https.html


--- /Volumes/Data/slave/mojave-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-to-client-message-queue.https-expected.txt
+++ /Volumes/Data/slave/mojave-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/postmessage-to-client-message-queue.https-actual.txt
@@ -2,6 +2,6 @@
 PASS Messages from ServiceWorker to Client only received after DOMContentLoaded event. 
 PASS Messages from ServiceWorker to Client only received after calling startMessages(). 
 PASS Messages from ServiceWorker to Client only received after setting onmessage. 
-PASS Microtasks run before dispatching messages after calling startMessages(). 
-PASS Microtasks run before dispatching messages after setting onmessage. 
+FAIL Microtasks run before dispatching messages after calling startMessages(). promise_test: Unhandled rejection with value: object &quot;Error: wait_for_state must be passed a ServiceWorker&quot;
+FAIL Microtasks run before dispatching messages after setting onmessage. promise_test: Unhandled rejection with value: object &quot;Error: wait_for_state must be passed a ServiceWorker&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567421</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-09-03 10:17:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/54979900&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567422</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2019-09-03 10:18:35 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #0)
&gt; The following layout test is failing on [insert platform]

The test is a flaky failure on macOS Debug WK2, GTK, and WPE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567423</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-09-03 10:30:56 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #2)
&gt; (In reply to Ryan Haddad from comment #0)
&gt; &gt; The following layout test is failing on [insert platform]
&gt; 
&gt; The test is a flaky failure on macOS Debug WK2, GTK, and WPE.

Ok, it is the test I unskipped in https://trac.webkit.org/changeset/249338/webkit. I think we should mark it as flaky for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568907</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-09-07 11:54:09 -0700</bug_when>
    <thetext>&gt; I think we should mark it as flaky for now.

Is that really the right thing to do? r249338 implemented a feature, and the only test for it is flaky. Typically, we roll back changes like that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568914</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2019-09-07 13:06:10 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #4)
&gt; &gt; I think we should mark it as flaky for now.
&gt; 
&gt; Is that really the right thing to do? r249338 implemented a feature, and the
&gt; only test for it is flaky. Typically, we roll back changes like that.

Yes, I should have rolled this out. I forgot to revisit this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568916</commentid>
    <comment_count>6</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2019-09-07 13:21:35 -0700</bug_when>
    <thetext>Rolled out in &lt;https://trac.webkit.org/changeset/249615&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1568918</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2019-09-07 13:25:54 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #6)
&gt; Rolled out in &lt;https://trac.webkit.org/changeset/249615&gt;.

Not sure that could not wait until Monday but ok.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>