mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
The IDL constructor has to take separate steps than a DataTransfer that is internally constructed. Notably, an IDL-created object has its own drag data store, and that store is placed in a read-write mode.
9 lines
253 B
HTML
9 lines
253 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
let dataTransfer = new DataTransfer();
|
|
println(`dropEffect: ${dataTransfer.dropEffect}`);
|
|
println(`effectAllowed: ${dataTransfer.effectAllowed}`);
|
|
});
|
|
</script>
|