{"json_modified": "2014-08-24T18:18:40.422687", "slug": "Mozilla/WebIDL_bindings", "tags": [], "locale": "zh-CN", "title": "WebIDL bindings", "translations": [{"title": "WebIDL bindings", "url": "/en-US/docs/Mozilla/WebIDL_bindings", "tags": ["WebIDL"], "summary": "", "localization_tags": [], "locale": "en-US", "last_edit": "2014-08-21T14:20:14", "review_tags": []}, {"title": "WebIDL bindings", "url": "/ja/docs/Mozilla/WebIDL_bindings", "tags": [], "summary": "", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2014-06-01T00:02:07", "review_tags": []}], "modified": "2014-08-24T18:18:38", "label": "WebIDL bindings", "localization_tags": [], "url": "/zh-CN/docs/Mozilla/WebIDL_bindings", "last_edit": "2014-08-24T18:18:31", "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", "sections": [{"id": ".E5.90.91.E4.B8.80.E4.B8.AA_class_.E6.B7.BB.E5.8A.A0_WebIDL_.E7.BB.91.E5.AE.9A", "title": "\u5411\u4e00\u4e2a class \u6dfb\u52a0 WebIDL \u7ed1\u5b9a"}, {"id": "C.2B.2B_reflections_of_WebIDL_constructs", "title": "C++ reflections of WebIDL constructs"}, {"id": "C.2B.2B_reflections_of_WebIDL_operations_(methods)", "title": "C++ reflections of WebIDL operations (methods)"}, {"id": "C.2B.2B_reflections_of_WebIDL_attributes", "title": "C++ reflections of WebIDL attributes"}, {"id": "C.2B.2B_reflections_of_WebIDL_constructors", "title": "C++ reflections of WebIDL constructors"}, {"id": "typemapping", "title": "C++ reflections of WebIDL types"}, {"id": "any", "title": "any"}, {"id": "boolean", "title": "boolean"}, {"id": "Integer_types", "title": "Integer types"}, {"id": "Floating_point_types", "title": "Floating point types"}, {"id": "DOMString", "title": "DOMString"}, {"id": "ByteString", "title": "ByteString"}, {"id": "object", "title": "object"}, {"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": ".22SpiderMonkey.22_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": "Sequences", "title": "Sequences"}, {"id": "Arrays", "title": "Arrays"}, {"id": "Union_types", "title": "Union types"}, {"id": "Date", "title": "Date"}, {"id": "Stringifiers", "title": "Stringifiers"}, {"id": "Legacy_Callers", "title": "Legacy Callers"}, {"id": "Named_getters", "title": "Named getters"}, {"id": "Throwing_exceptions_from_WebIDL_methods.2C_getters.2C_and_setters", "title": "Throwing exceptions from WebIDL methods, getters, and setters"}, {"id": "Custom_extended_attributes", "title": "Custom extended attributes"}, {"id": "ChromeOnly", "title": "[ChromeOnly]"}, {"id": "Pref", "title": "[Pref=prefname]"}, {"id": "Func", "title": "[Func=\"funcname\"]"}, {"id": "AvailableIn", "title": "[AvailableIn=Where]"}, {"id": "CheckPermissions", "title": "[CheckPermissions=\"list of permissions\"]"}, {"id": "Throws", "title": "[Throws] , [GetterThrows] , [SetterThrows]"}, {"id": "Pure", "title": "[Pure]"}, {"id": "Constant", "title": "[Constant]"}, {"id": "NeedNewResolve", "title": "[NeedNewResolve]"}, {"id": "HeaderFile", "title": "[HeaderFile=\"path/to/headerfile.h\"]"}, {"id": "JSImplementation", "title": "[JSImplementation=\"@mozilla.org/some-contractid;1\"]"}, {"id": "NavigatorProperty", "title": "[NavigatorProperty=\"propName\"]"}, {"id": "StoreInSlot", "title": "[StoreInSlot]"}, {"id": "Cached", "title": "[Cached]"}, {"id": "Frozen", "title": "[Frozen]"}, {"id": "ChromeConstructor", "title": "[ChromeConstructor]"}, {"id": "Helper_objects", "title": "Helper objects"}, {"id": "Nullable", "title": "Nullable"}, {"id": "Optional", "title": "Optional"}, {"id": "NonNull", "title": "NonNull"}, {"id": "OwningNonNull", "title": "OwningNonNull"}, {"id": "TypedArrays", "title": "Typed arrays, arraybuffers, array buffer views"}, {"id": "Sequence", "title": "Sequence"}, {"id": "CallbackFunction", "title": "CallbackFunction"}, {"id": "CallbackInterface", "title": "CallbackInterface"}, {"id": "DOMString-helper", "title": "DOMString"}, {"id": "GlobalObject", "title": "GlobalObject"}, {"id": "Date-struct", "title": "Date"}, {"id": "ErrorResult", "title": "ErrorResult"}, {"id": "Bindings.conf", "title": "Bindings.conf details"}, {"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.C2.A0_create.C2.A0method_.C2.A0", "title": "Using a _create method"}, {"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": "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": "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.2B.2B", "title": "Inheriting from interfaces implemented in C++"}], "id": 87727, "review_tags": []}