<?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>205927</bug_id>
          
          <creation_ts>2020-01-08 07:43:33 -0800</creation_ts>
          <short_desc>few web-platform-tests are failing on iOS</short_desc>
          <delta_ts>2020-01-08 22:53:32 -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>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=205639</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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Pablo Saavedra">psaavedra</assigned_to>
          <cc>ap</cc>
    
    <cc>psaavedra</cc>
    
    <cc>ryanhaddad</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>1604090</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-01-08 07:43:33 -0800</bug_when>
    <thetext>Following web-platform-tests are failing consistently on iOS:

imported/w3c/web-platform-tests/content-security-policy/frame-ancestors/frame-ancestors-from-serviceworker.https.html
imported/w3c/web-platform-tests/content-security-policy/frame-src/frame-src-same-document-meta.html
imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub.html
imported/w3c/web-platform-tests/xhr/event-timeout-order.any.html


Seems like it was caused by https://trac.webkit.org/changeset/254133/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604133</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-01-08 09:51:50 -0800</bug_when>
    <thetext>The diffs for the CSP tests suggest that they may just need iOS baselines:

--- /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/frame-ancestors/frame-ancestors-from-serviceworker.https-expected.txt
+++ /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/frame-ancestors/frame-ancestors-from-serviceworker.https-actual.txt
@@ -1,5 +1,4 @@
 
-Harness Error (FAIL), message = TypeError: undefined is not an object (evaluating &apos;navigator.serviceWorker.getRegistration&apos;)
 
-NOTRUN A &apos;frame-ancestors&apos; CSP directive set from a serviceworker response with a value &apos;none&apos; should block rendering. 
+PASS A &apos;frame-ancestors&apos; CSP directive set from a serviceworker response with a value &apos;none&apos; should block rendering. 
 

--- /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/frame-src/frame-src-same-document-meta-expected.txt
+++ /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/frame-src/frame-src-same-document-meta-actual.txt
@@ -1,4 +1,4 @@
-Blocked access to external URL http://www1.%7B%7Bhost%7D%7D/content-security-policy/support/frame.html#0
+Blocked access to external URL http://www1.{{host}}/content-security-policy/support/frame.html#0
 
 
 Harness Error (TIMEOUT), message = null


--- /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub-expected.txt
+++ /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/reporting/report-only-in-meta.sub-actual.txt
@@ -1,4 +1,6 @@
 
 
 PASS Image should load 
+PASS checkReport tests loaded 
+PASS Violation report status OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604135</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-01-08 09:52:19 -0800</bug_when>
    <thetext>The XHR one came from https://trac.webkit.org/changeset/254154/webkit

Also looks like it needs an iOS baseline:
--- /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/xhr/event-timeout-order.any-expected.txt
+++ /Volumes/Data/worker/iOS-13-Simulator-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/xhr/event-timeout-order.any-actual.txt
@@ -1,3 +1,3 @@
 
-FAIL XMLHttpRequest: event - timeout (order of events) assert_equals: expected &quot;readystatechange(4)&quot; but got &quot;upload.progress(12,12,true)&quot;
+PASS XMLHttpRequest: event - timeout (order of events)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604322</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2020-01-08 15:45:28 -0800</bug_when>
    <thetext>Added iOS baselines in http://trac.webkit.org/r254231</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604323</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-01-08 15:46:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/58424725&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604527</commentid>
    <comment_count>5</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2020-01-08 22:53:32 -0800</bug_when>
    <thetext>Thanks Ryan Haddad to take care about the missing baselines for ios-wk2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>