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

Issue 29362203: Issue 4599 - Update the page structure more eagerly (Closed)

Created:
Nov. 10, 2016, 3:16 p.m. by kzar
Modified:
Nov. 16, 2016, 5:21 p.m.
Visibility:
Public.

Description

Issue 4599 - Update the page structure more eagerly

Patch Set 1 #

Patch Set 2 : Improve explanation in comment #

Total comments: 1

Patch Set 3 : Only eagerly update structure for new tabs #

Patch Set 4 : Improved comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -7 lines) Patch
M chrome/ext/background.js View 1 2 3 2 chunks +16 lines, -7 lines 2 comments Download

Messages

Total messages: 9
kzar
Patch Set 1
Nov. 10, 2016, 3:18 p.m. (2016-11-10 15:18:57 UTC) #1
Sebastian Noack
Frankly, I don't completely understand why we have that inconsistent state here in the first ...
Nov. 10, 2016, 6:12 p.m. (2016-11-10 18:12:05 UTC) #2
kzar
Patch Set 2 : Improve explanation in comment On 2016/11/10 18:12:05, Sebastian Noack wrote: > ...
Nov. 11, 2016, 9:17 a.m. (2016-11-11 09:17:13 UTC) #3
kzar
On 2016/11/11 09:17:13, kzar wrote: > I don't completely understand why the sitekey workaround is ...
Nov. 11, 2016, 10:04 a.m. (2016-11-11 10:04:56 UTC) #4
Wladimir Palant
NOT LGTM https://codereview.adblockplus.org/29362203/diff/29362445/chrome/ext/background.js File chrome/ext/background.js (right): https://codereview.adblockplus.org/29362203/diff/29362445/chrome/ext/background.js#newcode176 chrome/ext/background.js:176: details.url, false, details.parentFrameId); You are essentially reverting ...
Nov. 14, 2016, 8:18 a.m. (2016-11-14 08:18:44 UTC) #5
kzar
Patch Set 3 : Only eagerly update structure for new tabs Well how about this? ...
Nov. 14, 2016, 2:55 p.m. (2016-11-14 14:55:32 UTC) #6
kzar
Patch Set 4 : Improved comment
Nov. 14, 2016, 3:12 p.m. (2016-11-14 15:12:44 UTC) #7
Wladimir Palant
https://codereview.adblockplus.org/29362203/diff/29362520/chrome/ext/background.js File chrome/ext/background.js (right): https://codereview.adblockplus.org/29362203/diff/29362520/chrome/ext/background.js#newcode176 chrome/ext/background.js:176: if (!(details.tabId in framesOfTabs)) While this is probably not ...
Nov. 14, 2016, 3:56 p.m. (2016-11-14 15:56:29 UTC) #8
kzar
Nov. 15, 2016, 12:19 p.m. (2016-11-15 12:19:29 UTC) #9
https://codereview.adblockplus.org/29362203/diff/29362520/chrome/ext/backgrou...
File chrome/ext/background.js (right):

https://codereview.adblockplus.org/29362203/diff/29362520/chrome/ext/backgrou...
chrome/ext/background.js:176: if (!(details.tabId in framesOfTabs))
On 2016/11/14 15:56:29, Wladimir Palant wrote:
> While this is probably not wrong, I think that you are only solving a 
> small part of the issue with this approach...

Well so far the issue only described a problem with pre-rendered tabs, but I
have just tested and confirmed you're indeed right that the problem is not
limited to them. When clicking a link to http://www.apptap.com I saw requests
being made just before its onComitted event fired. Back to the drawing board...

Powered by Google App Engine
This is Rietveld