Purposely Crash Chrome Tab for Chrome Extension

Viewed 5822

Hi I'm creating a Chrome extension to purposely crash a Chrome tab. My methods are not working the way I would like. I am trying:

chrome.tabs.update({url: "about:crash"});
chrome.tabs.update({url: "chrome://crash"});
window.location = 'about:crash';
window.location = 'chrome://crash';

None of these work.

However if I replace the URL with something like 'about:blank' or 'http://google.com', it works!

Does Chrome have some sort of security measure in place, if so... any suggestions for a work around?

I would like to avoid overloading the memory with infinite loops if possible.

5 Answers
Related