Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 19e4221706bfc917ccc1e1e772f201b69386fdba..8d8465d61ffd84a0a18a129059a42d8f4e14ca58 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2854,6 +2854,14 @@ bool Genesis::InstallNatives(GlobalContextType context_type) { |
SimpleInstallFunction(global_object, "encodeURIComponent", |
Builtins::kGlobalEncodeURIComponent, 1, false); |
+ // Install Global.escape. |
+ SimpleInstallFunction(global_object, "escape", Builtins::kGlobalEscape, 1, |
+ false); |
+ |
+ // Install Global.unescape. |
+ SimpleInstallFunction(global_object, "unescape", Builtins::kGlobalUnescape, 1, |
+ false); |
+ |
// Install Global.eval. |
{ |
Handle<JSFunction> eval = |