update new sdk
This commit is contained in:
parent
f33907443a
commit
744c72c133
1643 changed files with 83006 additions and 28021 deletions
15
android/external/chromium-libpac/test/js-unittest/change_element_kind.js
vendored
Normal file
15
android/external/chromium-libpac/test/js-unittest/change_element_kind.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// PAC script with getter that changes element kind.
|
||||
|
||||
function FindProxyForURL(url, host) {
|
||||
let arr = [];
|
||||
arr[1000] = 0x1234;
|
||||
|
||||
arr.__defineGetter__(256, function () {
|
||||
delete arr[256];
|
||||
arr.unshift(1.1);
|
||||
});
|
||||
|
||||
let results = Object.entries(arr);
|
||||
let str = results.toString();
|
||||
return "DIRECT";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue