| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // https://html.spec.whatwg.org/#the-datatransfer-interface | 29 // https://html.spec.whatwg.org/#the-datatransfer-interface |
| 30 | 30 |
| 31 [ | 31 [ |
| 32 GarbageCollected | 32 GarbageCollected |
| 33 ] interface DataTransfer { | 33 ] interface DataTransfer { |
| 34 attribute DOMString dropEffect; | 34 attribute DOMString dropEffect; |
| 35 attribute DOMString effectAllowed; | 35 attribute DOMString effectAllowed; |
| 36 | 36 |
| 37 [SameObject] readonly attribute DataTransferItemList items; | 37 [SameObject] readonly attribute DataTransferItemList items; |
| 38 | 38 |
| 39 [RaisesException] void setDragImage(Element image, long x, long y); | 39 [RaisesException, LegacyInterfaceTypeChecking] void setDragImage(Element ima
ge, long x, long y); |
| 40 | 40 |
| 41 /* old interface */ | 41 /* old interface */ |
| 42 [SameObject] readonly attribute DOMString[] types; | 42 [SameObject] readonly attribute DOMString[] types; |
| 43 DOMString getData(DOMString format); | 43 DOMString getData(DOMString format); |
| 44 void setData(DOMString format, DOMString data); | 44 void setData(DOMString format, DOMString data); |
| 45 void clearData(optional DOMString format); | 45 void clearData(optional DOMString format); |
| 46 [SameObject] readonly attribute FileList files; | 46 [SameObject] readonly attribute FileList files; |
| 47 }; | 47 }; |
| OLD | NEW |