OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 <script> | 5 <script> |
6 var testDataTransfer; | 6 var testDataTransfer; |
7 var nonConvertibleToString = {toString: function() { throw "Exception in toStrin
g()"; }}; | 7 var nonConvertibleToString = {toString: function() { throw "Exception in toStrin
g()"; }}; |
8 function legacyCopyStart(dataTransfer) | 8 function legacyCopyStart(dataTransfer) |
9 { | 9 { |
10 testDataTransfer = dataTransfer; | 10 testDataTransfer = dataTransfer; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 <div>Copy handler: <select id="copyMethod"><option>Legacy</option><option>DataTr
ansferItemList</option></select></div> | 145 <div>Copy handler: <select id="copyMethod"><option>Legacy</option><option>DataTr
ansferItemList</option></select></div> |
146 <div>Paste handler: <select id="pasteMethod"><option>Legacy</option><option>Data
TransferItemList</option></select></div> | 146 <div>Paste handler: <select id="pasteMethod"><option>Legacy</option><option>Data
TransferItemList</option></select></div> |
147 <div id="console"></div> | 147 <div id="console"></div> |
148 <script> | 148 <script> |
149 description("Tests copy / paste and DataTransferItemList"); | 149 description("Tests copy / paste and DataTransferItemList"); |
150 | 150 |
151 window.jsTestIsAsync = true; | 151 window.jsTestIsAsync = true; |
152 | 152 |
153 runNext(); | 153 runNext(); |
154 </script> | 154 </script> |
155 <script src="../js/resources/js-test-post.js"></script> | |
156 </body> | 155 </body> |
157 </html> | 156 </html> |
OLD | NEW |