Changeset 107459 in webkit for trunk/Source/JavaScriptCore/API


Ignore:
Timestamp:
Feb 10, 2012, 4:42:38 PM (13 years ago)
Author:
[email protected]
Message:

Source/JavaScriptCore: https://bugs.webkit.org/show_bug.cgi?id=72756
DOMHTMLElement’s accessKey property is declared as available in WebKit version that didn’t have it

Patch by Vineet Chaudhary <Vineet> on 2012-02-10
Reviewed by Timothy Hatcher.

  • API/WebKitAvailability.h: Added AVAILABLE_AFTER_WEBKIT_VERSION_5_1 and AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_5_1 for the new versions.

Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=72756
DOMHTMLElement’s accessKey property is declared as available in WebKit version that didn’t have it.

Patch by Vineet Chaudhary <Vineet> on 2012-02-10
Reviewed by Timothy Hatcher.

No new tests.

  • bindings/objc/PublicDOMInterfaces.h: Moving accessKey property to DOMHTMLElement with an appropriate availability macro AVAILABLE_AFTER_WEBKIT_VERSION_5_1. Also Moving accessKey property to HTMLAnchorElement, HTMLAreaElement, HTMLButtonElement, HTMLInputElement, HTMLLabelElement, HTMLLegendElement and HTMLTextAreaElement idls with an availability macro AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_5_1.
  • html/HTMLAnchorElement.idl: Adding accessKey entries back to idls under LANGUAGE_OBJECTIVE_C.
  • html/HTMLAreaElement.idl: Ditto.
  • html/HTMLButtonElement.idl: Ditto.
  • html/HTMLInputElement.idl: Ditto.
  • html/HTMLLabelElement.idl: Ditto.
  • html/HTMLLegendElement.idl: Ditto.
  • html/HTMLTextAreaElement.idl: Ditto.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/WebKitAvailability.h

    r95901 r107459  
    902902
    903903
     904
     905
     906
     907
     908/*
     909 * AVAILABLE_AFTER_WEBKIT_VERSION_5_1
     910 *
     911 * Used on functions introduced after WebKit 5.1
     912 */
     913#define AVAILABLE_AFTER_WEBKIT_VERSION_5_1
     914
     915/* AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_5_1
     916 *
     917 * Used on declarations introduced in WebKit 1.3,
     918 * but later deprecated after WebKit 5.1
     919 */
     920#define AVAILABLE_WEBKIT_VERSION_1_3_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_5_1
     921
     922
    904923#endif /* __WebKitAvailability__ */
Note: See TracChangeset for help on using the changeset viewer.