Changeset 166326 in webkit


Ignore:
Timestamp:
Mar 26, 2014 4:35:39 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

-[WKWebProcessPlugInNodeHandle HTMLInputElementIsUserEdited] and -HTMLTextAreaElementIsUserEdited do not return the correct values.

https://bugs.webkit.org/show_bug.cgi?id=130804

Patch by Cody Krieger <cjk@apple.com> on 2014-03-26
Reviewed by Dan Bernstein.

The existing implementations of these methods are mis-cased
("HTMLInputELementIsUserEdited" and "HTMLTextAreaELementIsUserEdited" —
note the "EL" in both cases). This results in us getting
auto-synthesized getters for the HTMLInputElementIsUserEdited and
HTMLTextAreaElementIsUserEdited properties, which will return NO
unconditionally.

  • WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm:

Fix the capitalization of -HTMLInputElementIsUserEdited and
-HTMLTextAreaElementIsUserEdited.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r166318 r166326  
     12014-03-26  Cody Krieger  <cjk@apple.com>
     2
     3        -[WKWebProcessPlugInNodeHandle HTMLInputElementIsUserEdited] and -HTMLTextAreaElementIsUserEdited do not return the correct values.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=130804
     6
     7        Reviewed by Dan Bernstein.
     8
     9        The existing implementations of these methods are mis-cased
     10        ("HTMLInputELementIsUserEdited" and "HTMLTextAreaELementIsUserEdited" —
     11        note the "EL" in both cases). This results in us getting
     12        auto-synthesized getters for the HTMLInputElementIsUserEdited and
     13        HTMLTextAreaElementIsUserEdited properties, which will return NO
     14        unconditionally.
     15
     16        * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm:
     17        Fix the capitalization of -HTMLInputElementIsUserEdited and
     18        -HTMLTextAreaElementIsUserEdited.
     19
    1202014-03-26  Andy Estes  <aestes@apple.com>
    221
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm

    r163628 r166326  
    7979}
    8080
    81 - (BOOL)HTMLInputELementIsUserEdited
     81- (BOOL)HTMLInputElementIsUserEdited
    8282{
    8383    return _nodeHandle->htmlInputElementLastChangeWasUserEdit();
    8484}
    8585
    86 - (BOOL)HTMLTextAreaELementIsUserEdited
     86- (BOOL)HTMLTextAreaElementIsUserEdited
    8787{
    8888    return _nodeHandle->htmlTextAreaElementLastChangeWasUserEdit();
Note: See TracChangeset for help on using the changeset viewer.