Automatic update from web-platform-tests Make various OPFS WPTs run on more types of workers. Many of the .any.js WPTs did not specify the types of workers are so only ran on dedicated workers. This change adds shared and service to all of those that didn't already specify. There are a couple of tests that start timing out on workers. I am investigating those. Bug: 529228628 Change-Id: I66d9cfd7b1806c010e1b863521d39cc24b61d8eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8019203 Reviewed-by: Fergal Daly <fergal@chromium.org> Commit-Queue: Mingyu Lei <leimy@chromium.org> Reviewed-by: Mingyu Lei <leimy@chromium.org> Auto-Submit: Fergal Daly <fergal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1654676} -- wpt-commits: cc0f53d38af14c6637c79cabceec9ae29ae63f96 wpt-pr: 60991
8 lines
230 B
JavaScript
8 lines
230 B
JavaScript
// META: global=window,worker
|
|
'use strict';
|
|
|
|
promise_test(async test => {
|
|
let root = await navigator.storage.getDirectory();
|
|
assert_equals(root.name, '');
|
|
}, 'getDirectory returns a directory whose name is the empty string');
|