mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
10 lines
238 B
HTML
10 lines
238 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
try {
|
|
var selectElem = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
|
|
selectElem.QueryInterface(Ci.nsISelectElement);
|
|
selectElem.getOptionIndex(null, 0, true);
|
|
} catch (e) {
|
|
}
|
|
</script>
|