fix uncaught data: URI by popup blocker when URL is updated using location.replace()

This commit is contained in:
gorhill 2016-10-22 18:10:49 -04:00
parent ec931e5348
commit 9b57b827d3

View file

@ -331,7 +331,7 @@ vAPI.tabs.registerListeners = function() {
if ( changeInfo.url ) {
changeInfo.url = sanitizeURL(changeInfo.url);
}
onUpdatedClient(tabId, changeInfo, tab);
onUpdatedClient(tabId.toString(), changeInfo, tab);
};
chrome.webNavigation.onBeforeNavigate.addListener(onBeforeNavigate);