RESOLVED FIXED Bug 205927
few web-platform-tests are failing on iOS
https://bugs.webkit.org/show_bug.cgi?id=205927
Summary few web-platform-tests are failing on iOS
Aakash Jain
Reported 2020-01-08 07:43:33 PST
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
Attachments
Ryan Haddad
Comment 1 2020-01-08 09:51:50 PST
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 'navigator.serviceWorker.getRegistration') -NOTRUN A 'frame-ancestors' CSP directive set from a serviceworker response with a value 'none' should block rendering. +PASS A 'frame-ancestors' CSP directive set from a serviceworker response with a value 'none' 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.
Ryan Haddad
Comment 2 2020-01-08 09:52:19 PST
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 "readystatechange(4)" but got "upload.progress(12,12,true)" +PASS XMLHttpRequest: event - timeout (order of events)
Ryan Haddad
Comment 3 2020-01-08 15:45:28 PST
Added iOS baselines in http://trac.webkit.org/r254231
Radar WebKit Bug Importer
Comment 4 2020-01-08 15:46:12 PST
Pablo Saavedra
Comment 5 2020-01-08 22:53:32 PST
Thanks Ryan Haddad to take care about the missing baselines for ios-wk2.
Note You need to log in before you can comment on or make changes to this bug.