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

Issue 29545645: Issue 5695 - Use tabs.insertCSS if extensionTypes.CSSOrigin exists (Closed)

Created:
Sept. 15, 2017, 12:58 p.m. by Manish Jethani
Modified:
Sept. 20, 2017, 9:23 a.m.
Reviewers:
Sebastian Noack
CC:
Wladimir Palant, Oleksandr, kzar
Base URL:
https://hg.adblockplus.org/adblockpluschrome/
Visibility:
Public.

Description

Issue 5695 - Use tabs.insertCSS if extensionTypes.CSSOrigin exists

Patch Set 1 #

Total comments: 12

Patch Set 2 : Skip false properties #

Total comments: 9

Patch Set 3 : Simplify further #

Total comments: 12

Patch Set 4 : Always pass selectors if trace or inject is true #

Total comments: 5

Patch Set 5 : Flatten out logic and remove blank line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -40 lines) Patch
M include.preload.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M lib/cssInjection.js View 1 2 3 4 1 chunk +19 lines, -39 lines 0 comments Download

Messages

Total messages: 14
Manish Jethani
Sept. 15, 2017, 12:58 p.m. (2017-09-15 12:58:51 UTC) #1
Manish Jethani
Patch Set 1 https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js#newcode29 lib/cssInjection.js:29: let userStyleSheetsSupported = "extensionTypes" in chrome ...
Sept. 15, 2017, 1:02 p.m. (2017-09-15 13:02:42 UTC) #2
Sebastian Noack
https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js#newcode29 lib/cssInjection.js:29: let userStyleSheetsSupported = "extensionTypes" in chrome && In which ...
Sept. 15, 2017, 6:46 p.m. (2017-09-15 18:46:38 UTC) #3
Manish Jethani
Patch Set 2: Skip false properties https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js#newcode29 lib/cssInjection.js:29: let userStyleSheetsSupported = ...
Sept. 15, 2017, 9:26 p.m. (2017-09-15 21:26:09 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29545646/lib/cssInjection.js#newcode29 lib/cssInjection.js:29: let userStyleSheetsSupported = "extensionTypes" in chrome && On 2017/09/15 ...
Sept. 15, 2017, 10:52 p.m. (2017-09-15 22:52:45 UTC) #5
Manish Jethani
Patch Set 3: Simplify further https://codereview.adblockplus.org/29545645/diff/29545715/include.preload.js File include.preload.js (right): https://codereview.adblockplus.org/29545645/diff/29545715/include.preload.js#newcode444 include.preload.js:444: if (!selectors || selectors.length ...
Sept. 17, 2017, 1:51 p.m. (2017-09-17 13:51:38 UTC) #6
Manish Jethani
https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js#newcode66 lib/cssInjection.js:66: if ((trace || inject) && selectors && selectors.length > ...
Sept. 17, 2017, 3:09 p.m. (2017-09-17 15:09:19 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js#newcode66 lib/cssInjection.js:66: if ((trace || inject) && selectors && selectors.length > ...
Sept. 18, 2017, 10:46 p.m. (2017-09-18 22:46:37 UTC) #8
Manish Jethani
Patch Set 4: Always pass selectors if trace or inject is true Now selectors is ...
Sept. 19, 2017, 5:47 a.m. (2017-09-19 05:47:26 UTC) #9
Sebastian Noack
https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js#newcode66 lib/cssInjection.js:66: if ((trace || inject) && selectors && selectors.length > ...
Sept. 19, 2017, 11:09 p.m. (2017-09-19 23:09:18 UTC) #10
Manish Jethani
https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js#newcode66 lib/cssInjection.js:66: if ((trace || inject) && selectors && selectors.length > ...
Sept. 20, 2017, 1:36 a.m. (2017-09-20 01:36:30 UTC) #11
Sebastian Noack
https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js#newcode66 lib/cssInjection.js:66: if ((trace || inject) && selectors && selectors.length > ...
Sept. 20, 2017, 1:51 a.m. (2017-09-20 01:51:53 UTC) #12
Manish Jethani
Patch Set 5: Flatten out logic and remove blank line https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js File lib/cssInjection.js (right): https://codereview.adblockplus.org/29545645/diff/29547555/lib/cssInjection.js#newcode66 ...
Sept. 20, 2017, 2:24 a.m. (2017-09-20 02:24:00 UTC) #13
Sebastian Noack
Sept. 20, 2017, 2:30 a.m. (2017-09-20 02:30:18 UTC) #14
LGTM!

Powered by Google App Engine
This is Rietveld