<?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>175419</bug_id>
          
          <creation_ts>2017-08-10 02:11:58 -0700</creation_ts>
          <short_desc>[GTK] Several service-workers related tests are failing</short_desc>
          <delta_ts>2020-02-24 00:59:51 -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>WebKitGTK</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=190196</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=190198</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=201981</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>
          <dependson>178576</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miguel Gomez">magomez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>csaavedra</cc>
    
    <cc>dpino</cc>
    
    <cc>fred.wang</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>youennf</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1337358</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2017-08-10 02:11:58 -0700</bug_when>
    <thetext>Service-workers implementation is not complete yet. Some tests are skipped at the general TestExpectations, but those related to cache-storage are already unskipped for mac. These are:

imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-keys.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html [ Failure ]
imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html [ Failure ]

These tests were added in r220311. I&apos;m skipping that directory in the gtk TestExpectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1337360</commentid>
    <comment_count>1</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2017-08-10 02:28:27 -0700</bug_when>
    <thetext>And more service-worker related tests failing, these since r220270 where their expectations were changed:

imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https.html [ Failure ]
imported/w3c/web-platform-tests/background-fetch/interfaces.html [ Failure ]
imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https.html [ Failure ]
imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https.html [ Failure ]
imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https.html [ Failure ]
imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https.html [ Failure ]
imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https.html [ Failure ]
imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https.html [ Failure ]
imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https.html [ Failure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465583</commentid>
    <comment_count>2</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2018-10-02 09:02:47 -0700</bug_when>
    <thetext>The failing tests are now:

http/tests/workers/service/controller-change.html
http/tests/workers/service/no-page-cache-when-controlled.html
http/wpt/service-workers/persistent-importScripts.html
imported/w3c/web-platform-tests/service-workers/service-worker/activation.https.html
imported/w3c/web-platform-tests/service-workers/service-worker/claim-with-redirect.https.html
imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-within-sw.https.html
imported/w3c/web-platform-tests/service-workers/service-worker/registration-script.https.html [ 
imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-using-registration.https.html
imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-without-client.https.html
imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting-without-using-registration.https.html
imported/w3c/web-platform-tests/service-workers/service-worker/skip-waiting.https.html

It seems most of them are related to an assertion failure:
ERROR: ResourceLoadStatisticsPersistentStorage: Unable to delete statistics file: /tmp/WebKitTestRunners-maRQFU/ResourceLoadStatistics/full_browsing_session_resourceLog.plist
../../Source/WebKit/UIProcess/ResourceLoadStatisticsPersistentStorage.cpp(311) : void WebKit::ResourceLoadStatisticsPersistentStorage::clear()
ASSERTION FAILED: m_ptr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465646</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-10-02 10:19:03 -0700</bug_when>
    <thetext>We should really take the time to implement resource load statistics.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1470522</commentid>
    <comment_count>4</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2018-10-18 07:10:42 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/service-workers/cache-storage/window/cache-storage-match.https.html [ Crash ]
imported/w3c/web-platform-tests/service-workers/cache-storage/worker/cache-storage-match.https.html [ Crash ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1472770</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-10-27 17:58:13 -0700</bug_when>
    <thetext>One more that was missed:

imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html [ Failure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1472771</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-10-27 17:59:45 -0700</bug_when>
    <thetext>Also:

imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/credentials.https.html [ Failure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1474094</commentid>
    <comment_count>7</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2018-11-01 07:41:10 -0700</bug_when>
    <thetext>(In reply to Frédéric Wang (:fredw) from comment #2)

&gt; It seems most of them are related to an assertion failure:
&gt; ERROR: ResourceLoadStatisticsPersistentStorage: Unable to delete statistics
&gt; file:
&gt; /tmp/WebKitTestRunners-maRQFU/ResourceLoadStatistics/
&gt; full_browsing_session_resourceLog.plist
&gt; ../../Source/WebKit/UIProcess/ResourceLoadStatisticsPersistentStorage.
&gt; cpp(311) : void WebKit::ResourceLoadStatisticsPersistentStorage::clear()


I filed https://bugs.webkit.org/show_bug.cgi?id=191152 about this error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1493275</commentid>
    <comment_count>8</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-01-10 06:32:12 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https.html

is now flaky failure/pass. Updating expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1493285</commentid>
    <comment_count>9</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-01-10 07:09:21 -0800</bug_when>
    <thetext>http/tests/workers/service/serviceworker-private-browsing.https.html [ Timeout Pass ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605650</commentid>
    <comment_count>10</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-01-12 07:50:30 -0800</bug_when>
    <thetext>Two tests are flaky since r251067:

  * http/wpt/service-workers/persistent-importScripts.html [ Failure Pass Timeout ]
  * http/tests/workers/service/postmessage-after-terminate.https.html [ Failure Pass Timeout ]

I&apos;ll update test expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605656</commentid>
    <comment_count>11</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-01-12 08:30:40 -0800</bug_when>
    <thetext>The following test is timing out since r251067:

  * http/wpt/service-workers/service-worker-networkprocess-crash.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612536</commentid>
    <comment_count>12</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-01-29 10:23:05 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https.html is passing since r255138. Updated TestExpectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622072</commentid>
    <comment_count>13</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-02-24 00:59:51 -0800</bug_when>
    <thetext>The following test is flaky since [r256865-r256897]:

* http/wpt/service-workers/service-worker-networkprocess-crash.html [ Pass Failure ]</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>