Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/webidl/ecmascript-binding/legacy-callback-interface-object.txt
Shannon Booth e555edd770 LibWeb/Bindings: Implement callback interface object bindings
Generate correct bindings for callback interfaces: only create an
interface object when the interface declares constants, and set up
the prototype correctly.

This also lets us tidy up some IDL for these callback interfaces.
2026-03-11 21:16:44 +01:00

13 lines
513 B
Plaintext

Harness status: OK
Found 8 tests
8 Pass
Pass Must be a function according to typeof
Pass Must have the correct [[Prototype]]
Pass Must have the correct property descriptor
Pass Must throw a TypeError when called or constructed
Pass Must not have a .prototype property
Pass Must have an own name property equal to the interface name and with the correct descriptors
Pass Must have an own length property with value zero and the correct descriptors
Pass instanceof must throw but only when we don't bail out early