author Markus Stange <>
Fri, 15 Oct 2021 16:52:33 +0000
changeset 596026 ff6d6594f7b046db57fa377eee3e8760a3ff4751
parent 504080 7210146fbab676e780279099c70a75ee0d2069f5
permissions -rw-r--r--
Bug 1736049 - Stop calling `[[NSCursor currentCursor] set]` on every mouse move. r=emilio This was only necessary when we had binary plug-ins overriding the cursor from under us. We no longer support plug-ins. Calling -[NSCursor set] has a performance cost on macOS Monterey when cursor accessibility coloring is enabled, so we want to avoid calling it unnecessarily. It also leaks memory in the current Monterey Beta (see bug 1735345), so calling it less often will leak less memory. I have checked the testcases of bug 496601 and of bug 1423275, they still work as expected with this fix. Differential Revision:

<!DOCTYPE html>
<iframe id="iframe" src="1370968-inner.xhtml"></iframe>
    var io = new IntersectionObserver(function () {
    }, { });
    var iframe = document.getElementById('iframe');
    iframe.onload = function () {