Closed Bug 2079933 Opened 1 month ago Closed 24 days ago

[wpt-sync] Sync PR 63380 - [WebAudio] Add WPT coverage for AudioWorklet constructor error events

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mahesh Kannan <kmaheshb@google.com> wrote:

[WebAudio] Add WPT coverage for AudioWorklet constructor error events

This is Part 1 of a 2-part CL addressing crbug.com/571193570.

Currently, when AudioWorkletGlobalScope::CreateProcessor() fails on the
worklet thread, construction exceptions collapse into a generic error
with empty filename and zeroed line and column numbers on the
dispatched onprocessorerror ErrorEvent.

Expand WPT coverage in audioworkletnode-onerror.https.html to assert
that an exception thrown from the processor constructor populates the
ErrorEvent filename, lineno, and colno attributes (matching the
process-error subtest), and check in the trunk failure baseline to be
resolved in Part 2.

Bug: 571193570
Test: audioworkletnode-onerror.https.html
Change-Id: Iedc243feafac53ca5bdb28253c48916d0a5cc30f
TAG=agy
CONV=5fd7d722-b855-42c2-bc3a-7adc223653a6
Reviewed-on: https://chromium-review.googlesource.com/8516000
WPT-Export-Revision: 2f519bef6b79009bc74b7f7950741143f9e5d580

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

CI Results

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

Total 41 tests and 3 subtests

Status Summary

Firefox

OK : 1[GitHub] 35[Gecko-android-em-14-x86_64-debug-geckoview] 39[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 40[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug]
PASS : 2[GitHub] 152[Gecko-android-em-14-x86_64-debug-geckoview] 165[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 173[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 1[GitHub] 21[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 1

Chrome

OK : 1
PASS : 2
FAIL : 1

Safari

OK : 1
PASS : 2
FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

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