diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 04:01:10 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 04:01:10 +0000 |
commit | 9deaf306197e5137e7acc920a25873242e6f8c10 (patch) | |
tree | 3ae6852881d60a1da45834092c54dc19f59498c7 /webkit/support/test_webkit_client.cc | |
parent | ec0b6c4eab34c0018869aad1e215aaa3868b3b55 (diff) | |
download | chromium_src-9deaf306197e5137e7acc920a25873242e6f8c10.zip chromium_src-9deaf306197e5137e7acc920a25873242e6f8c10.tar.gz chromium_src-9deaf306197e5137e7acc920a25873242e6f8c10.tar.bz2 |
Revert 57386:
The interval test started failing after we rolled back to a previous version of Webkit. This code
does not seem to support it.
Original description: Move the chromium.Interval to chrome.Interval as part of the benchmarking
extension. This means that users will need to use --enable-benchmarking
to access it. It really shouldn't be part of the exposed API.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3126029
TBR=mbelshe@chromium.org
Review URL: http://codereview.chromium.org/3186033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webkit_client.cc')
-rw-r--r-- | webkit/support/test_webkit_client.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/support/test_webkit_client.cc b/webkit/support/test_webkit_client.cc index 3497377..c33545d 100644 --- a/webkit/support/test_webkit_client.cc +++ b/webkit/support/test_webkit_client.cc @@ -30,6 +30,7 @@ #include "webkit/database/vfs_backend.h" #include "webkit/extensions/v8/gc_extension.h" #include "webkit/extensions/v8/gears_extension.h" +#include "webkit/extensions/v8/interval_extension.h" #include "webkit/glue/simple_webmimeregistry_impl.h" #include "webkit/glue/webclipboard_impl.h" #include "webkit/glue/webkit_glue.h" @@ -66,6 +67,8 @@ TestWebKitClient::TestWebKitClient(bool unit_test_mode) WebScriptController::enableV8SingleThreadMode(); WebScriptController::registerExtension( extensions_v8::GearsExtension::Get()); + WebScriptController::registerExtension( + extensions_v8::IntervalExtension::Get()); WebKit::WebRuntimeFeatures::enableSockets(true); WebKit::WebRuntimeFeatures::enableApplicationCache(true); WebKit::WebRuntimeFeatures::enableDatabase(true); |