Commit 7fd3e508 authored by pkasting@chromium.org's avatar pkasting@chromium.org

Remove --no-js-randomness. Only used by perftracker, which is dead.

The V8 team signed off on removing this as well.

BUG=361460
TEST=none

Review URL: https://codereview.chromium.org/289393002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271444 0039d316-1c4b-4281-b951-d872f2087c98
parent 59c5df5a
......@@ -1661,7 +1661,6 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kEnableWebBasedSignin,
switches::kMemoryProfiling,
switches::kMessageLoopHistogrammer,
switches::kNoJsRandomness,
switches::kOutOfProcessPdf,
switches::kPlaybackMode,
switches::kPpapiFlashArgs,
......
......@@ -920,13 +920,6 @@ const char kNoExperiments[] = "no-experiments";
// flag.
const char kNoFirstRun[] = "no-first-run";
// Support a separate switch that enables the v8 playback extension.
// The extension causes javascript calls to Date.now() and Math.random()
// to return consistent values, such that subsequent loads of the same
// page will result in consistent js-generated data and XHR requests.
// Pages may still be able to generate inconsistent data from plugins.
const char kNoJsRandomness[] = "no-js-randomness";
// Whether or not the browser should warn if the profile is on a network share.
// This flag is only relevant for Windows currently.
const char kNoNetworkProfileWarning[] = "no-network-profile-warning";
......
......@@ -256,7 +256,6 @@ extern const char kNoDisplayingInsecureContent[];
extern const char kNoEvents[];
extern const char kNoExperiments[];
extern const char kNoFirstRun[];
extern const char kNoJsRandomness[];
extern const char kNoNetworkProfileWarning[];
extern const char kNoProxyServer[];
extern const char kNoPings[];
......
......@@ -303,8 +303,7 @@ void ChromeContentRendererClient::RenderThreadStarted() {
thread->RegisterExtension(extensions_v8::SearchBoxExtension::Get());
if (command_line->HasSwitch(switches::kPlaybackMode) ||
command_line->HasSwitch(switches::kRecordMode) ||
command_line->HasSwitch(switches::kNoJsRandomness)) {
command_line->HasSwitch(switches::kRecordMode)) {
thread->RegisterExtension(extensions_v8::PlaybackExtension::Get());
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment