Closed Bug 1646297 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24183 - NativeIO: Fix file cleanup in createFile() utility function.

Categories

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

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Victor Costan <pwnall@chromium.org> wrote:

NativeIO: Fix file cleanup in createFile() utility function.

Bug: 914488
Change-Id: Ie6e96662dda40da4cf2ec21aceae3a7978017829
Reviewed-on: https://chromium-review.googlesource.com/2249580
WPT-Export-Revision: 049fa9a0b02e0b2cf55c7ac576b1e8b808969b33

CI Results

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

Total 9 tests and 4 subtests

Status Summary

Firefox

OK : 9
FAIL : 43

Chrome

OK : 9
PASS : 43

Safari

OK : 7
FAIL : 33
ERROR: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/native-io/close_async.tentative.https.any.serviceworker.html
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.close is idempotent: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/close_async.tentative.https.any.html
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.close is idempotent: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/close_async.tentative.https.any.worker.html
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.close is idempotent: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/concurrent_io_async.tentative.https.any.html
write() rejects wrile write() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
read() rejects wrile read() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
read() rejects wrile write() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
write() rejects wrile read() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/close_sync.tentative.https.any.worker.html
nativeIO.close is idempotent: FAIL (Chrome: PASS, Safari: FAIL)
nativeIO.read fails after nativeIO.close settles: FAIL (Chrome: PASS, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/close_async.tentative.https.any.sharedworker.html
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: PASS)
NativeIOFile.close is idempotent: FAIL (Chrome: PASS)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: PASS)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: PASS)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: PASS)
/native-io/concurrent_io_async.tentative.https.any.worker.html
write() rejects wrile write() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
read() rejects wrile read() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
read() rejects wrile write() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
write() rejects wrile read() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/concurrent_io_async.tentative.https.any.serviceworker.html
write() rejects wrile write() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
read() rejects wrile read() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
read() rejects wrile write() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
write() rejects wrile read() is resolving: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/concurrent_io_async.tentative.https.any.sharedworker.html
write() rejects wrile write() is resolving: FAIL (Chrome: PASS)
read() rejects wrile read() is resolving: FAIL (Chrome: PASS)
read() rejects wrile write() is resolving: FAIL (Chrome: PASS)
write() rejects wrile read() is resolving: FAIL (Chrome: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b7ebb9c9a0fe [wpt PR 24183] - NativeIO: Fix file cleanup in createFile() utility function., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.