Closed Bug 67623 Opened 25 years ago Closed 24 years ago

javascript strict warnings in charsetOverlay.js

Categories

(Core :: Internationalization, defect, P4)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: bugzilla, Assigned: jbetak)

Details

JavaScript strict warning: chrome://global/content/charsetOverlay.js line 191: reference to undefined property window._content.document JavaScript error: chrome://global/content/charsetOverlay.js line 191: window._content.document has no properties
Target Milestone: --- → mozilla0.9
It supposed to happen every page load but I did not see the warning, maybe fixed?
This could have been a white elephant from related strict warnings at the time. Henrik, is this something that occurred along with the temporary (erroneous) spike in js strict warnings? (reference bug 66928 and a couple other related bugs)
I cannot reproduce this with today's pull.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
in build 2001022605: JavaScript error: chrome://global/content/charsetOverlay.js line 126: wnd.document has no properties JavaScript error: chrome://global/content/charsetOverlay.js line 126: wnd.document has no properties to reproduce: 1) go to http://gemal1.sprawl.dk/ 2) Choose View -> Char Code -> Customize -> Ok 3) Move into the View -> Char Code menu and you should get those errors..
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
I tried as instructed but still cannot see the warning. Below is what I see in the console. Document http://gemal1.sprawl.dk/ loaded successfully Update current charset: windows-1250 intl.charset.detector = off WEBSHELL+ = 5 WEBSHELL- = 4 Update current charset: windows-1250 intl.charset.detector = off
I'm still able to get these errors. Try selecting a another charset and then move into the View -> Char Code menu and you should get those errors.. JavaScript strict warning: chrome://global/content/charsetOverlay.js line 126: reference to undefined prope rty wnd.document JavaScript error: chrome://global/content/charsetOverlay.js line 126: wnd.document has no properti es
Reassign to jbetak.
Assignee: nhotta → jbetak
Status: REOPENED → NEW
Priority: -- → P4
Gemal, I've been assigned to look into this bug. It seems it is no-repro as of March 27. It might be a bogus warning as indicated by Mark Olson. As far as I remember there was a great deal of "work in progress" on document properties and the JS engine when Cata and I did the initial work on the code last spring, therefore I'm only guardedly optimistic here... The document.characterSet property is used in serveral places across the whole product (when spawning a view source window, adding a bookmark or opening a new browser window). Could you check any of these on http://gemal1.sprawl.dk/ and look for the same warning? Also, when doing wjust what you described in the bug (try selecting a another charset and then move into the View -> Char Code menu) do you see this in your console after the warning: Update current charset: windows-1250? If you do, then the warning is likely to be bogus since the property was read off the document property. Gemal - thanks for all your trouble, J.
Status: NEW → ASSIGNED
Cant reproduce this warning anymore. Only bug 60406.
Target Milestone: mozilla0.9 → mozilla0.9.1
closing - no repro as of 03/30/2001. Good candidate for regressions.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.