On 05/06/2014 10:19 AM, Marcio Galli wrote:
Would you know a way we can control this programatically? You probably
disabled using the Dom.max_chrome_script_run_time right?

m

On Tue, May 6, 2014 at 2:13 PM, Nicolas B. Pierron
<[email protected]> wrote:
On 05/06/2014 07:07 AM, Marcio Galli wrote:

I wonder if it is possible to replicate the "javascript is slow" pop
in B2G. I have a code that does some controlled recursion along side
with DOM injections.


AFAIK, i used to be enabled about a year ago, as I had to disable it
manually to run benchmarks on the phone's browser.

This is the content of the pref.js file which I merge into the default one when I do the build, but as Jonas pointed it might be disabled by default now.

// Disable interrupt checks, to run benchmarks until completion.
pref("dom.max_script_run_time", 0);
pref("dom.script_run_time", 0);


--
Nicolas B. Pierron
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to