Skip to content

Should ReportingObserver.observe accept a filter? #46

Closed
@RByers

Description

@RByers

@tdresser points out that PerformanceObserver.observe accepts a sequence of entryTypes to filter by. I see that MutationObserver, IDBObserver both follow a similar pattern while IntersectionObserver does not.

It seems to me like taking an optional sequence of type strings to filter by is simple, potentially useful and consistent with most of the above and so we should probably just add it. @paulmeyer90 @mikewest @patrickkettner thoughts?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions