Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 8756093: Fixed small memory leak (Closed)

Created:
Nov. 8, 2012, 1:18 p.m. by Thomas Greiner
Modified:
Sept. 11, 2013, 1:18 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Content of frames array is only released when tab is closed and not on refresh or on navigation to a different website. This is a problem for tabs that remain open for a long time.

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M webrequest.js View 1 2 chunks +22 lines, -0 lines 1 comment Download

Messages

Total messages: 5
Thomas Greiner
Nov. 8, 2012, 1:18 p.m. (2012-11-08 13:18:49 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/8756093/diff/1/webrequest.js File webrequest.js (right): http://codereview.adblockplus.org/8756093/diff/1/webrequest.js#newcode20 webrequest.js:20: chrome.tabs.onUpdated.addListener(forgetTab); I don't think that this will work like ...
Nov. 8, 2012, 1:28 p.m. (2012-11-08 13:28:05 UTC) #2
Thomas Greiner
Nov. 8, 2012, 4:14 p.m. (2012-11-08 16:14:35 UTC) #3
Thomas Greiner
On 2012/11/08 13:28:05, Wladimir Palant wrote: > http://codereview.adblockplus.org/8756093/diff/1/webrequest.js > File webrequest.js (right): > > http://codereview.adblockplus.org/8756093/diff/1/webrequest.js#newcode20 ...
Nov. 8, 2012, 4:18 p.m. (2012-11-08 16:18:43 UTC) #4
Wladimir Palant
Nov. 8, 2012, 4:58 p.m. (2012-11-08 16:58:27 UTC) #5
http://codereview.adblockplus.org/8756093/diff/4001/webrequest.js
File webrequest.js (right):

http://codereview.adblockplus.org/8756093/diff/4001/webrequest.js#newcode62
webrequest.js:62: if (lastURL != url)
And now try window.history.pushState() to change URL without reloading...

Powered by Google App Engine
This is Rietveld