()
| 35 | } |
| 36 | |
| 37 | async focus(): Promise<WindowClient> { |
| 38 | // This is only used for relatively ordering clients based on focus order, so we don't need to |
| 39 | // use `Adapter#time`. |
| 40 | this.lastFocusedAt = Date.now(); |
| 41 | (this.focused as boolean) = true; |
| 42 | return this; |
| 43 | } |
| 44 | |
| 45 | async navigate(url: string): Promise<WindowClient | null> { |
| 46 | (this.url as string) = url; |