Closed Bug 267088 Opened 20 years ago Closed 20 years ago

Calendar fails loading nsJSSupportsUtils.js and nsJSComponentManager.js -- both are moved to "obsolete" in toolkit

Categories

(Calendar :: Sunbird Only, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mattwillis, Assigned: mostafah)

Details

Attachments

(1 file)

 
Damn enter key...

When launching Sunbird with debug enabled I see the following:

Failed to load
jar:resource:///chrome/toolkit.jar!/content/global/nsJSSupportsUtils.js
Failed to load
jar:resource:///chrome/toolkit.jar!/content/global/nsJSComponentManager.js
Failed to load
jar:resource:///chrome/toolkit.jar!/content/global/nsJSSupportsUtils.js
Failed to load
jar:resource:///chrome/toolkit.jar!/content/global/nsJSComponentManager.js

The references are found in calendar/resources/content/dayview.xul and weekview.xul.

The actual .js files have been moved to toolkit/obsolete/content.

Three possible courses of action:
1) Determine we don't need these, so remove the references to them.
2) Determine we DO need these, and fix it so they are included in the chrome and
referenced properly.
3) Determine we DO need these, and replace them with something not "obsolete"
Those file seem to do next to nothing.

The functions in nsJSSupportsUtils.js are not used at all in the tree
nsJSComponentManager looks like it isn't used either, but it is a bit harder to
check (createService is all over the tree ofcourse, but not from
nsJSComponentManager. the text nsJSComponentManager isn't used though)

So i'd say remove the includes.
Attachment #164208 - Flags: first-review?(mostafah)
Attachment #164208 - Flags: first-review?(mostafah) → first-review+
Checked in. Thanks
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: