mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
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.
13 lines
513 B
Plaintext
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 |