* @param {?Object} state * @param {?string} title * @param {?string} url * @param {boolean=} opt_fireEvent
(state, title, url, opt_fireEvent)
| 606 | * @param {boolean=} opt_fireEvent |
| 607 | */ |
| 608 | replaceState(state, title, url, opt_fireEvent) { |
| 609 | const cell = this.stack[this.index]; |
| 610 | cell.state = state ? freeze(state) : null; |
| 611 | cell.url = url; |
| 612 | if (opt_fireEvent) { |
| 613 | this.win.eventListeners.fire({type: 'popstate'}); |
| 614 | } |
| 615 | } |
| 616 | } |
| 617 | |
| 618 | /** |
no test coverage detected