1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Make encodeURI correspond to the 15.1.3.3 algorithm and encodeURIComponent ito 15.1.3.4

This commit is contained in:
Robert Krimen
2013-05-02 20:23:06 +02:00
parent 83d4565b22
commit 4c85422172
8 changed files with 90 additions and 31 deletions

View File

@@ -708,8 +708,8 @@ func newContext() *_runtime {
"isFinite", -1, builtinGlobal_isFinite,
"decodeURI", -1, builtinGlobal_decodeURI,
"decodeURIComponent", -1, builtinGlobal_decodeURIComponent,
"encodeURI", builtinGlobal_encodeURI,
"encodeURIComponent", builtinGlobal_encodeURIComponent,
"encodeURI", -1, builtinGlobal_encodeURI,
"encodeURIComponent", -1, builtinGlobal_encodeURIComponent,
"escape", builtinGlobal_escape,
"unescape", builtinGlobal_unescape,
)