Closed
Bug 119250
Opened 23 years ago
Closed 23 years ago
javascript strict warnings in mailWindowOverlay.js
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
Future
People
(Reporter: bugZ, Assigned: sspitzer)
References
Details
Attachments
(1 file)
2.37 KB,
patch
|
Details | Diff | Splinter Review |
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.
Confirming, I've seen this too, but I *think* it's harmless. DP would know...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•23 years ago
|
||
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.
Comment 3•23 years ago
|
||
*** Bug 119386 has been marked as a duplicate of this bug. ***
Comment 4•23 years ago
|
||
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
Comment 5•23 years ago
|
||
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.
Updated•23 years ago
|
Severity: major → blocker
Comment 7•23 years ago
|
||
Something like this should get this through. I haven't tested it or anything.
Comment 8•23 years ago
|
||
Any update on this bug?
Comment 10•23 years ago
|
||
Sean, could you review this and then pass it on for the super review?
Status: NEW → ASSIGNED
Comment 11•23 years ago
|
||
Any new news? Thanks!
Comment 12•23 years ago
|
||
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.
Comment 13•23 years ago
|
||
*** Bug 124137 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
marking WFM based on comments.
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?
Comment 16•23 years ago
|
||
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
Comment 18•23 years ago
|
||
*** This bug has been marked as a duplicate of 68525 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
Summary: JS strict warning in mailWindowOverlay.js → javascript strict warnings in mailWindowOverlay.js
verified dup.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•