| Index: android_webview/tools/automated_ui_tests/test/data/select.html
|
| diff --git a/android_webview/tools/automated_ui_tests/test/data/select.html b/android_webview/tools/automated_ui_tests/test/data/select.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3e6f180604dbe815c48364b628b0e7baa29b8b37
|
| --- /dev/null
|
| +++ b/android_webview/tools/automated_ui_tests/test/data/select.html
|
| @@ -0,0 +1,22 @@
|
| +<!doctype html>
|
| +<html>
|
| +
|
| +<a href="index.html">
|
| +<p>Brisket tri-tip pork doner shankle turkey. Shankle sirloin drumstick ground round filet mignon. Drumstick cow flank, ground round ball tip bresaola pig salami chuck capicola. Strip steak corned beef ham shoulder cow, jowl bacon t-bone shank spare ribs brisket sausage filet mignon.</p></a>
|
| + <select id="select">
|
| + <option value="value1">Value 1</option>
|
| + <option value="value2" selected>Value 2</option>
|
| + <option value="value3">Value 3</option>
|
| + </select>
|
| + <input type="button" id="click" value="Click"/>
|
| + <script type="text/javascript">
|
| + function myOpen() {
|
| + var e = document.createEvent("MouseEvents");
|
| + e.initMouseEvent("mousedown", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
| + var elem = document.getElementById("select");
|
| + elem[0].dispatchEvent(e);
|
| + }
|
| + var el = document.getElementById("click");
|
| + el.addEventListener("click", myOpen, false);
|
| + </script>
|
| +</html>
|
|
|