()
| 78 | } |
| 79 | |
| 80 | function onWindowFocus() { |
| 81 | // Element focus can land in the same turn as window focus, or just before it. |
| 82 | // Drop the record on the next turn so a later real Tab still opens. |
| 83 | scheduleClearRestoredFocus() |
| 84 | } |
| 85 | |
| 86 | function detach() { |
| 87 | if (listening && typeof window !== 'undefined') { |
nothing calls this directly
no test coverage detected