(page: Page)
| 144 | } |
| 145 | |
| 146 | protected splitAfterNavigation(page: Page) { |
| 147 | const navigations = this.storage.get(page); |
| 148 | if (!navigations) { |
| 149 | return; |
| 150 | } |
| 151 | // Add the latest navigation first |
| 152 | navigations.unshift([]); |
| 153 | navigations.splice(this.maxNavigationSaved); |
| 154 | } |
| 155 | |
| 156 | protected cleanupPageDestroyed(page: Page) { |
| 157 | const listeners = this.#listeners.get(page); |