Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Issue 12378038: Mark --disallow-unsafe-eval as a supported feature in usage description. (Closed)

Created:
7 years, 9 months ago by kasperl
Modified:
7 years, 9 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Mark --disallow-unsafe-eval as a supported feature in usage description. R=ahe@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=19280

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -6 lines) Patch
M sdk/lib/_internal/compiler/implementation/dart2js.dart View 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kasperl
7 years, 9 months ago (2013-03-01 07:09:16 UTC) #1
ahe
lgtm Can we find a better name for this option? I don't like "unsafe" as ...
7 years, 9 months ago (2013-03-01 07:29:21 UTC) #2
kasperl
I have no problem with changing the flag, but --csp isn't a very accurate flag ...
7 years, 9 months ago (2013-03-01 08:30:52 UTC) #3
kasperl
Committed patchset #1 manually as r19280 (presubmit successful).
7 years, 9 months ago (2013-03-01 08:40:21 UTC) #4
ahe
On 2013/03/01 08:30:52, kasperl wrote: > I have no problem with changing the flag, but ...
7 years, 9 months ago (2013-03-01 08:49:57 UTC) #5
kasperl
On 2013/03/01 08:49:57, ahe wrote: > On 2013/03/01 08:30:52, kasperl wrote: > > I have ...
7 years, 9 months ago (2013-03-01 09:12:00 UTC) #6
ahe
7 years, 9 months ago (2013-03-12 08:28:19 UTC) #7
Message was sent while issue was closed.
On 2013/03/01 09:12:00, kasperl wrote:
> On 2013/03/01 08:49:57, ahe wrote:
> > On 2013/03/01 08:30:52, kasperl wrote:
> > > I have no problem with changing the flag, but --csp isn't a very accurate
> flag
> > > because it covers way too much. CSP imposes restrictions and there are
many
> > > different possibilities -- one such default restriction is to disallow
> "unsafe
> > > evals" but that restriction can be lifted. The term "unsafe eval" is a CSP
> > term.
> > 
> > I suggest that --csp can take an additional argument (long term, I wouldn't
> > implement it just now).
> > 
> > The --csp option should by default conform with CSP defaults (long term,
> again).
> > The additional argument could be a file with CSP headers that the compiler
> could
> > parse to see if there are any restrictions it shouldn't enforce.
> 
> Yeah, that sounds pretty good to me.

Filed http://dartbug.com/9073.

Powered by Google App Engine
This is Rietveld 408576698