I have a friendly function:
var crashBrowser = function(){
var total = "";
for( var i = 0; i < 100000; i++ ) {
total = total + i.toString();
history.pushState(0,0, total );
}
}
On calling crashBrowser() when the site runs on http:// works fine but why is there a problem when called locally with file:// in the URL
I looked through the JS error , it said file:// is not supported .I would like to know the reason if there is.