Changeset 80243 in webkit
- Timestamp:
- Mar 3, 2011 8:42:49 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r80241 r80243 1 2011-03-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] DRT needs implementation of EventSender.scheduleAsynchronousClick 6 https://bugs.webkit.org/show_bug.cgi?id=53960 7 8 * platform/gtk/Skipped: Unskip 9 fast/events/popup-blocking-click-in-iframe.html that passes now. 10 1 11 2011-03-03 Martin Robinson <mrobinson@igalia.com> 2 12 -
trunk/LayoutTests/platform/gtk/Skipped
r80241 r80243 398 398 # Missing output when page icon changes. We need some API exposing this event. 399 399 fast/dom/icon-url-property.html 400 401 # EventSender.scheduleAsynchronousClick unimplemented402 # https://bugs.webkit.org/show_bug.cgi?id=53960403 fast/events/popup-blocking-click-in-iframe.html404 400 405 401 # Looks like a bug in the LayoutTestController global history support due to missing API. -
trunk/Tools/ChangeLog
r80240 r80243 1 2011-03-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] DRT needs implementation of EventSender.scheduleAsynchronousClick 6 https://bugs.webkit.org/show_bug.cgi?id=53960 7 8 * DumpRenderTree/gtk/EventSender.cpp: 9 (sendClick): 10 (scheduleAsynchronousClickCallback): 11 1 12 2011-03-03 Adam Roben <aroben@apple.com> 2 13 -
trunk/Tools/DumpRenderTree/gtk/EventSender.cpp
r79049 r80243 228 228 sendOrQueueEvent(releaseEvent); 229 229 return valueRef; 230 } 231 232 static gboolean sendClick(gpointer) 233 { 234 GdkEvent* pressEvent = gdk_event_new(GDK_BUTTON_PRESS); 235 236 if (!prepareMouseButtonEvent(pressEvent, 1, 0)) { 237 gdk_event_free(pressEvent); 238 return FALSE; 239 } 240 241 GdkEvent* releaseEvent = gdk_event_copy(pressEvent); 242 dispatchEvent(pressEvent); 243 releaseEvent->type = GDK_BUTTON_RELEASE; 244 dispatchEvent(releaseEvent); 245 246 return FALSE; 247 } 248 249 static JSValueRef scheduleAsynchronousClickCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 250 { 251 g_idle_add(sendClick, 0); 252 return JSValueMakeUndefined(context); 230 253 } 231 254 … … 779 802 { "zoomPageIn", zoomPageInCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 780 803 { "zoomPageOut", zoomPageOutCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 804 { "scheduleAsynchronousClick", scheduleAsynchronousClickCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 781 805 { 0, 0, 0 } 782 806 };
Note: See TracChangeset
for help on using the changeset viewer.