Devtools preference devtools.errorconsole.enabled missing in Seamonkey

RESOLVED FIXED in seamonkey2.45

Status

SeaMonkey
General
--
minor
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: frg, Assigned: frg)

Tracking

Trunk
seamonkey2.45

SeaMonkey Tracking Flags

(seamonkey2.46 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Using latest trunk I get the folling error in the web console:

>> Timestamp: 4/8/2016 5:14:24 PM
>> Error: NS_ERROR_UNEXPECTED: Component returned failure code: 
>> 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]
>> Source File: chrome://navigator/content/webDeveloperOverlay.js
>> Line: 206

The preference does not exist in Sea Monkey.

VS2015 x64 en-US build
>> User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:48.0) 
>> Gecko/20100101 Firefox/48.0 SeaMonkey/2.45a1
>> Build identifier: 20160408154200
(Assignee)

Updated

2 years ago
Summary: Devtools preference devtools.errorconsole.enabled missing → Devtools preference devtools.errorconsole.enabled missing in Seamonkey

Comment 1

2 years ago
Remove this:

    // Enable Error Console?
    var consoleEnabled = Services.prefs.getBoolPref("devtools.errorconsole.enabled");
    toggleCmd("Tools:ErrorConsole", consoleEnabled);

Also remove this:

    <command id="Tools:ErrorConsole" oncommand="toJavaScriptConsole()" disabled="true" hidden="true"/>
(Assignee)

Comment 2

2 years ago
Created attachment 8739470 [details] [diff] [review]
1263186-errorconsole-remove.patch

The patch. Tested and seems to work.
Attachment #8739470 - Flags: review?(philip.chee)
(Assignee)

Updated

2 years ago
Assignee: nobody → frgrahl
Status: NEW → ASSIGNED

Updated

2 years ago
Attachment #8739470 - Flags: review?(philip.chee) → review+

Updated

2 years ago
Depends on: 1258985

Comment 3

2 years ago
http://hg.mozilla.org/comm-central/rev/abc74bba07dc
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox48: affected → ---
status-seamonkey2.46: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.45

Comment 4

2 years ago
What kind of Error console is this? Have they removed it from Firefox?

Comment 5

2 years ago
(In reply to :aceman from comment #4)
> What kind of Error console is this? Have they removed it from Firefox?
This is the traditional toolkit Error Console. Bug 1258985 just removes the menu item from the Firefox Devtools UI. The Error Console itself is not affected. This should not affect Thunderbird since you aren't exposing the Devtools Client UI anyway.

Comment 6

2 years ago
Thanks. So the console backend is still in Toolkit in for now and as we expose a link to it in the UI (tools->error console) it still works.
You need to log in before you can comment on or make changes to this bug.