| Index: src/js/uri.js
|
| diff --git a/src/js/uri.js b/src/js/uri.js
|
| index 37ba6b102fb738589e6b728cda2b9e46d77a5aed..19bfbd353de645f18fae01968a9ce041e577078b 100644
|
| --- a/src/js/uri.js
|
| +++ b/src/js/uri.js
|
| @@ -219,18 +219,6 @@ function URIDecodeComponent(component) {
|
| return Decode(component, reservedPredicate);
|
| }
|
|
|
| -// ECMA-262 - 15.1.3.3.
|
| -function URIEncode(uri) {
|
| - uri = TO_STRING(uri);
|
| - return %URIEncode(uri, true);
|
| -}
|
| -
|
| -// ECMA-262 - 15.1.3.4
|
| -function URIEncodeComponent(component) {
|
| - component = TO_STRING(component);
|
| - return %URIEncode(component, false);
|
| -}
|
| -
|
| // -------------------------------------------------------------------
|
| // Install exported functions.
|
|
|
| @@ -240,9 +228,7 @@ utils.InstallFunctions(global, DONT_ENUM, [
|
| "escape", URIEscapeJS,
|
| "unescape", URIUnescapeJS,
|
| "decodeURI", URIDecode,
|
| - "decodeURIComponent", URIDecodeComponent,
|
| - "encodeURI", URIEncode,
|
| - "encodeURIComponent", URIEncodeComponent
|
| + "decodeURIComponent", URIDecodeComponent
|
| ]);
|
|
|
| })
|
|
|