|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I'm attempting to construct crash recovery features similar to what chrome provides when a tab fails.
I have an implementation that I think will work, but I'm struggling to test it reliably.
Are there any methods I can use to force a crash to trigger my recovery tools?
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I found I was able to crash the browser by setting up this code and executing self.Crash from a button.
var self = this; self.Crash = function () { for(i = 0; i < 100; i++){ setTimeout(self.Crash, 1); } }; return self;
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
You can also call eoapi.crash() in your JavaScript to simulate an immediate crash.
Thanks!
|
|