Skip to content
Snippets Groups Projects
  1. Apr 19, 2023
  2. Apr 03, 2023
  3. Mar 30, 2023
  4. Mar 29, 2023
  5. Mar 15, 2023
  6. Feb 16, 2023
  7. Nov 04, 2022
    • James Teh's avatar
      Bug 1798098: Prevent a11y tree walks by the Suggested Actions feature in... · 20c67974
      James Teh authored
      Bug 1798098: Prevent a11y tree walks by the Suggested Actions feature in Windows 11 22H2. r=nlapre, a=RyanVM
      
      The patches in bug 1774285 prevent Suggested Actions a11y tree walking in most cases.
      However, when a11y is already enabled, we can still get into a tree walk that triggers a hang when using Copy Phone Number on a tel: link.
      This is because there is no selected text in this case, so Suggested Actions falls back to walking the tree.
      
      This patch prevents these walks by returning 1 from get_nSelections within a timeout period after setting the clipboard, indicating that there is a selection when there isn't really.
      Unfortunately, even though we lie about the selection count, the selection reported by get_selection still isn't valid.
      Fixing that for a selection deep in the tree is difficult; we don't have enough information in the parent process to fake the selection properly.
      Thus, Suggested Actions might then do a normal tree walk from the document, so we also return a 0 child count within this timeout period.
      With the cache disabled, in-process Windows clients access content process Accessibles using COM proxies.
      We must therefore hack get_nSelections and get_accChildCount in AccessibleHandler, which wraps these COM proxies for in-process clients.
      This means that Firefox needs to be installed in order for this to work, since AccessibleHandler can only be used with an installed copy.
      A11y performance without the cache is very poor without AccessibleHandler anyway.
      Because AccessibleHandler is an entirely separate dll, we need to duplicate the suppression logic in AccessibleHandlerControl, which can be accessed by both Gecko and AccessibleHandler.
      
      After all these attempts on the document, Suggested Actions falls back to walking from the root.
      To prevent that walk, we return 0 for the child count on the root MsaaAccessible within the timeout period.
      
      Differential Revision: https://phabricator.services.mozilla.com/D160746
      20c67974
  8. Oct 28, 2022
  9. Sep 06, 2022
  10. May 31, 2022
  11. Jun 07, 2022
  12. Jun 02, 2022
  13. May 28, 2022
  14. May 27, 2022
  15. May 23, 2022
  16. May 21, 2022
  17. May 20, 2022
  18. May 18, 2022
  19. May 17, 2022
  20. May 13, 2022
  21. May 12, 2022
  22. May 11, 2022
    • Eitan Isaacson's avatar
      Bug 1768913 - Don't send window content changed event when loaded about:blank. r=morgan · 4bec8d92
      Eitan Isaacson authored
      Testing note - this enables junit tests to start and pass more reliably
      when caching is enabled.
      
      Differential Revision: https://phabricator.services.mozilla.com/D146106
      4bec8d92
    • Morgan Reschenberg's avatar
      5e491aa6
    • Noemi Erli's avatar
      Backed out 22 changesets (bug 1696894, bug 1759569, bug 1754031, bug 1759563,... · 45276205
      Noemi Erli authored
      Backed out 22 changesets (bug 1696894, bug 1759569, bug 1754031, bug 1759563, bug 1759572, bug 1754004) for causing leack failures CLOSED TREE
      
      Backed out changeset 673ecd5337e1 (bug 1754004)
      Backed out changeset ecbf5f3c51de (bug 1754004)
      Backed out changeset fc6c39f56d21 (bug 1754004)
      Backed out changeset 5b3d58fbaf9d (bug 1696894)
      Backed out changeset 2e56c89cf55d (bug 1754004)
      Backed out changeset b7723490f025 (bug 1754004)
      Backed out changeset 1dfbf61ff5dd (bug 1754004)
      Backed out changeset e73abb071bb3 (bug 1754004)
      Backed out changeset f9abe4fbf501 (bug 1754004)
      Backed out changeset ee7aeb631cd9 (bug 1754004)
      Backed out changeset d66aacfcf983 (bug 1754004)
      Backed out changeset 5c2872ad6912 (bug 1754004)
      Backed out changeset e1ae48f30d2c (bug 1754004)
      Backed out changeset 849b63707d7f (bug 1754004)
      Backed out changeset 36563e3b1e04 (bug 1754004)
      Backed out changeset ccb4be659107 (bug 1754004)
      Backed out changeset 659581d4159b (bug 1754004)
      Backed out changeset 611ea76d7a9c (bug 1754004)
      Backed out changeset 9b24b561698c (bug 1759572)
      Backed out changeset f820e0f209ff (bug 1759563)
      Backed out changeset 8d82066fa181 (bug 1759569)
      Backed out changeset a2835afab1ad (bug 1754031)
      45276205
  23. May 10, 2022
Loading