Bug 137815
| Summary: | iOS8 Safari <select>: Tab crashes when moving to the next form widget after having changed the value of a <select> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gabriel Schulhof <gabriel.schulhof> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | CC: | bfulgham, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | iPhone / iPad | ||
| OS: | Unspecified | ||
Gabriel Schulhof
Steps to Reproduce:
1. Open http://jsbin.com/IFolanOW/598/ in iOS8 Safari
2. Open the select menu
3. Choose a value other than the one selected
4. Tap "Next" to go to the next select menu
Expected Results:
Focus switches to the next select menu
Actual Results:
Safari indicates that there was a problem with the page and reloads the page
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Gabriel Schulhof
The <select> has a change event handler that blurs it when it fires.
Gabriel Schulhof
<!DOCTYPE html>
<html>
<head>
<title>JQM latest - issue 7685</title>
<script>
document.addEventListener( "change", function( event ){
event.target.blur();
});
</script>
</head>
<body>
<form>
<select id="select-1">
<option value="value1">S1 Value 1</option>
<option value="value2">S1 Value 2</option>
</select>
<select id="select-2">
<option value="value1">S2 Value 1</option>
<option value="value2">S2 Value 2</option>
</select>
</form>
</body>
</html>
Radar WebKit Bug Importer
<rdar://problem/18807801>
Radar WebKit Bug Importer
<rdar://problem/18807802>
Brent Fulgham
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.
This should now be fixed in shipping software.