Changes between Version 137 and Version 138 of WebKitIDL
- Timestamp:
- Sep 19, 2015, 3:36:23 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitIDL
v137 v138 14 14 - [#Custom Custom(m,a), CustomGetter(a), CustomSetter(a)][[br]] 15 15 - [#CustomBinding CustomBinding][[br]] 16 - [#CallWith CallWith(m,a) ][[br]]16 - [#CallWith CallWith(m,a), SetterCallWith(a)][[br]] 17 17 - [#StrictTypeChecking StrictTypeChecking(m,a,p)][[br]] 18 18 - [#NewObject NewObject(m,a)][[br]] … … 446 446 Note: ObjC, GObject and CPP bindings do not support `[CustomBinding]` bindings. 447 447 448 == `[CallWith]`(m,a) == #CallWith448 == `[CallWith]`(m,a), `[SetterCallWith]`(a) == #CallWith 449 449 450 450 Summary: `[CallWith]` indicates that the bindings code calls a WebCore method with additional information. 451 451 452 Usage: The possible usage is `[CallWith=X1|X2|X3|...]`, where X1, X2, X3, ... is "ScriptExecutionContext", "ScriptState", "ScriptArguments" or "CallStack".452 Usage: The possible usage is `[CallWith=X1|X2|X3|...]`, where X1, X2, X3, ... is "ScriptExecutionContext", "ScriptState", "ScriptArguments", "CallStack", "ActiveWindow" or "FirstWindow". 453 453 "ScriptExecutionContext", "ScriptState" and "CallStack" can be specified on methods or attributes, 454 454 but "ScriptArguments" can be specified on methods only: … … 456 456 interface HTMLFoo { 457 457 [CallWith=ScriptExecutionContext] attribute DOMString str; 458 [SetterCallWith=ScriptExecutionContext] attribute DOMString str2; 458 459 [CallWith=ScriptExecutionContext] void func1(int a, int b); 459 460 [CallWith=ScriptState] void func2(int a, int b);