Opens a callback URL with the result params appended. No-throw, no-recursion: * a failed window.open must never break the (already-completed) choice or fire * another callback.
(url: string, params: Record<string, string>)
| 417 | * a failed window.open must never break the (already-completed) choice or fire |
| 418 | * another callback. */ |
| 419 | private openUriCallback(url: string, params: Record<string, string>): void { |
| 420 | withErrorHandling(() => { |
| 421 | window.open(buildCallbackUrl(url, params)); |
| 422 | }, "QuickAdd URI: failed to open callback URL"); |
| 423 | } |
| 424 | |
| 425 | onunload() { |
| 426 | log.logMessage("Unloading QuickAdd"); |
no test coverage detected