Open Bug 1221085 Opened 10 years ago Updated 3 years ago

Allow user to cancel/stop content rendering when very long busy, similar to the one limiting execution time for JavaScript

Categories

(Core :: Layout, enhancement)

41 Branch
x86_64
Linux
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: jost.baron, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20151016093648 Steps to reproduce: I have added a debug output into a site that I'm developing. That output got bigger than expected (several hundred thousand lines of output). Actual results: This froze the whole browser for more than 10 minutes (then I killed it). Expected results: The browser should have prompted me with a popup asking if I want to abort rendering, or wait some more. Similar to the popup that shows up if a script runs too long (5 seconds by default, I think). The time after which the popup shows should be configurable. This is related: https://bugzilla.mozilla.org/show_bug.cgi?id=981383
This could be used to DoS a user, by delivering a large/complicated to render file to him or her.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Severity: normal → enhancement
Component: Untriaged → Layout
Product: Firefox → Core
Summary: [Feature request] Add timeout to content rendering, similar to the one limiting execution time for JavaScript → Allow user to cancel/stop content rendering when very long busy, similar to the one limiting execution time for JavaScript
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.