Closed Bug 1705740 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28546 - NativeIO: Fix null pointer when throwing on releaseCapacity

Categories

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

task

Tracking

(firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Richard Stotz <rstz@chromium.org>' wrote:

NativeIO: Fix null pointer when throwing on releaseCapacity

This fixes a null pointer to the context when throwing on
releaseCapacity. Although the problem cannot happen for the sync case,
the corresponding logic is adapted to match the async case.

Bug: 1199639
Change-Id: Iaa7fd6d5bdcb3a616ba59f7c419b11203c293e67
Reviewed-on: https://chromium-review.googlesource.com/2831590
WPT-Export-Revision: 8e2d72b6dbd64765a742ccd63d5a01a5b813c9dd

CI Results

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

Total 5 tests and 1 subtests

Status Summary

Firefox

OK : 5
FAIL : 5

Chrome

OK : 5
PASS : 4
FAIL : 1

Safari

OK : 4
FAIL : 4
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/native-io/capacity_allocation_async_failure_handling.tentative.https.any.worker.html
Attempting to release more capacity than available fails.: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/capacity_allocation_async_failure_handling.tentative.https.any.html
Attempting to release more capacity than available fails.: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/capacity_allocation_async_failure_handling.tentative.https.any.sharedworker.html
Attempting to release more capacity than available fails.: FAIL (Chrome: PASS)
/native-io/capacity_allocation_async_failure_handling.tentative.https.any.serviceworker.html
Attempting to release more capacity than available fails.: FAIL (Chrome: PASS, Safari: FAIL)
/native-io/capacity_allocation_sync_failure_handling.tentative.https.any.worker.html
Attempting to release more capacity than available fails.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c2114c3cfd83
[wpt PR 28546] - NativeIO: Fix null pointer when throwing on releaseCapacity, a=testonly
https://hg.mozilla.org/integration/autoland/rev/3fcbcaeb0c5b
[wpt PR 28546] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.