Closed Bug 2080563 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63516 - [WebAudio] Test malformed AudioWorklet process() (Part 1 of 2)

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mahesh Kannan <kmaheshb@google.com> wrote:

[WebAudio] Test malformed AudioWorklet process() (Part 1 of 2)

Rename audioworkletprocessor-no-process-function.https.html to
audioworkletprocessor-malformed-process.https.html and expand it to
cover undefined process(), a non-callable data property (42), a getter
returning a non-callable value (42), and a process getter throwing an
Error.

Add a subtest that assigns process after construction and before
rendering, verifying that process is read in the rendering loop rather
than at registration or construction.

Check in the trunk failure baseline to be resolved in Part 2.

Bug: 413259648
Test: audioworkletprocessor-malformed-process.https.html
Change-Id: Ica5ecafba0b76304df9a2f99506e9867e245c6a5
TAG=agy
CONV=a00f6083-3709-4d5a-a95e-434c28d1ecc1
Reviewed-on: https://chromium-review.googlesource.com/8520321
WPT-Export-Revision: 514978aef5eedf0d390927be765f9384c4e9f0fb

Component: web-platform-tests → Web Audio
Product: Testing → Core

CI Results

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

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
PASS: 5

Chrome

OK : 1
PASS: 4
FAIL: 1

Safari

OK : 1
PASS: 5

Links

GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.