commit | ba6a17ab2904cf047bafc0e18a34854448f1a62c | [log] [tgz] |
---|---|---|
author | Stephen Adams <sra@google.com> | Wed Oct 21 17:54:13 2020 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed Oct 21 17:54:13 2020 +0000 |
tree | 499ebe5379651c52e09ebf9023e65e92fed12b41 | |
parent | ec51b7a866275e84da091c718b7dd172fffcdfe1 [diff] |
[dart2js] Make --benchmarking-x imply --csp This is a temporary assignment of the meaning of `--benchmarking-x`. Change-Id: I453aca3fa2782498664aad05f0d637af5e91bd34 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168402 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Stephen Adams <sra@google.com>
diff --git a/pkg/compiler/lib/src/options.dart b/pkg/compiler/lib/src/options.dart index 6d336a5..0f51b54 100644 --- a/pkg/compiler/lib/src/options.dart +++ b/pkg/compiler/lib/src/options.dart
@@ -534,6 +534,7 @@ if (benchmarkingExperiment) { // Set flags implied by '--benchmarking-x'. // TODO(sra): Use this for some NNBD variant. + useContentSecurityPolicy = true; } if (_noLegacyJavaScript) legacyJavaScript = false;