Index: ext/background.js |
=================================================================== |
--- a/ext/background.js |
+++ b/ext/background.js |
@@ -128,16 +128,18 @@ |
let frame = frames.get(frameId); |
if (!frame) |
{ |
frame = {}; |
frames.set(frameId, frame); |
} |
+ frame.state = {}; |
kzar
2018/12/19 10:22:00
Nit: How about `Object.create(null)`?
Manish Jethani
2018/12/19 13:03:54
Done.
|
+ |
return frame; |
} |
function updatePageFrameStructure(frameId, tabId, url, parentFrameId) |
{ |
if (frameId == 0) |
{ |
let page = new Page({id: tabId, url}); |