Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't provide PerformanceEntry.toJSON when unsupported #18

Open
ScubaDaniel opened this issue Sep 6, 2022 · 1 comment
Open

Doesn't provide PerformanceEntry.toJSON when unsupported #18

ScubaDaniel opened this issue Sep 6, 2022 · 1 comment

Comments

@ScubaDaniel
Copy link

Using IE11, the performance.getEntries() is supported, but PerformanceEntry.toJSON() is not. toJSON is only added when one of the polyfill methods is applied, so the polyfill doesn't help support IE11.

@ScubaDaniel
Copy link
Author

Additionally, why does getEntries only get added if performance.mark or performance.measure is unsupported?

Opera doesn't support getEntries, but supports the other two. Wouldn't that essentially make this polyfill not apply? https://developer.mozilla.org/en-US/docs/Web/API/Performance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant