blob: 4db4587fa2218a4a22a121340e45dabb7c22b792 [file] [log] [blame]
To manually test, drag 'Drag Me' to 'Drop Here' and drop. Several lines that say 'PASS' should appear below.
Drag Me
Drop Here
Drag handler:
Drop handler:
Running test with Legacy drag handler and Legacy drop handler
PASS: 4 === 4
PASS: sample === sample
PASS: http://www.google.com/ === http://www.google.com/
PASS: <em>Markup</em> === <em>Markup</em>
PASS: hello world === hello world
Running test with Legacy drag handler and DataTransferItemList drop handler
PASS: 4 === 4
PASS: [{"kind":"string","type":"custom-data"},{"kind":"string","type":"text/html"},{"kind":"string","type":"text/plain"},{"kind":"string","type":"text/uri-list"}] === [{"kind":"string","type":"custom-data"},{"kind":"string","type":"text/html"},{"kind":"string","type":"text/plain"},{"kind":"string","type":"text/uri-list"}]
PASS: hello world === hello world
PASS: <em>Markup</em> === <em>Markup</em>
PASS: sample === sample
PASS: http://www.google.com/ === http://www.google.com/
Running test with DataTransferItemList drag handler and Legacy drop handler
PASS: 4 === 4
PASS: sample === sample
PASS: http://www.google.com/ === http://www.google.com/
PASS: <em>Markup</em> === <em>Markup</em>
PASS: hello world === hello world
Running test with DataTransferItemList drag handler and DataTransferItemList drop handler
PASS: 4 === 4
PASS: [{"kind":"string","type":"custom-data"},{"kind":"string","type":"text/html"},{"kind":"string","type":"text/plain"},{"kind":"string","type":"text/uri-list"}] === [{"kind":"string","type":"custom-data"},{"kind":"string","type":"text/html"},{"kind":"string","type":"text/plain"},{"kind":"string","type":"text/uri-list"}]
PASS: hello world === hello world
PASS: <em>Markup</em> === <em>Markup</em>
PASS: sample === sample
PASS: http://www.google.com/ === http://www.google.com/