Changes between Version 108 and Version 109 of WebKitIDL


Ignore:
Timestamp:
May 8, 2013 1:45:01 AM (11 years ago)
Author:
Christophe Dumez
Comment:

Remove V8CustomIsReachable

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v108 v109  
    4545 - [#JSGenerateToJSObject JSGenerateToJSObject(i), JSGenerateToNativeObject(i)][[br]]
    4646 - [#GenerateIsReachable GenerateIsReachable(i)]
    47  - [#V8CustomIsReachable V8CustomIsReachable(i)]
    4847 - [#JSCustomHeader JSCustomHeader(i)][[br]]
    4948 - [#JSLegacyParent JSLegacyParent(i)][[br]]
     
    12701269}}}
    12711270
    1272 == `[JSCustomToNativeObject]`(i), `[JSCustomFinalize]`(i), `[JSCustomIsReachable]`(i), `[JSCustomMarkFunction]`(i), `[JSCustomNamedGetterOnPrototype]`(i), `[JSCustomPushEventHandlerScope]`(i), `[JSCustomDefineOwnProperty]`(i), `[JSCustomDefineOwnPropertyOnPrototype]`(i), `[JSCustomGetOwnPropertySlotAndDescriptor]`(i) == #JSCustomToNativeObject
     1271== `[JSCustomToNativeObject]`(i), `[JSCustomFinalize]`(i), `[CustomIsReachable]`(i), `[JSCustomMarkFunction]`(i), `[JSCustomNamedGetterOnPrototype]`(i), `[JSCustomPushEventHandlerScope]`(i), `[JSCustomDefineOwnProperty]`(i), `[JSCustomDefineOwnPropertyOnPrototype]`(i), `[JSCustomGetOwnPropertySlotAndDescriptor]`(i) == #JSCustomToNativeObject
    12731272
    12741273Summary: They allow you to write custom bindings for the JavaScriptCore-specific code that would be generated automatically by default.
     
    12791278        JSCustomToNativeObject,
    12801279        JSCustomFinalize,
    1281         JSCustomIsReachable,
     1280        CustomIsReachable,
    12821281        JSCustomMarkFunction,
    12831282        JSCustomNamedGetterOnPrototype,
     
    13091308    }
    13101309}}}
    1311  * `[JSCustomIsReachable]`: You can write custom `JSXXXOwner::isReachableFromOpaqueRoots(...)`:
     1310 * `[CustomIsReachable]`: You can write custom `JSXXXOwner::isReachableFromOpaqueRoots(...)`:
    13121311
    13131312{{{
     
    14141413
    14151414The value of these represents the functions to call to get the object that determines whether the object is reachable or not. See CodeGeneratorJS.pm for more details. The values that end with Root calls WebCore::root to get the root. If the value is left out then WebCore::root is called on impl().
    1416 
    1417 == [V8CustomIsReachable(i) == #V8CustomIsReachable
    1418 
    1419 Summary: Allows you to write custom code for visitDOMWrapper.
    1420 
    1421 Usage:
    1422 
    1423 {{{
    1424     interface [
    1425         V8CustomIsReachable
    1426     ] XXX {
    1427     };
    1428 }}}
    1429 
    1430 And then in V8XXXCustom.cpp:
    1431 
    1432 {{{
    1433 void V8XXX::visitDOMWrapper(DOMDataStore* store, void* object, v8::Persistent<v8::Object> wrapper)
    1434 {
    1435   ...
    1436 }
    1437 }}}
    14381415
    14391416== `[JSLegacyParent]`(i) == #JSLegacyParent