[Webkit-unassigned] [Bug 11674] REGRESSION: tvguide.com XHR doesn't complete
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 27 19:18:26 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11674
mhaque at haque.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mhaque at haque.net
------- Comment #2 from mhaque at haque.net 2006-12-27 19:18 PDT -------
After formatting through their mangled source, error occurs because
selectedIndex for the select option they are looking at is returning -1. Trying
to come up with a stripped down test case
function getSelectListValue(strListName, boolDefault)
{
var list = document.getElementById(strListName);
if(list != null)
{
return list[list.selectedIndex].value;
}
return boolDefault;
}
optionTimebarRepeat=getSelectListValue("selTimebarRepeat",
optionTimebarRepeat);
.....
<select class=optionSelector id=selTimebarRepeat disabled
onchange="javascript:setOptionsChanged()" name=selTimebarRepeat>
<option value=5>5 rows</option>
<option value=10 selected>10 rows</option>
<option value=15>15 rows</option>
<option value=20>20 rows</option>
<option value=25>25 rows</option>
<option value=30>30 rows</option>
<option value=35>35 rows</option>
<option value=40>40 rows</option>
<option value=45>45 rows</option>
<option value=50>50 rows</option>
</select>
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list