mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
34f1606151
Depends on D46957 We are updating three call sites that were still relying on window.top to get the topmost window. For `getFrameOffsets` and `getRect`, they are currently only called with a non-null `boundaryWindow` argument. That's why this didn't trigger any regression. For `getFrameElement`, I could only find STRs that don't have any user impact. For instance, when the BrowserToolbox debugs a page where you open DevTools, this will load the toolbox in an iframe. This load will trigger `onFrameLoad` in the walker actor. And because we were using `win.top`, getFrameElement would return null, and onFrameLoad will not emit mutations. But I couldn't see any scenario where this had an actual impact for users. Differential Revision: https://phabricator.services.mozilla.com/D46958 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
dom-matrix-2d.js | ||
moz.build | ||
utils.js |