Closed Bug 1591968 Opened 5 years ago Closed 5 years ago

Consider removing window.mozPaintCount.

Categories

(Core :: DOM: Core & HTML, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
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.

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.

Keywords: site-compat
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8c8611f1f35f
Put window.mozPaintCount behind a default-off pref. r=bzbarsky
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72

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

Blocks: 1224397
Blocks: 1769758
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: