In the javascript web console, when I press <enter>
the expression is evaluated, but the input does not clear -- instead a new line is inserted. The behavior is as though I'm pressing both <enter>
and <shift>+<enter>
for multi-line input.
I have tried starting firefox in safe-mode, upgrading, and "refreshing" firefox, all to no avail.
Is there some setting that sets multi-line input to the default behavior?
I opened the Browser Console, cleared it, and put it next to my Firefox window. Then I typed an expression in the Web Console and hit enter. The instant I did so an error appeared in the Browser Console:
That
utils.js:555:0
is a link, taking you to that specific line of that file:Apparently something’s seems to be up with this
devtools.selfxss.count
pref. I opened about:config to see if I could figure out what.It turned out that this pref was missing! So I right-clicked, and chose “New > Integer”, entered
devtools.selfxss.count
as the pref name and0
as the value.It worked!
Then I researched what this pref is all about, and found https://bugzilla.mozilla.org/show_bug.cgi?id=994134#c89:
The question now is why it was missing.
You could check if you’re having the same problem. Otherwise this at least might be helpful to track down your problem.