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

Issue 29333097: Isssue 3459 - Map the content type IMAGESET to IMAGE and FETCH to XMLHTTPREQUEST (Closed)

Created:
Dec. 28, 2015, 4:28 p.m. by Sebastian Noack
Modified:
Jan. 6, 2016, 1:29 p.m.
Visibility:
Public.

Description

Isssue 3459 - Map the content type IMAGESET to IMAGE and FETCH to XMLHTTPREQUEST

Patch Set 1 #

Patch Set 2 : Added missing comment #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -7 lines) Patch
M lib/contentPolicy.js View 1 3 chunks +22 lines, -7 lines 4 comments Download

Messages

Total messages: 6
Sebastian Noack
Dec. 28, 2015, 4:29 p.m. (2015-12-28 16:29:21 UTC) #1
Erik
LGTM
Dec. 28, 2015, 5:04 p.m. (2015-12-28 17:04:36 UTC) #2
Wladimir Palant
https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.js File lib/contentPolicy.js (right): https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.js#newcode48 lib/contentPolicy.js:48: ]), This member becomes unnecessary with your change, it ...
Dec. 29, 2015, 11:19 p.m. (2015-12-29 23:19:48 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.js File lib/contentPolicy.js (right): https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.js#newcode48 lib/contentPolicy.js:48: ]), On 2015/12/29 23:19:48, Wladimir Palant wrote: > This ...
Dec. 30, 2015, 3:54 p.m. (2015-12-30 15:54:58 UTC) #4
Wladimir Palant
https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.js File lib/contentPolicy.js (right): https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.js#newcode48 lib/contentPolicy.js:48: ]), On 2015/12/30 15:54:58, Sebastian Noack wrote: > Note ...
Jan. 6, 2016, 12:46 p.m. (2016-01-06 12:46:01 UTC) #5
Sebastian Noack
Jan. 6, 2016, 1:29 p.m. (2016-01-06 13:29:50 UTC) #6
Message was sent while issue was closed.
https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.js
File lib/contentPolicy.js (right):

https://codereview.adblockplus.org/29333097/diff/29333100/lib/contentPolicy.j...
lib/contentPolicy.js:48: ]),
On 2016/01/06 12:46:00, Wladimir Palant wrote:
> On 2015/12/30 15:54:58, Sebastian Noack wrote:
> > Note that chrome/content/ui/sidebar.js and chrome/content/ui/composer.js use
> the
> > contentTypes property as well and expect a unique list of these content
types.
> 
> You are right but that's not a reason to duplicate the data structure. They
can
> rather use new Set(Policy.contentTypes.values()).

There you go: https://codereview.adblockplus.org/29333254

Powered by Google App Engine
This is Rietveld