Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: src/uri.js

Issue 1126213002: Wrap runtime.js in a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/typedarray.js ('k') | src/v8natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/uri.js
diff --git a/src/uri.js b/src/uri.js
index fdbd07edb3c64904ee0804c652ef50f8dacc16d4..8ba20ef6834dca743abfab7accf6692a285ad700 100644
--- a/src/uri.js
+++ b/src/uri.js
@@ -262,13 +262,13 @@ function Decode(uri, reserved) {
// ECMA-262 - B.2.1.
function URIEscapeJS(str) {
- var s = ToString(str);
+ var s = $toString(str);
return %URIEscape(s);
}
// ECMA-262 - B.2.2.
function URIUnescapeJS(str) {
- var s = ToString(str);
+ var s = $toString(str);
return %URIUnescape(s);
}
@@ -292,14 +292,14 @@ function URIDecode(uri) {
return false;
};
- var string = ToString(uri);
+ var string = $toString(uri);
return Decode(string, reservedPredicate);
}
// ECMA-262 - 15.1.3.2.
function URIDecodeComponent(component) {
var reservedPredicate = function(cc) { return false; };
- var string = ToString(component);
+ var string = $toString(component);
return Decode(string, reservedPredicate);
}
@@ -326,7 +326,7 @@ function URIEncode(uri) {
return false;
};
- var string = ToString(uri);
+ var string = $toString(uri);
return Encode(string, unescapePredicate);
}
@@ -347,7 +347,7 @@ function URIEncodeComponent(component) {
return false;
};
- var string = ToString(component);
+ var string = $toString(component);
return Encode(string, unescapePredicate);
}
« no previous file with comments | « src/typedarray.js ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698