Repository navigation
PerformanceContainerTiming.toJSON() redefined - #30451
Merged
Elchi3 merged 1 commit intoSep 8, 2026
Merged
Conversation
Contributor
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
7 of 8 tasks
Elchi3
reviewed
Sep 8, 2026
Elchi3
left a comment
Member
There was a problem hiding this comment.
We had the same topic in #30334.
@tunetheweb does the spec need fixing here?
Contributor
|
Yup. And there's an open issue for that: w3c/container-timing#70 I've confirmed that both Chrome and Firefox have implemented the overridden method. I presumed they were just using the PerformanceEntry default when I added this to BCD since it wasn't in the spec so didn't add it then. Good spot @hamishwillee ! So yes this should be added to BCD as non-standard for now, until it's added to the spec. FYI: @jasonwilliams |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FF156 adds support for
PerformanceContainerTimingbehind a pref. Most features were updated already, but omitstoJSON()which has been defined on the object too.This is not in the spec, but testing shows it is has been redefined on the object in FF (in devtools) and in the Chromium source code. This is non-standard because the redefinition is not indicated by the spec IDL. Claude tells me this is likely a spec ommission.
As such I have marked this as non-standard.
Note that the errors on the tagging predate my change.
Related docs work can be tracked in mdn/content#45428