#515779 iceweasel: select onchange method is called when selected option is disabled

Package:
iceweasel
Source:
firefox-esr
Submitter:
Thierry EXCOFFIER
Date:
2014-07-23 15:24:09 UTC
Severity:
normal
Tags:
#515779#5
Date:
2009-02-17 16:28:46 UTC
From:
To:
Look the following HTML code with 'iceweasel' and follow the instructions.

<pre>
Click on the menu,
move the pointer on item "1" (do not click),
click elsewhere in the page two times.
The 'onchange' is called (Shift-Reload to retry the experimentation).

<select onchange="alert(this)">
  <option disabled="1" selected="1">0</option><option>1</option>
</select>
</pre>

IE and Opera do not call 'onchange', it seems to me they are right.

#515779#12
Date:
2014-07-23 14:43:08 UTC
From:
To:
Dear Maintainer,

In the current Jessie version, a disabled option can no longer be
selected. Hence, the bug can not be reproduced anymore.

The HTML code initially provided my Thierry now behaves as expected, and
no unwanted onchange event is generated.

I hence recommend to close this bug.

Regards,