Changes between Version 69 and Version 70 of WebKitIDL
- Timestamp:
- May 21, 2012, 8:28:06 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitIDL
v69 v70 31 31 - [#Conditional Conditional(i,m,a)][[br]] 32 32 - [#V8EnabledAtRuntime V8EnabledAtRuntime(i,m,a)][[br]] 33 - [#V8EnabledPerContext V8EnabledPerContext(i,m,a)][[br]] 33 34 - [#CustomToJSObject CustomToJSObject(i), JSCustomToJSObject(i), V8CustomToJSObject(i)][[br]] 34 35 - [#CheckSecurity CheckSecurity(i), DoNotCheckSecurity(m,a), DoNotCheckSecurityOnGetter(a), DoNotCheckSecurityOnSetter(a)][[br]] … … 1051 1052 it means that [V8EnabledAtRuntime] is specified on all the attributes and methods of the interface, 1052 1053 1054 == [V8EnabledPerContext](i,m,a) == #V8EnabledAtRuntime 1055 1056 Summary: In Chromium/V8, you can enable or disable a flag per execution context (that is DOMWindow). 1057 1058 If you specify [V8EnabledPerContext], you need to write "flag-binding" code 1059 in WebCore/bindings/generic/ContextEnabledFeatures.h, WebCore/bindings/generic/ContextEnabledFeatures.cpp 1060 The implementation can choose arbitrary decision logic. A typical approach is to ask FrameLoaderClient about its availability. 1061 1062 Currently, V8EnabledPerContext is only effective for attributes on DOMWindow. 1063 1053 1064 == [CustomToJSObject](i), [JSCustomToJSObject](i), [V8CustomToJSObject](i) == #CustomToJSObject 1054 1065