Open Bug 1515896 Opened 6 years ago Updated 2 years ago

[wpt-sync] Sync PR 14629 - Revamp how idlharness.js handles iterable declarations

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Jägenstedt <philip@foolip.org> wrote:
>  Revamp how idlharness.js handles iterable declarations
>  
>  Instead of adding IDL interface members in `add_iterable_members` in
>  the style of what webidl2.js would have added if the declaration were
>  expanded, instead test directly for what effect a single `iterable<T>`
>  or `iterable<T1,T2>` declaration should have.
>  
>  This is more along the lines of `test_member_stringifier`, where no
>  `toString` is added as IDL members.
>  
>  Alternative to https://github.com/web-platform-tests/wpt/pull/9790.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.