Index: chrome/ext/background.js |
=================================================================== |
--- a/chrome/ext/background.js |
+++ b/chrome/ext/background.js |
@@ -254,7 +254,7 @@ |
}; |
ext.webRequest = { |
- onBeforeRequest: new ext._EventTarget(true), |
+ onBeforeRequest: new ext._EventTarget(), |
Sebastian Noack
2015/01/09 10:58:25
Beside passing the return value below, I also forg
|
handlerBehaviorChanged: chrome.webRequest.handlerBehaviorChanged |
}; |
@@ -392,7 +392,7 @@ |
} |
}; |
- return ext.onMessage._dispatch(message, sender, sendResponse); |
+ return ext.onMessage._dispatch(message, sender, sendResponse).indexOf(true) != -1; |
}); |