Created
February 11, 2014 20:25
-
-
Save arantius/8943384 to your computer and use it in GitHub Desktop.
Exercise GM bug 1869
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Crash GM + FF 27 | |
// @author Rob W <gwnRob@gmail.com> | |
// @namespace robwu.nl | |
// @version 3.7.1 | |
// @include * | |
// @grant GM_getValue | |
// ==/UserScript== | |
setTimeout(function() { | |
if (confirm('Crash?')) clearInterval(); | |
}); | |
var x = setInterval(dump, 1500, 'foo\n'); | |
setTimeout(function() { | |
dump('Trying to clear interval ...\n'); | |
try { | |
clearInterval(x); | |
} catch (e) { | |
dump('Failed! \n' + e + '\n'); | |
} | |
}, 5000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment