Consider removing window.mozPaintCount.
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
(Keywords: dev-doc-complete, site-compat)
Attachments
(1 file)
It's only used by tests, and it seems to expose something that we may not want people to rely on.
Assignee | ||
Comment 1•4 years ago
|
||
It's not the kind of thing we want people to allow observing, generally, and
even less so the kind of thing that we may want people to rely on.
Move internal callers (all of them tests) to a new DOMWindowUtils.paintCount
method.
Updated•4 years ago
|
https://developer.mozilla.org/en-US/docs/Web/API/Window/mozPaintCount
needs an update then
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8c8611f1f35f Put window.mozPaintCount behind a default-off pref. r=bzbarsky
Comment 4•4 years ago
|
||
Posted site compatibility note: https://www.fxsitecompat.dev/en-CA/docs/2019/window-mozpaintcount-has-been-removed/
Comment 5•4 years ago
|
||
bugherder |
Comment 6•4 years ago
|
||
Looks like this has been documented. The reference page marks it as obsolete, and the compat data marks it as removed in Fx 72:
https://developer.mozilla.org/en-US/docs/Web/API/Window/mozPaintCount#Browser_compatibility
And there's a note in the Fx 72 rel notes:
https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/72#APIs
Description
•