Skip to content

adoptNode() should always return a node #1006

Closed
@TRowbotham

Description

@TRowbotham

In the adoptNode() steps, step 3 says "If node is a DocumentFragment node whose host is non-null, then return.", but the interface defines adoptNode() as always returning a node. Shouldn't step 3 either return node or throw, or am I missing something from IDL that would allow returning nothing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions