Changeset 148118 in webkit
- Timestamp:
- Apr 10, 2013 11:50:15 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148117 r148118 1 2013-04-10 Patrick Gansterer <paroga@webkit.org> 2 3 Replace ENABLE_JAVASCRIPT_DEBUGGER preprocessor statements in IDL files with Conditional attribute 4 https://bugs.webkit.org/show_bug.cgi?id=114352 5 6 Reviewed by Timothy Hatcher. 7 8 The Conditional attribute does not need a preprocessor, which is source of much pain on native windows. 9 10 * page/Console.idl: 11 1 12 2013-04-10 Alexandru Chiculita <achicu@adobe.com> 2 13 -
trunk/Source/WebCore/page/Console.idl
r147857 r148118 45 45 [CallWith=ScriptArguments] void markTimeline(); 46 46 47 #if defined(ENABLE_JAVASCRIPT_DEBUGGER) && ENABLE_JAVASCRIPT_DEBUGGER48 47 // As per spec: http://www.w3.org/TR/WebIDL/#idl-sequence 49 48 // "Sequences must not be used as the type of an attribute, constant or exception field." 50 49 // FIXME: this will lead to BUG console.profiles !== console.profiles as profile will always returns new array. 51 readonly attribute ScriptProfile[] profiles; 52 [Custom] void profile(in DOMString title); 53 [Custom] void profileEnd(in DOMString title); 54 #endif 50 [Conditional=JAVASCRIPT_DEBUGGER] readonly attribute ScriptProfile[] profiles; 51 [Conditional=JAVASCRIPT_DEBUGGER, Custom] void profile(in DOMString title); 52 [Conditional=JAVASCRIPT_DEBUGGER, Custom] void profileEnd(in DOMString title); 55 53 56 54 void time(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString title);
Note: See TracChangeset
for help on using the changeset viewer.