allwinner_a64/android/external/chromium-libpac/test/js-unittest/side_effects.js
2018-08-08 16:14:42 +08:00

10 lines
214 B
JavaScript

if (!gCounter) {
// We write it this way so if the script gets loaded twice,
// gCounter remains dirty.
var gCounter = 0;
}
function FindProxyForURL(url, host) {
return "PROXY sideffect_" + gCounter++;
}