Closed
Bug 99781
Opened 23 years ago
Closed 23 years ago
Yahoo Games won't start
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 100511
mozilla0.9.6
People
(Reporter: lkolesza, Assigned: jst)
References
()
Details
(Keywords: qawanted, Whiteboard: [Test login is user: oji_test, password: test_oji])
Attachments
(1 file)
869 bytes,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.4+) Gecko/20010914 BuildID: 2001091403 In 2001091403 the Yahoo java games won't start. The JavaScript Console displays the following: Error: res.options[res.selectedIndex] has no properties Source File: http://games.yahoo.com/games/login?game=Blackjack Line: 17 It works with Mozilla 0.93 Reproducible: Always Steps to Reproduce: 1. Goto games.yahoo.com 2. Select any of the games 3. Select any of the gamerooms Actual Results: You get a JavaScript error Expected Results: A new window opens with the java game
Reporter | ||
Comment 1•23 years ago
|
||
Also works with Mozilla 0.9.4
Comment 2•23 years ago
|
||
I can confirm this with build id 2001091403 on windows 98.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•23 years ago
|
||
Adding qawanted keyword - is there a test account (i.e. TestID and password) we can use at this site? I do not have a Yahoo account, and can't access the above URL - thanks.
Keywords: qawanted
Comment 5•23 years ago
|
||
lkolesza@yahoo.com: are there any errors in the Java Console as well? Reassigning to OJI for a look, as this gaming site is Java-intensive, and I believe someone in OJI may have an appropriate UserID, password to look at this site I can't access it. Compare these other OJI bugs filed against this site: bug 84457 bug 88906 bug 91645 bug 85105 bug 45027 bug 69352 bug 65204 bug 66840 Please send back if this actually turns out to be JS Engine - thanks.
Assignee: rogerl → edburns
Component: Javascript Engine → OJI
QA Contact: pschwartau → pmac
Reporter | ||
Comment 6•23 years ago
|
||
No. There are no java console errors. In fact the games work fine if started by direct links. (I had some direct links in my history from running 0.9.4)
Comment 7•23 years ago
|
||
works fine on my NT with 1.3.1 jre and today's branch build.
Comment 8•23 years ago
|
||
I was able to play anagrams (on Linux). Did not see nor javascript erros neither java errors. Test login is user: oji_test, password: test_oji
Reporter | ||
Comment 9•23 years ago
|
||
I believe the problem has something to do with the javascript code for the screen size selector found in the card games "room" selection pages. I notice on 0.9.4 (which works) that the screen size box is pre-filled with 800x600, while on the daily builds (that don't work) the screen size box is empty and cannot be changed.
Comment 10•23 years ago
|
||
Reassign to Joe as I'm leaving the role of OJI module owner.
Target Milestone: --- → mozilla0.9.5
Comment 11•23 years ago
|
||
Ressign to Joe Chou, as I am no longer working officially on OJI.
Assignee: edburns → joe.chou
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 12•23 years ago
|
||
Comment 13•23 years ago
|
||
games.yahoo.com uses javascript to generate the options in the "screen size:" listbox. Mozilla is failing to handle this correctly; I've attached a testcase.
Comment 14•23 years ago
|
||
This sounds like a DOM problem; reassigning there for analysis. Compare bug 99859, "mobile.yahoo.com - phone model menu not functional"
Assignee: joe.chou → jst
Component: OJI → DOM Level 0
QA Contact: pmac → desale
Comment 15•23 years ago
|
||
*** Bug 103442 has been marked as a duplicate of this bug. ***
Comment 16•23 years ago
|
||
please see bug 104609
Comment 17•23 years ago
|
||
*** Bug 104609 has been marked as a duplicate of this bug. ***
Comment 18•23 years ago
|
||
This bug exists in Mozilla 0.9.5 (Linux) as well
Comment 19•23 years ago
|
||
The reported error in the JavaScript Console: "Error: res.options[res.selectedIndex] has no properties" comes from this part of the HTML source at games.yahoo.com: <form name=resolution action="/" method=post> <select name="res"> <script language="Javascript"> document.writeln('<option value="small"'+ scrSize("s") + '> 640x480' + '<option value="large"'+ scrSize("m") + '> 800x600'); </script> </select> </form> At the games.yahoo.com site, you are unable to choose any option in the "Screen Size" selectbox (to the right of "Select a Room to play in"). You can SEE the '640x480', '800x600', but you can't select anything. If you type this in the URL bar javascript: alert(document.resolution.res[0]) you get: Mozilla ---> null NN4.7 ---> [object Option] IE4.7 ---> [object] The problem, caused by a dynamically-populated <SELECT>, is well-illustrated in Darren's reduced testcase above.
Whiteboard: [Test login is user: oji_test, password: test_oji]
Comment 20•23 years ago
|
||
The error in the JavaScript Console gets triggered by this function: function lobbyopen(name) { var sel = document.entergame.identity; var res = document.resolution.res; var dms; var small; if (res.options[res.selectedIndex].value == "small") <<<<<<----- ERRORS HERE { dms = "height=400,width=620,"; small = "&small=yes"; } else { dms = "height=520,width=786,"; } small = ""; } Again, this is caused by the dynamic population of the <SELECT> named "res" above. This problem has been reported in another bug, which I'd like to dupe this one against. Even though it has a later bug number, it zeroes in on the specific issue - *** This bug has been marked as a duplicate of 100511 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•