caps/tests/mochitest/chrome.ini
author James Teh <jteh@mozilla.com>
Wed, 01 Feb 2023 05:02:01 +0000
changeset 651150 dd0fdd1daa69783be36acd5c50544f3694eaa8f9
parent 505525 565cad1d56298d7c27f1d4f80df604fb609e1074
permissions -rw-r--r--
Bug 1813980: Check IsDoc before Parent in RemoteAccessibleBase::ApplyCrossDocOffset. r=morgan We call this function on every ancestor when calculating bounds. RemoteParent() currently requires a hash lookup, so it's more efficient to early return for !IsDoc() first. This is a micro-optimisation, but it might have some impact given that we call this on every ancestor, especially when hit testing, where we call Bounds() a lot. As a bit of drive-by cleanup, use RemoteParent() rather than calling Parent() and IsRemote/AsRemote(). Differential Revision: https://phabricator.services.mozilla.com/D168346

[DEFAULT]
skip-if = os == 'android'
support-files =
  file_data.txt
  file_disableScript.html
  !/caps/tests/mochitest/file_data.txt
  !/caps/tests/mochitest/file_disableScript.html

[test_bug995943.xhtml]
skip-if = (verify && debug && (os == 'mac'))
[test_addonMayLoad.html]
[test_disableScript.xhtml]