This commit is contained in:
Raymond Hill 2018-05-14 08:11:50 -04:00
parent 686171c315
commit 0458d01eb2
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ vAPI.net.registerListeners = function() {
// the URL of the origin from which the network request was made. // the URL of the origin from which the network request was made.
if ( if (
details.tabId === vAPI.noTabId && details.tabId === vAPI.noTabId &&
typeof details.initiator === 'string' typeof details.initiator === 'string' &&
details.initiator !== 'null'
) { ) {
details.tabId = vAPI.anyTabId; details.tabId = vAPI.anyTabId;
details.documentUrl = details.initiator; details.documentUrl = details.initiator;