| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/picker-common.js"></script> | 4 <script src="../resources/picker-common.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <select id="menu"> | 7 <select id="menu"> |
| 8 <option>foo</option> | 8 <option>foo</option> |
| 9 <option>bar</option> | 9 <option>bar</option> |
| 10 </select> | 10 </select> |
| 11 <form action="resources/popup-no-crash.html" id="form1"></form> | 11 <form action="../resources/popup-no-crash.html" id="form1"></form> |
| 12 <script> | 12 <script> |
| 13 if (window.testRunner) { | 13 if (window.testRunner) { |
| 14 testRunner.waitUntilDone(); | 14 testRunner.waitUntilDone(); |
| 15 testRunner.dumpAsText(); | 15 testRunner.dumpAsText(); |
| 16 } | 16 } |
| 17 | 17 |
| 18 function openCallback() { | 18 function openCallback() { |
| 19 document.getElementById('form1').submit(); | 19 document.getElementById('form1').submit(); |
| 20 } | 20 } |
| 21 | 21 |
| 22 function errorCallback() { | 22 function errorCallback() { |
| 23 window.location = "resources/popup-no-crash.html"; | 23 window.location = "../resources/popup-no-crash.html"; |
| 24 } | 24 } |
| 25 | 25 |
| 26 window.onload = function () { | 26 window.onload = function () { |
| 27 openPicker(document.getElementById('menu'), openCallback, errorCallback); | 27 openPicker(document.getElementById('menu'), openCallback, errorCallback); |
| 28 } | 28 } |
| 29 </script> | 29 </script> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |