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

Issue 29348917: Issue 4191 - Restore rules for reinjected stylesheets (Closed)

Created:
July 29, 2016, 9:34 p.m. by kzar
Modified:
Aug. 11, 2016, 1:20 p.m.
Reviewers:
Sebastian Noack
Visibility:
Public.

Description

Issue 4191 - Restore rules for reinjected stylesheets (Note: built on top of the WebSocket changes that are still under review.)

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Prevent access to our shadowRoot #

Total comments: 9

Patch Set 4 : Addressed nits #

Patch Set 5 : runInDocument #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -53 lines) Patch
M include.preload.js View 1 2 3 4 7 chunks +21 lines, -52 lines 0 comments Download
M safari/include.youtube.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10
kzar
Patch Set 1
July 29, 2016, 9:35 p.m. (2016-07-29 21:35:38 UTC) #1
Sebastian Noack
How do they remove those rules in the first place? Is there no way to ...
Aug. 10, 2016, 1:21 p.m. (2016-08-10 13:21:50 UTC) #2
kzar
Patch Set 2: Rebased. As discussed in IRC simply removing the style element from the ...
Aug. 11, 2016, 11:04 a.m. (2016-08-11 11:04:41 UTC) #3
kzar
Patch Set 3 : Prevent access to our shadowRoot
Aug. 11, 2016, 12:24 p.m. (2016-08-11 12:24:54 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js File include.preload.js (left): https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js#oldcode365 include.preload.js:365: style.id = id; Since the id is only used ...
Aug. 11, 2016, 12:38 p.m. (2016-08-11 12:38:57 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js File include.preload.js (right): https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js#newcode471 include.preload.js:471: return shadow === ourShadowRoot ? null : shadow; On ...
Aug. 11, 2016, 12:42 p.m. (2016-08-11 12:42:38 UTC) #6
Sebastian Noack
https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js File include.preload.js (right): https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js#newcode461 include.preload.js:461: runInPage(function() You have to pass the document to runInPage(), ...
Aug. 11, 2016, 12:48 p.m. (2016-08-11 12:48:11 UTC) #7
kzar
Patch Set 4 : Addressed nits https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js File include.preload.js (left): https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js#oldcode365 include.preload.js:365: style.id = id; ...
Aug. 11, 2016, 12:48 p.m. (2016-08-11 12:48:18 UTC) #8
kzar
Patch Set 5 : runInDocument https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js File include.preload.js (right): https://codereview.adblockplus.org/29348917/diff/29349653/include.preload.js#newcode461 include.preload.js:461: runInPage(function() On 2016/08/11 12:48:11, ...
Aug. 11, 2016, 1:04 p.m. (2016-08-11 13:04:47 UTC) #9
Sebastian Noack
Aug. 11, 2016, 1:12 p.m. (2016-08-11 13:12:03 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld