Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 12ba1a95555b1999a38e674667384ae5783eb9c8..66d7b2307d1084fe4b929707f6e56eea2ff44fab 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2824,6 +2824,14 @@ bool Genesis::InstallNatives(GlobalContextType context_type) { |
Handle<JSGlobalObject> global_object = |
handle(native_context()->global_object()); |
+ // Install Global.decodeURI. |
+ SimpleInstallFunction(global_object, "decodeURI", Builtins::kGlobalDecodeURI, |
+ 1, false); |
+ |
+ // Install Global.decodeURIComponent. |
+ SimpleInstallFunction(global_object, "decodeURIComponent", |
+ Builtins::kGlobalDecodeURIComponent, 1, false); |
+ |
// Install Global.encodeURI. |
SimpleInstallFunction(global_object, "encodeURI", Builtins::kGlobalEncodeURI, |
1, false); |