bb926461a1
This serves 2 goals: 1. Wait for the script to be injected (when the promise is resolved), so future `sendMessageToPage` won't happen before the script can respond. 2. Detect errors in the script injection (when the promise is rejected). |
||
---|---|---|
.. | ||
core | ||
demo | ||
extension | ||
selfhosted |