repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
components: Fix 'gn check' errors for user_prefs.
[chromium-blink-merge.git]
/
net
/
data
/
proxy_resolver_v8_tracing_unittest
/
error.js
blob
83e534c28f2dbbaf3cbbb056bea47b8abb4cd04d
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";
8
}