Changeset 80553 in webkit
- Timestamp:
- Mar 8, 2011 1:54:26 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r80550 r80553 1 2011-03-08 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Add layoutTestController.setValueForUser() after r80412 6 https://bugs.webkit.org/show_bug.cgi?id=55862 7 8 * platform/gtk/Skipped: Unskip test 9 fast/forms/onchange-setvalueforuser.html that passes now. 10 1 11 2011-03-08 Noel Gordon <noel.gordon@gmail.com> 2 12 -
trunk/LayoutTests/platform/gtk/Skipped
r80546 r80553 1309 1309 fast/canvas/rgba-parsing.html 1310 1310 1311 # Missing layoutTestController.setValueForUser1312 # https://bugs.webkit.org/show_bug.cgi?id=558621313 fast/forms/onchange-setvalueforuser.html1314 1315 1311 # DataTransferItems is not yet implemented. 1316 1312 editing/pasteboard/data-transfer-items.html -
trunk/Source/WebKit/gtk/ChangeLog
r80475 r80553 1 2011-03-08 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Add layoutTestController.setValueForUser() after r80412 6 https://bugs.webkit.org/show_bug.cgi?id=55862 7 8 Add setValueForUser method to DumpRenderTreeSupportGTK. 9 10 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: 11 (DumpRenderTreeSupportGtk::setValueForUser): 12 * WebCoreSupport/DumpRenderTreeSupportGtk.h: 13 1 14 2011-03-07 Sam Weinig <sam@webkit.org> 2 15 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
r80077 r80553 35 35 #include "GCController.h" 36 36 #include "GraphicsContext.h" 37 #include "InputElement.h" 37 38 #include "JSDOMWindow.h" 38 39 #include "JSDocument.h" … … 670 671 core(webView)->settings()->setMinDOMTimerInterval(interval); 671 672 } 673 674 void DumpRenderTreeSupportGtk::setValueForUser(JSContextRef context, JSValueRef nodeObject, JSStringRef value) 675 { 676 JSC::ExecState* exec = toJS(context); 677 Element* element = toElement(toJS(exec, nodeObject)); 678 if (!element) 679 return; 680 InputElement* inputElement = toInputElement(element); 681 if (!inputElement) 682 return; 683 684 size_t bufferSize = JSStringGetMaximumUTF8CStringSize(value); 685 GOwnPtr<gchar> valueBuffer(static_cast<gchar*>(g_malloc(bufferSize))); 686 JSStringGetUTF8CString(value, valueBuffer.get(), bufferSize); 687 inputElement->setValueForUser(String::fromUTF8(valueBuffer.get())); 688 } -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
r79793 r80553 86 86 static AtkObject* getRootAccessibleElement(WebKitWebFrame*); 87 87 static void layoutFrame(WebKitWebFrame*); 88 static void setValueForUser(JSContextRef, JSValueRef, JSStringRef); 88 89 89 90 // WebKitWebView -
trunk/Tools/ChangeLog
r80549 r80553 1 2011-03-08 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] Add layoutTestController.setValueForUser() after r80412 6 https://bugs.webkit.org/show_bug.cgi?id=55862 7 8 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 9 (LayoutTestController::setValueForUser): Implement setValueForUser() 10 1 11 2011-03-08 Patrick Gansterer <paroga@webkit.org> 2 12 -
trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp
r80412 r80553 333 333 } 334 334 335 void LayoutTestController::setValueForUser(JSContextRef context, JSValueRef element, JSStringRef value)336 { 337 // FIXME: implement335 void LayoutTestController::setValueForUser(JSContextRef context, JSValueRef nodeObject, JSStringRef value) 336 { 337 DumpRenderTreeSupportGtk::setValueForUser(context, nodeObject, value); 338 338 } 339 339
Note: See TracChangeset
for help on using the changeset viewer.