Closed
Bug 118574
Opened 23 years ago
Closed 23 years ago
JavaScript strict warnings in showbuilds.cgi
Categories
(Webtools Graveyard :: Tinderbox, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: WeirdAl, Assigned: mcafee)
Details
Attachments
(1 file)
1.68 KB,
patch
|
caillon
:
review+
|
Details | Diff | Splinter Review |
Warning: reference to undefined property document.layers Source File: http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey Line: 73 (clicking one link in guilty column, above strict warning repeated 13 times!) Warning: reference to undefined property document.layers Source File: http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey Line: 104 (clicking one star link, above strict warning repeated 13 times) Why are we using document.layers to detect for a Netscape 4 browser? http://developer.netscape.com/evangelism/tools/practical-browser-sniffing/ See bug 81279 for indications why throwing strict warnings en masse is a Bad Thing. Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7+) Gecko/20020106
Comment 1•23 years ago
|
||
The fact that it's repeated 13 times is bug 104549
Updated•23 years ago
|
Attachment #63925 -
Flags: review+
Comment 3•23 years ago
|
||
Comment on attachment 63925 [details] [diff] [review] test for undefined this'll do it. r=caillon
Comment 4•23 years ago
|
||
Comment on attachment 63925 [details] [diff] [review] test for undefined Um, would you fix your quotes first actually? :) Then r=me
done :)
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•23 years ago
|
||
Cool beans. Thanks, guys. Took me a moment in #mozillazine to see why you didn't use the sniffer.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•