Closed foolip closed 6 years ago
This also needs tests. @inexorabletash, would it suffice to test that passing an object (that is not a function) as the callback arguments throws TypeError, or has there ever been an implementation that exposed interface objects for these that I should write historical tests for?
would it suffice to test that passing an object (that is not a function) as the callback arguments throws TypeError
I think that's the best we can do.
Change looks good; I'll merge once I'm back in the office since this repo still requires manual bs→html generation.
Happily, the prose was already using https://heycam.github.io/webidl/#es-invoking-callback-functions instead of https://heycam.github.io/webidl/#call-a-user-objects-operation, which makes it correct now.
Fixes https://github.com/WICG/entries-api/issues/3.