summaryrefslogtreecommitdiffstats
path: root/mojo/apps/js/test
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-16 02:10:42 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-16 02:10:42 +0000
commit5a8150a30bdae59d89c10ac9c0da41aacaabebd0 (patch)
tree0413b6a91757b96e4c76ac5191d589e1d88b81ca /mojo/apps/js/test
parente1e974bad9b3c5b1f5f50f83508c0fd3e4f3dd3f (diff)
downloadchromium_src-5a8150a30bdae59d89c10ac9c0da41aacaabebd0.zip
chromium_src-5a8150a30bdae59d89c10ac9c0da41aacaabebd0.tar.gz
chromium_src-5a8150a30bdae59d89c10ac9c0da41aacaabebd0.tar.bz2
Mojo: properly encode and decode UTF8 strings in the JavaScript bindings
by calling directly to V8. Review URL: https://codereview.chromium.org/232113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264069 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/apps/js/test')
-rw-r--r--mojo/apps/js/test/run_apps_js_tests.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mojo/apps/js/test/run_apps_js_tests.cc b/mojo/apps/js/test/run_apps_js_tests.cc
index 3d27e47..5037f8a3 100644
--- a/mojo/apps/js/test/run_apps_js_tests.cc
+++ b/mojo/apps/js/test/run_apps_js_tests.cc
@@ -13,6 +13,7 @@
#include "mojo/apps/js/bindings/monotonic_clock.h"
#include "mojo/apps/js/bindings/threading.h"
#include "mojo/bindings/js/core.h"
+#include "mojo/bindings/js/unicode.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
@@ -24,6 +25,7 @@ class TestRunnerDelegate : public gin::FileRunnerDelegate {
TestRunnerDelegate() {
AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetModule);
AddBuiltinModule(Core::kModuleName, Core::GetModule);
+ AddBuiltinModule(Unicode::kModuleName, Unicode::GetModule);
AddBuiltinModule(gin::TimerModule::kName, gin::TimerModule::GetModule);
AddBuiltinModule(apps::MonotonicClock::kModuleName,
apps::MonotonicClock::GetModule);