Changeset 86742 in webkit


Ignore:
Timestamp:
May 18, 2011 2:10:49 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-18 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>

Reviewed by Csaba Osztrogonác.

[Qt] Implement layoutTestController.setValueForUser()
https://bugs.webkit.org/show_bug.cgi?id=60956

  • platform/qt/Skipped: Unskip fast/forms/onchange-setvalueforuser.html

2011-05-18 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>

Reviewed by Csaba Osztrogonác.

[Qt] Implement layoutTestController.setValueForUser()
https://bugs.webkit.org/show_bug.cgi?id=60956

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::setValueForUser):
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

2011-05-18 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>

Reviewed by Csaba Osztrogonác.

[Qt] Implement layoutTestController.setValueForUser()
https://bugs.webkit.org/show_bug.cgi?id=60956

  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setValueForUser):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r86741 r86742  
     12011-05-18  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
     2
     3        Reviewed by Csaba Osztrogonác.
     4
     5        [Qt] Implement layoutTestController.setValueForUser()
     6        https://bugs.webkit.org/show_bug.cgi?id=60956
     7
     8        * platform/qt/Skipped: Unskip fast/forms/onchange-setvalueforuser.html
     9
    1102011-05-16  Jeremy Noble  <jer.noble@apple.com>
    211
  • trunk/LayoutTests/platform/qt/Skipped

    r86706 r86742  
    619619http/tests/xmlhttprequest/default-content-type-dashboard.html
    620620http/tests/xmlhttprequest/svg-created-by-xhr-disallowed-in-dashboard.html
    621 
    622 # Missing layoutTestController.setValueForUser()
    623 fast/forms/onchange-setvalueforuser.html
    624621
    625622# Missing layoutTestController.testRepaint()
  • trunk/Source/WebKit/qt/ChangeLog

    r86706 r86742  
     12011-05-18  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
     2
     3        Reviewed by Csaba Osztrogonác.
     4
     5        [Qt] Implement layoutTestController.setValueForUser()
     6        https://bugs.webkit.org/show_bug.cgi?id=60956
     7
     8        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
     9        (DumpRenderTreeSupportQt::setValueForUser):
     10        * WebCoreSupport/DumpRenderTreeSupportQt.h:
     11
    1122011-05-16  Robert Hogan  <robert@webkit.org>
    213
  • trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp

    r86505 r86742  
    264264}
    265265
     266void DumpRenderTreeSupportQt::setValueForUser(const QWebElement& element, const QString& value)
     267{
     268    WebCore::Element* webElement = element.m_element;
     269    if (!webElement)
     270        return;
     271    HTMLInputElement* inputElement = webElement->toInputElement();
     272    if (!inputElement)
     273        return;
     274
     275    inputElement->setValueForUser(value);
     276}
     277
    266278// Pause a given CSS animation or transition on the target node at a specific time.
    267279// If the animation or transition is already paused, it will update its pause time.
  • trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h

    r86505 r86742  
    113113    static void setAutofilled(const QWebElement&, bool enabled);
    114114    static void setJavaScriptProfilingEnabled(QWebFrame*, bool enabled);
     115    static void setValueForUser(const QWebElement&, const QString& value);
    115116    static int javaScriptObjectsCount();
    116117    static void clearScriptWorlds();
  • trunk/Tools/ChangeLog

    r86706 r86742  
     12011-05-18  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
     2
     3        Reviewed by Csaba Osztrogonác.
     4
     5        [Qt] Implement layoutTestController.setValueForUser()
     6        https://bugs.webkit.org/show_bug.cgi?id=60956
     7
     8        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
     9        (LayoutTestController::setValueForUser):
     10        * DumpRenderTree/qt/LayoutTestControllerQt.h:
     11
    1122011-05-16  Robert Hogan  <robert@webkit.org>
    213
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp

    r86706 r86742  
    446446}
    447447
     448void LayoutTestController::setValueForUser(const QWebElement& element, const QString& value)
     449{
     450    DumpRenderTreeSupportQt::setValueForUser(element, value);
     451}
     452
    448453void LayoutTestController::setFixedContentsSize(int width, int height)
    449454{
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.h

    r86706 r86742  
    156156    void setJavaScriptProfilingEnabled(bool enable);
    157157    void setTimelineProfilingEnabled(bool enable);
     158    void setValueForUser(const QWebElement&, const QString& value);
    158159    void setFixedContentsSize(int width, int height);
    159160    void setPrivateBrowsingEnabled(bool enable);
Note: See TracChangeset for help on using the changeset viewer.