The "Wait" button in the "A web page is slowing down your browser. What would you like to do?" dialog seems to be not consequent




JavaScript Engine
2 years ago
9 months ago


(Reporter: sworddragon2, Unassigned)



49 Branch

Firefox Tracking Flags

(Not tracked)




2 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160928160550

Actual results:

If I‘m not wrong the old dialog that appeared if a script run too long has paused the script until the user has decided to stop or to continue it. This had the disadvantage that the user had either to continue manually multiple times on long running scripts or to give them a longer/(temporary) infinite timeout which could cause problems too.

The new "A web page is slowing down your browser. What would you like to do?" dialog continues the execution of the script while it shows the buttons "Stop It" and "Wait". This eliminates the disadvantages from the old dialog and clicking "Wait" does cause the dialog to reappear after a few seconds if the script is still running.

I actually wonder why the "Wait" button does exist there as doing nothing does already wait for the amount of time the user wants (and even potentially an unlimited time like the related checkbox from the old dialog caused it). The only difference is that the dialog does disappear for a few seconds which doesn‘t seem to be a real advantage.

Expected results:

The "Wait" button should be removed as the dialog seems to provide without it a clearer user experience without losing functionality.


2 years ago
Severity: normal → enhancement


2 years ago
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Keywords: triage-deferred
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.