Summary: | Changing pop-up does not automatically reload page on Yahoo! Finance Message Boards | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | Evangelism | Assignee: | Nobody <webkit-unassigned> |
Status: | CLOSED FIXED | ||
Severity: | Normal | Keywords: | InRadar, YahooBug |
Priority: | P2 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://messages.finance.yahoo.com/mb/AAPL |
Description
David Kilzer (:ddkilzer)
2007-08-16 15:00:33 PDT
This is an evangelism issue. When the page is requested with a Safari/WebKit user agent, a critical JavaScript file is left out of the page source between the </body> and </html> tags: <script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/i/us/fi/yfs/js/yahoo_event_dom_2.2.0.js"></script> The missing script causes the JavaScript errors during page load, and prevents the pop-up from working properly. I can NOT reproduce this by changing the user agent within Safari's Debug menu, but it's easy to confirm using curl: $ curl -A "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/523.2+ (KHTML, like Gecko) Version/3.0.3 Safari/522.12.1" http://messages.finance.yahoo.com/mb/AAPL >curl-Safari-AAPL.html $ curl -A "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6" http://messages.finance.yahoo.com/mb/AAPL >curl-Firefox-AAPL.html $ curl -A "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" http://messages.finance.yahoo.com/mb/AAPL >curl-MSIE6-AAPL.html Note that loading the page downloaded by curl with the Firefox user agent loads with no JavaScript errors in Safari and that this fixes the behavior of the broken pop-up menu. Yahoo has now fixed this issue. The current page now correctly loads the required script (http://us.js2.yimg.com/us.js.yimg.com/i/us/fi/yfs/js/yahoo_event_dom_2.2.2.js) with Safari 2 and 3, and the pop-up menu behaves as expected. |