blob: 83e534c28f2dbbaf3cbbb056bea47b8abb4cd04d (
plain)
1
2
3
4
5
6
7
8
|
function FindProxyForURL(url, host) {
if (host == 'throw-an-error') {
alert('Prepare to DIE!');
var x = null;
return x.split('-'); // Throws exception.
}
return "PROXY i-approve-this-message:42";
}
|