commit | 15c2eb99486263f07f2bb11b423e971c5f2d90e4 | [log] [tgz] |
---|---|---|
author | Hiroshige Hayashizaki <[email protected]> | Fri Oct 20 04:57:05 2017 |
committer | Commit Bot <[email protected]> | Fri Oct 20 04:57:05 2017 |
tree | 8f4ad5337ce0f98d39a5bda8ed82b954b3ff67f7 | |
parent | bbc7229752935c83c22e7ee9a1541d484187ce99 [diff] [blame] |
[import.meta.url] Add --enable-module-scripts-import-meta-url flag The flag is disabled by default. Implementation will be added in https://chromium-review.googlesource.com/c/chromium/src/+/726525. When the flag is enabled, --harmony-import-meta V8 flag is also added. Bug: 773713 Change-Id: Ib78a2f1b25d488be7aa3bda0138c6e09d79ead7a Reviewed-on: https://chromium-review.googlesource.com/727179 Commit-Queue: Takashi Toyoshima <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Takashi Toyoshima <[email protected]> Cr-Commit-Position: refs/heads/master@{#510343}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc index f487cb8..2904b829 100644 --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc
@@ -3552,6 +3552,11 @@ FEATURE_VALUE_TYPE(features::kNtlmV2Enabled)}, #endif // defined(OS_POSIX) + {"enable-module-scripts-import-meta-url", + flag_descriptions::kModuleScriptsImportMetaUrlName, + flag_descriptions::kModuleScriptsImportMetaUrlDescription, kOsAll, + FEATURE_VALUE_TYPE(features::kModuleScriptsImportMetaUrl)}, + // NOTE: Adding a new flag requires adding a corresponding entry to enum // "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag // Histograms" in tools/metrics/histograms/README.md (run the