enabling Firefox 5.0 javascript dump() -


i'm going through firefox extension writing bootcamp , somewhere along way video's author speaking switching browser.dom.window.dump.enabled in about:config true. option no longer present in firefox 5.0. read during google searches, in ff 4.0 had create preference yourself, , seems in firefox 5.0 doesn't work anymore - can't seem dump information firefox error console more (regardless of whether console2 enabled or not).

relevant code:

here's how i'm launching browser:

/usr/bin/iceweasel -profile /some/path -no-remote -jsconsole 

and here's code shows alert, without writing error console:

oncommand: function(event) {   tojavascriptconsole("tojavascriptconsole: hello world");   dump("hello world!\n");   alert("hello world!\n"); } 

any idea can have working dump() called ff extension i'm working on in firefox 5.0?

this preference never present default - had create , set true. also, output doesn't go error console, rather visible in terminal start firefox from. if happen test on windows should specify -console command line flag open terminal window output, on linux starting firefox terminal window do.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -