ImportScriptsNetworkErr.js (197B)
1 var result = "Fail"; 2 3 try 4 { 5 importScripts("NonExistentFile.js"); 6 } 7 catch(ex) 8 { 9 if (ex.code != null && ex.code == ex.NETWORK_ERR) 10 { 11 result = "Pass"; 12 } 13 } 14 15 postMessage(result);
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |