gecko-dev/testing/web-platform/tests/native-io
Richard Stotz d9945e0bcb Bug 1705740 [wpt PR 28546] - NativeIO: Fix null pointer when throwing on releaseCapacity, a=testonly
Automatic update from web-platform-tests
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/c/chromium/src/+/2831590
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Richard Stotz <rstz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874298}

--

wpt-commits: 77ca851359d5bcc5e7c40168b6473bea51de4daa
wpt-pr: 28546
2021-04-24 15:47:30 +00:00
..
concurrent_io Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
resources Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
META.yml
README.md
capacity_allocation_async_basic.tentative.https.any.js Bug 1691054 [wpt PR 27507] - NativeIO: Add quota to async Blink interface, a=testonly 2021-03-15 08:33:25 +00:00
capacity_allocation_async_failure_handling.tentative.https.any.js Bug 1705740 [wpt PR 28546] - NativeIO: Fix null pointer when throwing on releaseCapacity, a=testonly 2021-04-24 15:47:30 +00:00
capacity_allocation_sync_basic.tentative.https.any.js Bug 1691649 [wpt PR 27541] - NativeIO: Add quota to sync Blink interface, a=testonly 2021-03-15 08:33:33 +00:00
capacity_allocation_sync_failure_handling.tentative.https.any.js Bug 1705740 [wpt PR 28546] - NativeIO: Fix null pointer when throwing on releaseCapacity, a=testonly 2021-04-24 15:47:30 +00:00
close_async.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
close_sync.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
delete_async_basic.tentative.https.any.js
delete_sync_basic.tentative.https.any.js
detached_iframe.https.window.js Bug 1705236 [wpt PR 28492] - NativeIO: Enable 3rd party cookie block on capacity allocation, a=testonly 2021-04-23 22:15:59 +00:00
flush_async_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
flush_sync_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
getLength_setLength_async_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
getLength_setLength_sync_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
opaque_origin.https.window.js Bug 1697795 [wpt PR 28026] - NativeIO: Disalllow use on opaque origins, a=testonly 2021-03-19 10:35:11 +00:00
open_async_failure_handling.tentative.https.any.js Bug 1698722 [wpt PR 27953] - NativeIO: Improve WPT test coverage and fix tests, a=testonly 2021-03-19 10:35:02 +00:00
open_getAll_async_basic.tentative.https.any.js
open_getAll_sync_basic.tentative.https.any.js
open_sync_failure_handling.tentative.https.any.js Bug 1698722 [wpt PR 27953] - NativeIO: Improve WPT test coverage and fix tests, a=testonly 2021-03-19 10:35:02 +00:00
read_write_async_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
read_write_correct_arraybufferview_async_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
read_write_correct_arraybufferview_sync_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
read_write_sync_basic.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
rename_async_basic.tentative.https.any.js
rename_async_failure_handling.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
rename_sync_basic.tentative.https.any.js
rename_sync_failure_handling.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
setLength_bounds_async.tentative.https.any.js Bug 1691054 [wpt PR 27507] - NativeIO: Add quota to async Blink interface, a=testonly 2021-03-15 08:33:25 +00:00
setLength_bounds_sync.tentative.https.any.js Bug 1691649 [wpt PR 27541] - NativeIO: Add quota to sync Blink interface, a=testonly 2021-03-15 08:33:33 +00:00
setLength_capacity_allocation_async.tentative.https.any.js Bug 1698722 [wpt PR 27953] - NativeIO: Improve WPT test coverage and fix tests, a=testonly 2021-03-19 10:35:02 +00:00
setLength_capacity_allocation_sync.tentative.https.any.js Bug 1698722 [wpt PR 27953] - NativeIO: Improve WPT test coverage and fix tests, a=testonly 2021-03-19 10:35:02 +00:00
trustworthy_origin_failure.tentative.http.any.js
write_capacity_allocation_async.tentative.https.any.js Bug 1704867 [wpt PR 28457] - NativeIO: Remove forgotten SharedArrayBuffer from WPT, a=testonly 2021-04-23 22:15:36 +00:00
write_capacity_allocation_sync.tentative.https.any.js Bug 1700737 [wpt PR 28224] - NativeIO: Replace SharedArrayBuffer in I/O with transferred ArrayBuffer, a=testonly 2021-04-15 09:17:10 +00:00
write_getLength_async_basic.tentative.https.any.js Bug 1691054 [wpt PR 27507] - NativeIO: Add quota to async Blink interface, a=testonly 2021-03-15 08:33:25 +00:00
write_getLength_sync_basic.tentative.https.any.js Bug 1691649 [wpt PR 27541] - NativeIO: Add quota to sync Blink interface, a=testonly 2021-03-15 08:33:33 +00:00

README.md

This directory contains tests for the NativeIO API.

Note on the synchronous APIs

Chrome is currently working with developers to explore the performance implications of using NativeIO as an asynchronous Promise-based API from WebAssembly.

In order to assess the performance overhead, a baseline is needed. This baseline is a synchronous API that can be easily used to port existing database code to WebAssembly. The synchronous API is only exposed to dedicated workers.

Until our performance studies are concluded, Chrome has no plans of shipping the synchronous API. In other words, there are no plans of adding a new synchronous storage API to the Web Platform.