Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 5907321ab4825ffd479384a0c54cf599b055d1ac..cf0446d0cdf171f0e53200db1e006d4b3b6e3d42 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2817,6 +2817,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); |