wiki:WebIDLToDo

Version 3 (modified by sam@webkit.org, 7 years ago) (diff)

--

Goals

  • Remove all non-wrapping or GC related custom bindings
  • Add support for all WebIDL features
  • Improve the quality of the perl IDL code generators
  • Use IDL infrastructure to add automatic test case generation


Tasks:

  • Add support for callbacks with non-void return types
  • Add support for WebIDL namespaces
  • Add support for generating name getters / setters / deleters
  • Add support for generating index getters / setters with custom names
  • Add support for maplike<> declarations
  • Add support for setlike<> declarations
  • Add support for Promise<> attributes
  • Remove special casing of RegExp from overloading
  • Add support for BufferType specialization in IDLTypes (currently implemented as IDLInterfaces)
  • Stop invoking GetMethod(V, @@iterator) twice for sequence/FrozenArray disambiguation in overloading and union conversion
  • Implement / verify FrozenArray reference semantics without [CachedAttribute]
  • Add support for [SameObject]
  • Add support for the remaining steps in the union conversion code
  • Remove special casing of enums by passing context (attribute assignment, function parameter, dictionary assignment) to conversion functions
  • Add better exception messages for all conversions
  • Move all exception helpers out of JSDOMBindings.h and into its own header


Specific issues

  • Make ScheduledAction into a regular callback


Maybe:

  • Split JSDOMConvert up into separate files per type
  • Generate the structs that correspond to IDL dictionaries
  • Generate the enums that correspond to IDL enums
  • Generate the abstract base classes that correspond to IDL callbacks