Changes between Version 14 and Version 15 of Modules
- Timestamp:
- Feb 27, 2012, 11:26:41 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Modules
v14 v15 14 14 15 15 == Associating JavaScript APIs with "core" objects == 16 17 Even self-contained features often need to expose JavaScript APIs on "catch-all" interfaces like DOMWindow or Navigator. If we declared these APIs in DOMWindow.idl and implemented them in DOMWindow.h/cpp, the complexity of DOMWindow would increase with each added feature. To avoid complexity creep in these core classes, you can declare your JavaScript API in supplemental IDL files, mirroring the "partial interface" WebIDL mechanism used in specifications. 16 18 17 19 * http://trac.webkit.org/wiki/WebKitIDL#Supplemental