()
| 563 | win.history.replaceState(null, '', noQuery); |
| 564 | |
| 565 | const restoreQuery = () => { |
| 566 | const currentHref = win.location.href; |
| 567 | if (currentHref == noQuery) { |
| 568 | dev().info(TAG, 'Restored iframe URL with query string:', original); |
| 569 | win.history.replaceState(null, '', original); |
| 570 | } else { |
| 571 | dev().error(TAG, 'Unexpected iframe URL change:', currentHref, noQuery); |
| 572 | } |
| 573 | }; |
| 574 | |
| 575 | // For blank_, restore query params after the new page opens. |
| 576 | if (target === '_blank') { |
nothing calls this directly
no test coverage detected