mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
![Masayuki Nakano](/assets/img/avatar_default.png)
It calls `pre[contenteditable].focus()`, but when talos tests run, the URL bar keeps having focus. Therefore, the `focus()` call in content cannot steal focus from the chrome UI. Then, it does not pay the cost of `Selection.modify` in the first loop because it does nothing when there is no selection ranges. (Before bug 1789967, `Selection` was collapsed to end of the document at loading by `HTMLEditor`, but it's now not performed, and due to the silent failure of the call of `focus()`, nobody collapse selection in the document.) Depends on D158551 Differential Revision: https://phabricator.services.mozilla.com/D158552
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff