Skip to content

wpt fail: observer methods should be enumerable #68

@TremayneChrist

Description

@TremayneChrist

Currently the methods on the object are not set to be enumerable and the following code will print nothing.

const ro = new ResizeObserver(() => {});

for (let key in ro) {
  console.log(ro);
}

// observe
// unobserve
// disconnect

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestspecv4Add to version 4 of the library

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions