Closed
Bug 921519
Opened 11 years ago
Closed 11 years ago
Really disable the slow script dialog on B2G
Categories
(Core :: XPConnect, defect)
Tracking
()
People
(Reporter: mrbkap, Assigned: mrbkap)
References
Details
Attachments
(1 file, 1 obsolete file)
1.43 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
Debugging bug 884394, I found that we end up hanging trying to bring up the slow script dialog (we try to bring up the dialog, but as far as I can tell, nobody is listening) and end up hanging in BrowserElementChild._waitForResult.
Assignee | ||
Comment 1•11 years ago
|
||
A value of 0 means "don't do that."
Attachment #811186 -
Flags: review?(bobbyholley+bmo)
Comment 2•11 years ago
|
||
Comment on attachment 811186 [details] [diff] [review]
patch v1
Review of attachment 811186 [details] [diff] [review]:
-----------------------------------------------------------------
r=bholley with comments.
::: b2g/app/b2g.js
@@ +187,5 @@
> pref("dom.max_chrome_script_run_time", 0); // disable slow script dialog for chrome
> // Disable the watchdog thread for B2G. See bug 870043 comment 31.
> pref("dom.use_watchdog", false);
> +pref("dom.max_script_run_time", 0);
> +pref("dom.max_chrome_script_run_time", 0);
This is redundant with the line 2 lines up. Remove the previous one and keep these together.
Also, please add a comment explaining why we need to both disable the watchdog and disable the listener.
Attachment #811186 -
Flags: review?(bobbyholley+bmo) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #811186 -
Attachment is obsolete: true
Attachment #811211 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
\o/
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Comment 8•11 years ago
|
||
status-b2g-v1.2:
--- → fixed
status-firefox25:
--- → wontfix
status-firefox26:
--- → fixed
status-firefox27:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•