What is difference between chrome.webNavigation.onCompleted and chrome.tabs.onUpdated.addListener with 'complete'
问题 In chrome APIs there are two functions that theoretically points to the same evet. chrome.webNavigation.onCompleted and chrome.tabs.onUpdated.addListener with changeinfo=complete . What is the difference between these two and which one guarantee that everthing in the page have loaded. I have found that chrome.tabs.onUpdated.addListener sometimes fire even when few http requests are remaining. 回答1: The chrome.webNavigation.onCompleted is invoked even when the navigation occurs in a subframe