Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Side by Side Diff: LayoutTests/fast/events/clipboard-dataTransferItemList-remove.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="help" href="http://www.w3.org/TR/2013/WD-html51-20130528/editing.html #dom-datatransferitemlist-remove"> 4 <link rel="help" href="http://www.w3.org/TR/2013/WD-html51-20130528/editing.html #dom-datatransferitemlist-remove">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Checks that DataTransferItemList.remove() is working"); 9 description("Checks that DataTransferItemList.remove() is working");
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 shouldBe('dataTansferItemList.length', '2'); 50 shouldBe('dataTansferItemList.length', '2');
51 shouldThrow('dataTansferItemList.remove(0)', '"InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable."'); // List is readonly during paste. 51 shouldThrow('dataTansferItemList.remove(0)', '"InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable."'); // List is readonly during paste.
52 shouldBe('dataTansferItemList.length', '2'); 52 shouldBe('dataTansferItemList.length', '2');
53 } 53 }
54 54
55 document.oncopy = copy; 55 document.oncopy = copy;
56 document.onpaste = paste; 56 document.onpaste = paste;
57 document.execCommand('copy'); 57 document.execCommand('copy');
58 document.execCommand('paste'); 58 document.execCommand('paste');
59 </script> 59 </script>
60 <script src="../js/resources/js-test-post.js"></script>
61 </body> 60 </body>
62 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698