Closed Bug 1722019 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29762 - Revert "[fsa] Implement truncate for the sync access handle"

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 29762 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/29762
Details from upstream follow.

b'Henrik Bostr\xc3\xb6m <hbos@chromium.org>' wrote:

Revert "[fsa] Implement truncate for the sync access handle"

This reverts commit 7ddd6ce32e94379d5b7321b2de8ebde9e03c332c.

Reason for revert:

virtual/file-system-access-access-handle/external/wpt/file-system-access/sandboxed_FileSystemSyncAccessHandle-close.https.tentative.worker.html

Started failing on:

https://ci.chromium.org/ui/p/chromium/builders/ci/Mac10.13%20Tests/40088/overview

Original change's description:

[fsa] Implement truncate for the sync access handle

The implementation is ported from the implementation of
Storage Foundation in
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/native_io/native_io_file_async.cc.

This is part of the efforts to merge Storage Foundation into OPFS.

Note that this CL does not contain the implementation for MacOS below
version 10.15. The old MacOS needs special handling, which will be added
in a separate CL.

Bug: chromium:1218431
Change-Id: I8e742fe0beeb93520e521358981f561a83c11732
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3044117
Commit-Queue: Andreas Haas \<ahaas@chromium.org>
Reviewed-by: Marijn Kruisselbrink \<mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#904693}

Bug: chromium:1218431
Change-Id: Id8bd9fb310bdf0f38efb2860b87a985f650b617d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3048554
Auto-Submit: Henrik Boström \<hbos@chromium.org>
Commit-Queue: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Henrik Boström \<hbos@google.com>
Cr-Commit-Position: refs/heads/master@{#904728}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
PR 29762 applied with additional changes from upstream: 22504c029880a84526a072e1027941155331a0a2
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 10 subtests

Status Summary

Firefox

OK : 1
FAIL : 10

Chrome

OK : 1
FAIL : 10

Safari

ERROR: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/file-system-access/sandboxed_FileSystemSyncAccessHandle-close.https.tentative.worker.html
SyncAccessHandle.close is idempotent: FAIL (Chrome: FAIL)
SyncAccessHandle.close is idempotent when called immediately: FAIL (Chrome: FAIL)
SyncAccessHandle.read fails after SyncAccessHandle.close settles: FAIL (Chrome: FAIL)
SyncAccessHandle.read fails immediately after calling SyncAccessHandle.close: FAIL (Chrome: FAIL)
SyncAccessHandle.write fails after SyncAccessHandle.close settles: FAIL (Chrome: FAIL)
SyncAccessHandle.write fails immediately after calling SyncAccessHandle.close: FAIL (Chrome: FAIL)
SyncAccessHandle.flush fails after SyncAccessHandle.close settles: FAIL (Chrome: FAIL)
SyncAccessHandle.flush fails immediately after calling SyncAccessHandle.close: FAIL (Chrome: FAIL)
SyncAccessHandle.getSize fails after SyncAccessHandle.close settles: FAIL (Chrome: FAIL)
SyncAccessHandle.getSize fails immediately after calling SyncAccessHandle.close: FAIL (Chrome: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca29891e9618
[wpt PR 29762] - Revert "[fsa] Implement truncate for the sync access handle", a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2ea5eadfdd62
[wpt PR 29762] - Revert "[fsa] Implement truncate for the sync access handle", a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.