{"json_modified": "2016-10-20T13:47:36.637525", "uuid": "96b96102-ba66-420c-809d-3cb459738aaf", "title": "WebIDL bindings", "url": "/en-US/docs/Mozilla/WebIDL_bindings", "tags": ["Guide", "WebIDL"], "translations": [{"uuid": "180e3a56-5340-470a-8898-63bd037b31c8", "title": "WebIDL bindings", "url": "/ja/docs/Mozilla/WebIDL_bindings", "tags": [], "summary": "WebIDL\u00a0\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u306f\u30d3\u30eb\u30c9\u6642\u306b\uff12\u3064\u306e\u7269\u3092\u751f\u6210\u3057\u307e\u3059: \u5b9f\u969b\u306e WebIDL \u30d5\u30a1\u30a4\u30eb\u3068 WebIDL \u304c Gecko \u306e\u5185\u90e8\u30b3\u30fc\u30c9\u3068\u3069\u306e\u3088\u3046\u306b\u7d10\u4ed8\u3051\u3055\u308c\u308b\u304b\u3092\u5b9a\u7fa9\u3057\u305f\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u30ea\u30b9\u30c8\u304c\u5165\u3063\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-01T08:52:49", "review_tags": []}, {"uuid": "8731498e-4bee-4342-98ed-4b4eefd8e8a1", "title": "WebIDL bindings", "url": "/zh-CN/docs/Mozilla/WebIDL_bindings", "tags": [], "summary": "\u5728\u6784\u5efa\u65f6\u4ea7\u751f WebIDL \u7ed1\u5b9a\u9700\u8981\u4e24\u4e2a\u6761\u4ef6\uff1a\u5f53\u524d\u7684 WEBIDL \u6587\u4ef6\u548c\u63cf\u8ff0 WEBIDL \u5982\u4f55\u6620\u5c04\u4e3a Gecko \u5185\u90e8\u4ee3\u7801\u7684\u5143\u6570\u636e\u914d\u7f6e\u6587\u4ef6\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-08-24T18:18:31", "review_tags": []}], "modified": "2016-10-20T13:47:35", "label": "WebIDL bindings", "localization_tags": [], "locale": "en-US", "id": 47340, "last_edit": "2016-10-20T13:47:28", "summary": "The WebIDL bindings are generated at build time based on two things: the actual WebIDL file and a configuration file that lists some metadata about how the WebIDL should be reflected into Gecko-internal code.", "sections": [{"id": "Adding_WebIDL_bindings_to_a_class", "title": "Adding WebIDL bindings to a class"}, {"id": "C_reflections_of_WebIDL_constructs", "title": "C++ reflections of WebIDL constructs"}, {"id": "C_reflections_of_WebIDL_operations_(methods)", "title": "C++ reflections of WebIDL operations (methods)"}, {"id": "C_reflections_of_WebIDL_attributes", "title": "C++ reflections of WebIDL attributes"}, {"id": "C_reflections_of_WebIDL_constructors", "title": "C++ reflections of WebIDL constructors"}, {"id": "typemapping", "title": "C++ reflections of WebIDL types"}, {"id": "any", "title": null}, {"id": "boolean", "title": null}, {"id": "Integer_types", "title": "Integer types"}, {"id": "Floating_point_types", "title": "Floating point types"}, {"id": "DOMString", "title": null}, {"id": "USVString", "title": null}, {"id": "ByteString", "title": null}, {"id": "object", "title": null}, {"id": "Interface_types", "title": "Interface types"}, {"id": "Callback_interfaces", "title": "Callback interfaces"}, {"id": "External_interfaces", "title": "External interfaces"}, {"id": "WebIDL_interfaces", "title": "WebIDL interfaces"}, {"id": "SpiderMonkey_interfaces", "title": "\"SpiderMonkey\" interfaces"}, {"id": "Dictionary_types", "title": "Dictionary types"}, {"id": "Enumeration_types", "title": "Enumeration types"}, {"id": "Callback_function_types", "title": "Callback function types"}, {"id": "sect1", "title": "\u00a0"}, {"id": "Sequences", "title": "Sequences"}, {"id": "Arrays", "title": "Arrays"}, {"id": "Union_types", "title": "Union types"}, {"id": "Date", "title": null}, {"id": "C_reflections_of_WebIDL_declarations", "title": "C++ reflections of WebIDL declarations"}, {"id": "Maplike", "title": "Maplike"}, {"id": "Setlike", "title": "Setlike"}, {"id": "Iterable", "title": "Iterable"}, {"id": "Stringifiers", "title": "Stringifiers"}, {"id": "Legacy_Callers", "title": "Legacy Callers"}, {"id": "Named_getters", "title": "Named getters"}, {"id": "Indexed_getters", "title": null}, {"id": "Throwing_exceptions_from_WebIDL_methods_getters_and_setters", "title": "Throwing exceptions from WebIDL methods, getters, and setters"}, {"id": "Custom_extended_attributes", "title": "Custom extended attributes"}, {"id": "Alias", "title": null}, {"id": "ChromeOnly", "title": null}, {"id": "Pref", "title": null}, {"id": "Func", "title": null}, {"id": "AvailableIn", "title": null}, {"id": "CheckAnyPermissions", "title": null}, {"id": "CheckAllPermissions", "title": null}, {"id": "Throws", "title": null}, {"id": "DependsOn", "title": null}, {"id": "Affects", "title": null}, {"id": "Pure", "title": null}, {"id": "Constant", "title": null}, {"id": "NeedResolve", "title": null}, {"id": "HeaderFile", "title": null}, {"id": "JSImplementation", "title": null}, {"id": "NavigatorProperty", "title": null}, {"id": "StoreInSlot", "title": null}, {"id": "Cached", "title": null}, {"id": "Frozen", "title": null}, {"id": "ChromeConstructor", "title": null}, {"id": "BinaryName", "title": null}, {"id": "Exposed", "title": null}, {"id": "Deprecatedtag", "title": null}, {"id": "CrossOriginReadable", "title": null}, {"id": "CrossOriginWrite", "title": null}, {"id": "CrossOriginCallable", "title": null}, {"id": "SecureContext", "title": null}, {"id": "NeedsSubjectPrincipal", "title": null}, {"id": "Helper_objects", "title": "Helper objects"}, {"id": "Nullable", "title": null}, {"id": "Optional", "title": null}, {"id": "NonNull", "title": null}, {"id": "OwningNonNull", "title": null}, {"id": "TypedArrays", "title": "Typed arrays, arraybuffers, array buffer views"}, {"id": "Sequence", "title": null}, {"id": "CallbackFunction", "title": null}, {"id": "CallbackInterface", "title": null}, {"id": "DOMString-helper", "title": null}, {"id": "GlobalObject", "title": null}, {"id": "Date-struct", "title": null}, {"id": "ErrorResult", "title": null}, {"id": "Bindings.conf", "title": null}, {"id": "How_to_get_a_JSContext_passed_to_a_given_method", "title": "How to get a JSContext passed to a given method"}, {"id": "Implementing_WebIDL_using_Javascript", "title": "Implementing WebIDL using Javascript"}, {"id": "Creating_JS-implemented_WebIDL_objects", "title": "Creating JS-implemented WebIDL objects"}, {"id": "Using_the_WebIDL_constructor", "title": "Using the WebIDL constructor"}, {"id": "Using_a__create_method", "title": "Using a "}, {"id": "By_returning_a_chrome-side_object_from_a_JS-implemented_WebIDL_method", "title": "By returning a chrome-side object from a JS-implemented WebIDL method"}, {"id": "Implementing_a_WebIDL_object_in_JavaScript", "title": "Implementing a WebIDL object in JavaScript"}, {"id": "Static_Members", "title": "Static Members"}, {"id": "Checking_for_Permissions_or_Preferences", "title": "Checking for Permissions or Preferences"}, {"id": "Example", "title": "Example"}, {"id": "Guarantees_provided_by_bindings", "title": "Guarantees provided by bindings"}, {"id": "Accessing_the_content_object_from_the_implementation", "title": "Accessing the content object from the implementation"}, {"id": "MaplikeSetlike_declaration_helpers_in_Javascript_implementations", "title": "Maplike/Setlike declaration helpers in Javascript implementations"}, {"id": "Maplike_2", "title": "Maplike"}, {"id": "Setlike_2", "title": "Setlike"}, {"id": "Determining_the_principal_of_the_caller_that_invoked_the_WebIDL_API", "title": "Determining the principal of the caller that invoked the WebIDL API"}, {"id": "Throwing_exceptions_from_JS-implemented_APIs", "title": "Throwing exceptions from JS-implemented APIs"}, {"id": "Inheriting_from_interfaces_implemented_in_C", "title": "Inheriting from interfaces implemented in C++"}], "slug": "Mozilla/WebIDL_bindings", "review_tags": []}