Check chrome.runtime.lastError first
Silences a warning about unchecked error when passing an invalid URL. This can happen when history includes a blob URL, which would be a "invalid url pattern" to query for.
parent
3b98723f
Please register or sign in to comment