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

Issue 29958567: Issue 7104 - Clear style sheets when frame structure is updated (Closed)

Created:
Dec. 4, 2018, 2:33 p.m. by Manish Jethani
Modified:
Dec. 19, 2018, 2:02 p.m.
Reviewers:
Sebastian Noack, kzar
Base URL:
https://hg.adblockplus.org/adblockpluschrome/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Use state object (includes rebase) #

Total comments: 9

Patch Set 3 : Use Object.create #

Patch Set 4 : Update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M ext/background.js View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M lib/contentFiltering.js View 1 2 3 2 chunks +8 lines, -7 lines 0 comments Download

Messages

Total messages: 18
Manish Jethani
Dec. 4, 2018, 2:33 p.m. (2018-12-04 14:33:21 UTC) #1
kzar
I suspect this issue is a symptom of a problem in our page/frame logic, or ...
Dec. 7, 2018, 1:31 p.m. (2018-12-07 13:31:08 UTC) #2
kzar
On 2018/12/07 13:31:08, kzar wrote: > I suspect this issue is a symptom of a ...
Dec. 7, 2018, 1:35 p.m. (2018-12-07 13:35:40 UTC) #3
kzar
I wonder, is there a way to do this without putting content filtering logic in ...
Dec. 7, 2018, 2:08 p.m. (2018-12-07 14:08:51 UTC) #4
Manish Jethani
On 2018/12/07 13:35:40, kzar wrote: > On 2018/12/07 13:31:08, kzar wrote: > > I suspect ...
Dec. 9, 2018, 9:19 a.m. (2018-12-09 09:19:18 UTC) #5
Manish Jethani
On 2018/12/07 14:08:51, kzar wrote: > I wonder, is there a way to do this ...
Dec. 9, 2018, 9:45 a.m. (2018-12-09 09:45:21 UTC) #6
kzar
Hmm, perhaps we should just give frames a `state` Object which is cleared by `createFrame` ...
Dec. 10, 2018, 1:27 p.m. (2018-12-10 13:27:57 UTC) #7
Manish Jethani
On 2018/12/10 13:27:57, kzar wrote: > Hmm, perhaps we should just give frames a `state` ...
Dec. 11, 2018, 7:55 a.m. (2018-12-11 07:55:02 UTC) #8
kzar
On 2018/12/11 07:55:02, Manish Jethani wrote: > On 2018/12/10 13:27:57, kzar wrote: > > Hmm, ...
Dec. 18, 2018, 11:38 a.m. (2018-12-18 11:38:35 UTC) #9
Manish Jethani
On 2018/12/18 11:38:35, kzar wrote: > On 2018/12/11 07:55:02, Manish Jethani wrote: > > On ...
Dec. 18, 2018, 4:34 p.m. (2018-12-18 16:34:10 UTC) #10
kzar
https://codereview.adblockplus.org/29958567/diff/29964555/ext/background.js File ext/background.js (right): https://codereview.adblockplus.org/29958567/diff/29964555/ext/background.js#newcode136 ext/background.js:136: frame.state = {}; Nit: How about `Object.create(null)`? https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js File ...
Dec. 19, 2018, 10:22 a.m. (2018-12-19 10:22:01 UTC) #11
Manish Jethani
https://codereview.adblockplus.org/29958567/diff/29964555/ext/background.js File ext/background.js (right): https://codereview.adblockplus.org/29958567/diff/29964555/ext/background.js#newcode136 ext/background.js:136: frame.state = {}; On 2018/12/19 10:22:00, kzar wrote: > ...
Dec. 19, 2018, 1:03 p.m. (2018-12-19 13:03:55 UTC) #12
kzar
https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js File lib/contentFiltering.js (left): https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js#oldcode116 lib/contentFiltering.js:116: // Ideally we would compare the old and new ...
Dec. 19, 2018, 1:07 p.m. (2018-12-19 13:07:15 UTC) #13
Manish Jethani
https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js File lib/contentFiltering.js (left): https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js#oldcode116 lib/contentFiltering.js:116: // Ideally we would compare the old and new ...
Dec. 19, 2018, 1:27 p.m. (2018-12-19 13:27:10 UTC) #14
Manish Jethani
https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js File lib/contentFiltering.js (left): https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js#oldcode116 lib/contentFiltering.js:116: // Ideally we would compare the old and new ...
Dec. 19, 2018, 1:29 p.m. (2018-12-19 13:29:53 UTC) #15
kzar
https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js File lib/contentFiltering.js (left): https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js#oldcode116 lib/contentFiltering.js:116: // Ideally we would compare the old and new ...
Dec. 19, 2018, 1:35 p.m. (2018-12-19 13:35:42 UTC) #16
Manish Jethani
Patch Set 4: Update comment Filed this: https://issues.adblockplus.org/ticket/7180 https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js File lib/contentFiltering.js (left): https://codereview.adblockplus.org/29958567/diff/29964555/lib/contentFiltering.js#oldcode116 lib/contentFiltering.js:116: // ...
Dec. 19, 2018, 1:48 p.m. (2018-12-19 13:48:37 UTC) #17
kzar
Dec. 19, 2018, 1:58 p.m. (2018-12-19 13:58:05 UTC) #18
Nice, thanks. LGTM

Powered by Google App Engine
This is Rietveld