Autore Topic: Crash test per Firefox  (Letto 389 volte)

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline 23Andrea

  • Post: 454
Crash test per Firefox
« il: 24 Febbraio 2025 17:11:34 »
Ciao.
Cerco un modo semplice (e non distruttivo!) per far crashare Firefox, a scopo di test.
Una volta esisteva un'estensione, "Crash Me Now!"
https://addons.thunderbird.net/EN-US/firefox/addon/crash-me-now-simple/
compatibile solo fino a Firefox 56.
Qualche idea?
Grazie.
« Ultima modifica: 27 Febbraio 2025 18:41:08 da miki64 »

Offline Iceberg

  • Moderatore
  • Post: 9342
Re:Crash test
« Risposta #1 il: 24 Febbraio 2025 17:46:23 »
Segnalo:

https://superuser.com/questions/678054/force-firefox-to-crash-or-trick-firefox-into-thinking-it-has-crashed-on-windows

In particolare:
Citazione
Go to about:config and turn devtools.chrome.enabled to true

Open Scratchpad with Shift+F4

Switch Environment to Browser and run the following snippet

Codice: [Seleziona]
Cu.import("resource://gre/modules/ctypes.jsm");
let zero = new ctypes.intptr_t(8);
let badptr = ctypes.cast(zero, ctypes.PointerType(ctypes.int32_t));
badptr.contents;

Offline 23Andrea

  • Post: 454
Re:Crash test
« Risposta #2 il: 25 Febbraio 2025 17:57:06 »
Funziona.
Grazie.

0 Utenti e 1 Visitatore stanno visualizzando questo topic.