Bug 234267

Summary: [ Catalina+ iOS ] imported/w3c/web-platform-tests/file-system-access/sandboxed_FileSystemSyncAccessHandle-truncate.https.tentative.worker.html is a constant text failure
Product: WebKit Reporter: Robert Jenner <jenner>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Robert Jenner 2021-12-13 14:08:14 PST
imported/w3c/web-platform-tests/file-system-access/sandboxed_FileSystemSyncAccessHandle-truncate.https.tentative.worker.html 

is a constant text failure on Mac and iOS platforms.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Ffile-system-access%2Fsandboxed_FileSystemSyncAccessHandle-truncate.https.tentative.worker.html

DIFF URL:
https://build.webkit.org/results/Apple-Monterey-Release-AppleSilicon-WK2-Tests/r286958%20(583)/imported/w3c/web-platform-tests/file-system-access/sandboxed_FileSystemSyncAccessHandle-truncate.https.tentative.worker-pretty-diff.html


DIFF TEXT:
-FAIL test createSyncAccessHandle.truncate with pending operation assert_unreached: Should have rejected: undefined Reached unreachable code
-PASS test SyncAccessHandle.truncate with different sizes
-PASS test SyncAccessHandle.truncate after SyncAccessHandle.write
+FAIL test createSyncAccessHandle.truncate with pending operation promise_test: Unhandled rejection with value: object "InvalidStateError: The object is in an invalid state."
+FAIL test SyncAccessHandle.truncate with different sizes promise_test: Unhandled rejection with value: object "InvalidStateError: The object is in an invalid state."
+FAIL test SyncAccessHandle.truncate after SyncAccessHandle.write promise_test: Unhandled rejection with value: object "InvalidStateError: The object is in an invalid state."
Comment 1 Robert Jenner 2021-12-13 14:18:44 PST
It appears that r286601 is the regression point for this failure, as changes there appear to be related to File System, and the test that is failing also appears to deal with File System:

https://trac.webkit.org/changeset/286601/webkit
Comment 2 Radar WebKit Bug Importer 2021-12-13 14:19:40 PST
<rdar://problem/86433626>
Comment 3 Robert Jenner 2021-12-13 14:35:30 PST

*** This bug has been marked as a duplicate of bug 234271 ***