Closed Bug 119250 Opened 23 years ago Closed 23 years ago

javascript strict warnings in mailWindowOverlay.js

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 98
defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 68525
Future

People

(Reporter: bugZ, Assigned: sspitzer)

References

Details

Attachments

(1 file)

win32 build 2002011003, win98se The following displays twice in the js console when mail is first started: Error: Components.classes['@mozilla.org;timeline-service;1'] has no properties Source File: chrome://messenger/content/mailWindowOverlay.js Line: 34 This has been in the last several builds, I think.
QA Contact: esther → stephend
Confirming, I've seen this too, but I *think* it's harmless. DP would know...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Timeline is enabled only in DEBUG builds of windows by default. On the rest it is enabled with MOZ_TIMELINE or --enable-timeline is set... C++ code that doesn't have timeline just noops out. But for js there is no such facility. Look like mailwindowOverlay.js is using timeline and is checked in. It is harmless but I wouldnt expect this code to be run in non-debug builds.
*** Bug 119386 has been marked as a duplicate of this bug. ***
There are both javascript warnings and errors. Messing up the console. I'm using a nightly build so the timeline shouldn't be there right? Warning: reference to undefined property Components.classes['@mozilla.org;timeline-service;1'] Source File: chrome://messenger/content/mailWindowOverlay.js Line: 34 Error: Components.classes['@mozilla.org;timeline-service;1'] has no properties Source File: chrome://messenger/content/mailWindowOverlay.js Line: 34
This bug is preventing me from running my JavaScript S/MIME automated test. It failed to launch the Messenger window when running the following JavaScript code: setTimeout(lastWindow.OpenMessenger,1); setTimeout(closeAlert,4000); alert('Loading Messenger window... Will close automatically.'); The last workable build for me is 2001121103. Fixing this bug is critical for me to continue the S/MIME automation effort. Thanks.
Severity: normal → major
Varada should own this, but he's currently on sabbatical.
Severity: major → blocker
Attached patch Draft patch...Splinter Review
Something like this should get this through. I haven't tested it or anything.
Any update on this bug?
Looks like DP has a patch. Who can review this?
Keywords: nsbeta1
Sean, could you review this and then pass it on for the super review?
Status: NEW → ASSIGNED
Any new news? Thanks!
Tried with today's trunk build (2002020110), and this problem seems is gone. I am able to run my JavaScript S/MIME automated test now.
*** Bug 124137 has been marked as a duplicate of this bug. ***
marking WFM based on comments.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: nsbeta1nsbeta1-
Resolution: --- → WORKSFORME
Well... I still see Warning: reference to undefined property Components.classes['@mozilla.org;timeline-service;1'] Source File: chrome://messenger/content/mailWindowOverlay.js Line: 39 Perhaps we should reopen this and scope it towards the only warning I currently see?
sure. I'll reopen since we still get the js error. Since it doesn't appear to be a blocker, I'm changing the severity and moving out.
Severity: blocker → trivial
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Target Milestone: --- → Future
updating summary to reflect changes.
Summary: js error at mail startup: Components.classes['@mozilla.org;timeline-service;1'] has no properties → JS strict warning in mailWindowOverlay.js
*** This bug has been marked as a duplicate of 68525 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → DUPLICATE
Summary: JS strict warning in mailWindowOverlay.js → javascript strict warnings in mailWindowOverlay.js
verified dup.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: