Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refining onBeforeRequest handler to minimize the number of requests without corresponding page url. #138

Merged
merged 10 commits into from Aug 2, 2018
Delaying tabInfo removal.
  • Loading branch information
zarembsky committed Jul 17, 2018
commit 64ba1288fc40820e066affa28685bffad37f2553
@@ -573,8 +573,10 @@ class EventHandlers {
* @param {number} tab_id tab id
*/
onTabRemoved(tab_id) {
this._clearTabData(tab_id);
this._resetNotifications();
setTimeout(() => {
this._clearTabData(tab_id);
this._resetNotifications();
}, 1000);
}

/**
ProTip! Use n and p to navigate between commits in a pull request.