Closed
Bug 267792
Opened 20 years ago
Closed 19 years ago
Sunbird: view source from javascript console does not work
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: richwklein, Assigned: mostafah)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041018 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041018 Firefox/1.0 Clicking on a link in the javascript console produces a collapsed window with nothing in it. Reproducible: Always Steps to Reproduce: 1. Set strict and show in console javascript preferences so errors show in console. 2. Launch sunbird. 3. Open javascript console. 4. Click on error link. Actual Results: A collapsed window with nothing in it is opened. Expected Results: Source code for file with error should be shown.
Comment 1•20 years ago
|
||
We currently build without View Source, so that may be the reason here. Mostafah, mvl, what do you think, should we re-enable view-source for Sunbird?
Comment 2•20 years ago
|
||
I don't think view-source should be part of the default mozconfig, because it is not needed to create a working sunbird build. But it could be included in the 'official' builds.
Comment 3•20 years ago
|
||
I build with ac_add_options --enable-view-source and view source still doesn't work in the JS console, so it would be more work than simply changing mozconfig. Confirming 'cause this is a bug. HW/OS -> All
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Comment 4•20 years ago
|
||
BTW: This is what dumps when I click on a source link in the JS console with view source enabled. ++WEBSHELL == 9 ++DOMWINDOW == 9 WARNING: NS_ENSURE_TRUE(cv) failed, file nsXULWindow.cpp, line 1543 WARNING: NS_ENSURE_TRUE(window) failed, file nsContentTreeOwner.cpp, line 635 WARNING: NS_ENSURE_TRUE(cv) failed, file nsXULWindow.cpp, line 1543 WARNING: NS_ENSURE_TRUE(windowElement) failed, file nsXULWindow.cpp, line 1352 WARNING: NS_ENSURE_TRUE(cv) failed, file nsXULWindow.cpp, line 1543 ###!!! ASSERTION: no xul:window: 'windowElement', file nsXULWindow.cpp, line 1068 Break: at file nsXULWindow.cpp, line 1068 WARNING: NS_ENSURE_TRUE(cv) failed, file nsXULWindow.cpp, line 1543 ###!!! ASSERTION: no xul:window: 'windowElement', file nsXULWindow.cpp, line 1002 Break: at file nsXULWindow.cpp, line 1002 WARNING: NS_ENSURE_TRUE(cv) failed, file nsXULWindow.cpp, line 1543 ###!!! ASSERTION: no xul:window: 'windowElement', file nsXULWindow.cpp, line 1146 Break: at file nsXULWindow.cpp, line 1146 WARNING: NS_ENSURE_TRUE(cv) failed, file nsXULWindow.cpp, line 1543 WARNING: NS_ENSURE_TRUE(windowElement) failed, file nsXULWindow.cpp, line 978 WARNING: no preshell for window, file nsGlobalWindow.cpp, line 4307 WARNING: NS_ENSURE_TRUE(presShell) failed, file nsGlobalWindow.cpp, line 4338
Updated•19 years ago
|
QA Contact: gurganbl → general
Comment 5•19 years ago
|
||
This is working for me on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051020 Mozilla Sunbird/0.2+ However, I get some JS-console errors: No chrome package registered for chrome://communicator/content/contentAreaUtils.js . No chrome package registered for chrome://communicator/content/utilityOverlay.js . Error: Components.classes['@mozilla.org/rdf/datasource;1?name=charset-menu'] has no properties Source File: chrome://global/content/charsetOverlay.js Line: 211
Comment 6•19 years ago
|
||
(In reply to comment #5) > This is working for me on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; > rv:1.9a1) Gecko/20051020 Mozilla Sunbird/0.2+ > Yeah, this is WFM.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Comment 7•19 years ago
|
||
(In reply to comment #6) WFM now on 0.3a1 on Mac OS X
You need to log in
before you can comment on or make changes to this bug.
Description
•