update new sdk

This commit is contained in:
August 2020-07-15 19:27:51 +08:00
parent f33907443a
commit 744c72c133
1643 changed files with 83006 additions and 28021 deletions

View file

@ -78,6 +78,23 @@
"function fn() {}\n" \
"\n" \
#define CHANGE_ELEMENT_KIND_JS \
"// PAC script with getter that changes element kind.\n" \
" \n" \
"function FindProxyForURL(url, host) {\n" \
" let arr = [];\n" \
" arr[1000] = 0x1234;\n" \
"\n" \
" arr.__defineGetter__(256, function () {\n" \
" delete arr[256];\n" \
" arr.unshift(1.1);\n" \
" });\n" \
"\n" \
" let results = Object.entries(arr);\n" \
" let str = results.toString(); \n" \
" return \"DIRECT\";\n" \
"}\n" \
#define DIRECT_JS \
"function FindProxyForURL(url, host) {\n" \
" return \"DIRECT\";\n" \