| Index: chrome/ext/background.js | 
| =================================================================== | 
| --- a/chrome/ext/background.js | 
| +++ b/chrome/ext/background.js | 
| @@ -313,7 +313,7 @@ | 
| else | 
| frameId = details.frameId; | 
| - frame = frames[frameId] || frames[0]; | 
| + frame = frames[frameId] || frames[Object.keys(frames)[0]]; | 
| 
 
Wladimir Palant
2014/05/13 14:29:49
Object.keys() doesn't guarantee a particular order
 
 | 
| if (frame && !ext.webRequest.onBeforeRequest._dispatch(details.url, details.type, new Page({id: details.tabId}), frame)) | 
| return {cancel: true}; |