<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/testdriver.js"></script>
<script src="../../../resources/testdriver-vendor.js"></script>
<script src="../resources/picker-common.js"></script>
</head>
<body>
<select id="menu">
<option>foo</option>
<option>bar</option>
</select>
<form action="../resources/popup-no-crash.html" id="form1"></form>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
function openCallback() {
document.getElementById('form1').submit();
}
function errorCallback() {
window.location = "../resources/popup-no-crash.html";
}
openPickerDeprecatedJsTest(document.getElementById('menu'), openCallback, errorCallback);
</script>
</body>
</html>