Closed Bug 1698694 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 28092 - Test if AbortController and AbortSignal perform brand checks

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Mattias Buelens <mattias@buelens.com>' wrote:

Test if AbortController and AbortSignal perform brand checks

The properties and methods on these interfaces should perform a brand check on their receiver (as required by Web IDL). However, this is currently untested, since the IDL harness doesn't know how to call an interface method. This makes them easy to miss for implementors, such as in nodejs/node#37720.

This PR adds tests for these brand checks. These are upstreamed from nodejs/node#37720, which in turn are based on these WPT tests for Streams.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.