summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorace@google.com <ace@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 22:20:18 +0000
committerace@google.com <ace@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 22:20:18 +0000
commitca12c84970275a27de5a423bfd78a1cdd5a8836e (patch)
tree82887bd4b68e4729deb3e644fcd71a900c51bdf9 /chrome/renderer
parent4b59848d8b9dd3a5ba653459bd68968b0bf92993 (diff)
downloadchromium_src-ca12c84970275a27de5a423bfd78a1cdd5a8836e.zip
chromium_src-ca12c84970275a27de5a423bfd78a1cdd5a8836e.tar.gz
chromium_src-ca12c84970275a27de5a423bfd78a1cdd5a8836e.tar.bz2
Add command line flag that removes randomness from javascript functions, to be used during reliability_tests.
Review URL: http://codereview.chromium.org/63143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/render_thread.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 2865cc4..cdce9c6 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -304,7 +304,8 @@ void RenderThread::EnsureWebKitInitialized() {
}
if (command_line.HasSwitch(switches::kPlaybackMode) ||
- command_line.HasSwitch(switches::kRecordMode)) {
+ command_line.HasSwitch(switches::kRecordMode) ||
+ command_line.HasSwitch(switches::kNoJsRandomness)) {
WebKit::registerExtension(extensions_v8::PlaybackExtension::Get());
}