Automatic update from web-platform-tests Change Observer: Fix Shared Workers not receiving events Shared workers weren't receiving events because our check if the render frame host is active assumes that the current frame has an associate render frame host. This changes it to assume that if it doesn't have an associated render frame host, that it is active. This makes sense since Shared Workers can't enter into the BFCache and therefore can't be active or inactive. Enables the shared worker tests in the WPTs to verify. Fixed: 355659889 Change-Id: I2aa7f1715d6ae561b6e755bb1e5cef27274d97dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5739998 Commit-Queue: Nathan Memmott <memmott@chromium.org> Reviewed-by: Daseul Lee <dslee@chromium.org> Cr-Commit-Position: refs/heads/main@{#1335066} -- wpt-commits: 4557b01e6e9123a0a17c9fdf7ffc58650887a2c2 wpt-pr: 47364
6 lines
282 B
JavaScript
6 lines
282 B
JavaScript
// META: global=window,dedicatedworker,sharedworker
|
|
// META: script=resources/sandboxed-fs-test-helpers.js
|
|
// META: script=resources/test-helpers.js
|
|
// META: script=resources/collecting-file-system-observer.js
|
|
// META: script=script-tests/FileSystemObserver-writable-file-stream.js
|