diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/manual-tests/remove-select-onchange.html | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/manual-tests/remove-select-onchange.html')
-rw-r--r-- | WebCore/manual-tests/remove-select-onchange.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/manual-tests/remove-select-onchange.html b/WebCore/manual-tests/remove-select-onchange.html new file mode 100644 index 0000000..51004b5 --- /dev/null +++ b/WebCore/manual-tests/remove-select-onchange.html @@ -0,0 +1,9 @@ +<p>This test shouldn't crash when you pick something from select, even though it removes itself. +</p> +<select id="foo" onchange='sel.parentNode.removeChild(sel)'> +<option>Boom</option> +<option>Shouldn't crash when you pick this.</option> +</select> +<script> +var sel = document.getElementById("foo"); +</script>
\ No newline at end of file |