Closed Bug 508280 Opened 15 years ago Closed 15 years ago

Merge strres.js code into Venkman's utils.js

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sgautherie, Assigned: Gijs)

References

()

Details

Attachments

(1 file, 1 obsolete file)

/mozilla/extensions/venkman/resources/content/venkman-scripts.xul
    * line 63 -- <script src="chrome://global/content/strres.js"/>

/mozilla/extensions/venkman-cvs/resources/content/venkman-scripts.xul
    * line 62 -- <script src="chrome://global/content/strres.js"/>

*****

What is venkman-cvs? And why is it linked from comm-central?
We need the same fix here as in ChatZilla, ie copy it to utils.js

(In reply to comment #0)
> What is venkman-cvs? And why is it linked from comm-central?

I believe it's the backup of whatever was imported before venkman switched to hg. If it's actually in the repo, that'd be a bug, but it'd have to do with the scripts that deal with that stuff, not with Venkman itself, and it is definitely not related to this bug.
(In reply to comment #1)
> (In reply to comment #0)
> > What is venkman-cvs? And why is it linked from comm-central?
> 
> I believe it's the backup of whatever was imported before venkman switched to
> hg. If it's actually in the repo, that'd be a bug

Ah, right, forgot about that: filed bug 508392.
Summary: In Venkman, "use a xul <stringbundle/> instead of including the strres.js code" → Merge strres.js code into Venkman's utils.js
Whiteboard: [good first bug]
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attached patch Patch (obsolete) — Splinter Review
Attachment #409723 - Flags: review?(mnyromyr)
Comment on attachment 409723 [details] [diff] [review]
Patch

Is it really worth keeping this function at all? The only consumer is initStringBundle in venkman-msg.js, which might as well just do it itself...
Attached patch Better patchSplinter Review
That's a good point. This is probably better. Tested, works. Hurray for code removal!
Attachment #409723 - Attachment is obsolete: true
Attachment #414307 - Flags: review?(mnyromyr)
Attachment #409723 - Flags: review?(mnyromyr)
Attachment #414307 - Flags: review?(mnyromyr) → review+
http://hg.mozilla.org/venkman/rev/51baabbbef37
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug]
Blocks: 504730
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Sorry, wrong bug.
No longer blocks: 504730
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: