Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.
This repository was archived by the owner on Sep 19, 2018. It is now read-only.

idlharness.js incorrectly tests that Promise<>-returning methods throw. #164

@mikewest

Description

@mikewest

Given an IDL like:

interface Whatever {
    Promise<boolean> method(...);
};

idlharness checks that Whatever::method() throws TypeError when it's called with incorrect parameters. It should instead check that the returned Promise is rejected with a TypeError.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions