Closed Bug 705943 Opened 14 years ago Closed 14 years ago

[SeaMonkey] mochitest-other: browser_bug92473.js and browser_bug134911.js report "Console message: [JavaScript Error: "SetForcedCharset is not defined"" since changeset 0e6b8ae8eb21

Categories

(Core :: Internationalization, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla11

People

(Reporter: sgautherie, Assigned: smontagu)

References

(Blocks 1 open bug, )

Details

(Keywords: regression, Whiteboard: [perma-orange])

Attachments

(1 file)

I assume this started with http://hg.mozilla.org/mozilla-central/rev/0e6b8ae8eb21 "remove FUEL usage from these tests. a=tests-only" At first glance, I would guess SetForcedCharset() is defined in Firefox browser.js only :-/ Then these tests should be Firefox specific (as they used to be) or this function should be defined in Core or Toolkit (or ported to SeaMonkey SMILE).
SetForcedCharset just calls BrowserSetForcedCharacterSet, which we do have.
BrowserSetForcedCharacterSet exists in both Firefox and Seamonkey
Attachment #577710 - Flags: review?(dao)
Attachment #577710 - Flags: review?(dao) → review+
Comment on attachment 577710 [details] [diff] [review] Use BrowserSetForcedCharacterSet instead of SetForcedCharset This patch should fix the reported errors just fine :-) Yet, while there, what is the actual use of Firefox SetForcedCharset()? As in: could it be deprecated/removed, or shouldn't it rather be added to SeaMonkey?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1322765602.1322769171.17358.gz&fulltext=1 OS X 10.6 comm-central-trunk debug test mochitest-other on 2011/12/01 10:53:22 V.Fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: