Closed Bug 186956 Opened 23 years ago Closed 23 years ago

Javascript chart time change simply does nothing

Categories

(SeaMonkey :: General, defect)

x86
Windows 98
defect
Not set
major

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: dirtyoldm, Assigned: asa)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130 On the left, try to change from 1 yr to any other time span. Just click any different number of years in the pulldown. Works fine in Netscape 4.80, simply does nothing in Moz 1.2.1. Reproducible: Always Steps to Reproduce: 1.Just go to http://cbs.marketwatch.com/ 2.Enter a symbol like F for Ford under 'enter symbol' at upper left 3.In the pulldown, pick Charts. Hit the arrow. 4.When the 1-yr chart shows, click any other number of years under 'Time'. Actual Results: Simply does nothing Expected Results: Show the chart like Netscape does! Here's another JS on my personal page that doesn't work in Moz but works fine in NS 4.80 and IE 6: http://mywebpages.comcast.net/rebold/Clock.htm Again, it simply does nothing. The old NS JS worked fine, why didja have to reinvent the wheel? As you have also heard so many times, this requires us to keep a second browser around!
Thank you for such clear steps to reproduce! Not JS Engine; reassigning to Browser-General until we can get further information. The site WORKSFORME using a trunk build 2002121908 on WinNT. I remember we had some problems with the 1.2 branch; would it be possible for you to try the current trunk build (1.3 branch)? If that doesn't work, do you see any errors in Tools > Web Development > JavaScript Console? (be sure to clear it of any previous errors first) The key function involved is: function changeImage() { document.images.chartImg.src=drawDhtml(); } The function drawDhtml() simply provides the URL for the stock chart requested for the time period requested. There may be Preference settings you have made that might affect this. Be sure to check the settings at Edit > Preferences > Advanced > Scripts&Plugins Is the box for "Allow scripts to change images" checked? If not, that would explain everything - It may also be worth checking the settings at Edit > Preferences > Privacy&Security > Images As for me, the site successfully provides charts for the symbol F for any time period I request -
Assignee: rogerl → asa
Component: JavaScript Engine → Browser-General
QA Contact: pschwartau → asa
*cringe* Thanks to pschwartau@netscape.com, he was exactly right. I had "Allow scripts to change images" un-checked.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Thanks! Marking Verified -
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.