Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / net / data / proxy_resolver_v8_tracing_unittest / error.js
blob83e534c28f2dbbaf3cbbb056bea47b8abb4cd04d
1 function FindProxyForURL(url, host) {
2   if (host == 'throw-an-error') {
3     alert('Prepare to DIE!');
4     var x = null;
5     return x.split('-');  // Throws exception.
6   }
7   return "PROXY i-approve-this-message:42";