Changeset 88513 in webkit
- Timestamp:
- Jun 9, 2011, 6:59:33 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r88511 r88513 1 2011-06-09 Csaba Osztrogonác <ossy@webkit.org> 2 3 Unreviewed rolling out r88471, because it broke plugin tests on Qt. 4 5 * platform/chromium-linux/plugins/mouse-events-expected.txt: 6 1 7 2011-06-09 Kent Tamura <tkent@chromium.org> 2 8 -
trunk/LayoutTests/platform/chromium-linux/plugins/mouse-events-expected.txt
r88482 r88513 1 CONSOLE MESSAGE: line 17: PLUGIN: adjustCursorEvent 2 CONSOLE MESSAGE: line 17: PLUGIN: adjustCursorEvent 1 3 CONSOLE MESSAGE: line 18: PLUGIN: getFocusEvent 2 4 CONSOLE MESSAGE: line 18: PLUGIN: mouseDown at (12, 12) 3 5 CONSOLE MESSAGE: line 19: PLUGIN: mouseUp at (12, 12) 6 CONSOLE MESSAGE: line 20: PLUGIN: adjustCursorEvent 4 7 CONSOLE MESSAGE: line 21: PLUGIN: mouseDown at (22, 22) 8 CONSOLE MESSAGE: line 23: PLUGIN: adjustCursorEvent 5 9 CONSOLE MESSAGE: line 23: PLUGIN: mouseUp at (32, 22) 10 CONSOLE MESSAGE: line 24: PLUGIN: adjustCursorEvent 6 11 7 12 Test for bug 11517: Flash clicks/interactivity not working properly. -
trunk/Tools/ChangeLog
r88498 r88513 1 2011-06-09 Csaba Osztrogonác <ossy@webkit.org> 2 3 Unreviewed rolling out r88471, because it broke plugin tests on Qt. 4 5 * DumpRenderTree/TestNetscapePlugIn/main.cpp: 6 (handleEventX11): 7 (NPP_GetValue): 8 * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: 9 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: Added. 10 (webkit_test_plugin_new_instance): 11 (webkit_test_plugin_destroy_instance): 12 (webkit_test_plugin_set_window): 13 (executeScript): 14 (webkit_test_plugin_new_stream): 15 (webkit_test_plugin_destroy_stream): 16 (webkit_test_plugin_stream_as_file): 17 (webkit_test_plugin_write_ready): 18 (webkit_test_plugin_write): 19 (webkit_test_plugin_print): 20 (keyEventToChar): 21 (webkit_test_plugin_handle_event): 22 (webkit_test_plugin_url_notify): 23 (webkit_test_plugin_get_value): 24 (webkit_test_plugin_set_value): 25 (NP_GetMIMEDescription): 26 (NP_Initialize): 27 (NP_Shutdown): 28 (NP_GetValue): 29 * GNUmakefile.am: 30 1 31 2011-06-09 Martin Robinson <mrobinson@igalia.com> 2 32 -
trunk/Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp
r88471 r88513 28 28 #include "PluginTest.h" 29 29 #include <cstdlib> 30 #include <cstring>31 30 #include <string> 32 31 33 32 #ifdef XP_UNIX 34 33 #include <X11/Xlib.h> 35 #include <X11/Xutil.h>36 34 #endif 37 35 … … 625 623 626 624 #ifdef XP_UNIX 627 628 static char keyEventToChar(XKeyEvent* event)629 {630 char c = ' ';631 XLookupString(event, &c, sizeof(c), 0, 0);632 return c;633 }634 635 625 static int16_t handleEventX11(NPP instance, PluginObject* obj, XEvent* event) 636 626 { 627 XButtonPressedEvent* buttonPressEvent = reinterpret_cast<XButtonPressedEvent*>(event); 628 XButtonReleasedEvent* buttonReleaseEvent = reinterpret_cast<XButtonReleasedEvent*>(event); 637 629 switch (event->type) { 638 630 case ButtonPress: 639 631 if (obj->eventLogging) 640 pluginLog(instance, "mouseDown at (%d, %d)", event->xbutton.x, event->xbutton.y);632 pluginLog(instance, "mouseDown at (%d, %d)", buttonPressEvent->x, buttonPressEvent->y); 641 633 if (obj->evaluateScriptOnMouseDownOrKeyDown && obj->mouseDownForEvaluateScript) 642 634 executeScript(obj, obj->evaluateScriptOnMouseDownOrKeyDown); … … 644 636 case ButtonRelease: 645 637 if (obj->eventLogging) 646 pluginLog(instance, "mouseUp at (%d, %d)", event->xbutton.x, event->xbutton.y);638 pluginLog(instance, "mouseUp at (%d, %d)", buttonReleaseEvent->x, buttonReleaseEvent->y); 647 639 break; 648 640 case KeyPress: 649 641 // FIXME: extract key code 650 642 if (obj->eventLogging) 651 pluginLog(instance, " keyDown '%c'", keyEventToChar(&event->xkey));643 pluginLog(instance, "NOTIMPLEMENTED: keyDown '%c'", ' '); 652 644 if (obj->evaluateScriptOnMouseDownOrKeyDown && !obj->mouseDownForEvaluateScript) 653 645 executeScript(obj, obj->evaluateScriptOnMouseDownOrKeyDown); … … 656 648 // FIXME: extract key code 657 649 if (obj->eventLogging) 658 pluginLog(instance, " keyUp '%c'", keyEventToChar(&event->xkey));650 pluginLog(instance, "NOTIMPLEMENTED: keyUp '%c'", ' '); 659 651 break; 660 652 case GraphicsExpose: … … 676 668 case LeaveNotify: 677 669 case MotionNotify: 670 if (obj->eventLogging) 671 pluginLog(instance, "adjustCursorEvent"); 678 672 break; 679 673 default: … … 787 781 return NPERR_NO_ERROR; 788 782 } 789 if (variable == NPPVpluginNeedsXEmbed) {790 *((NPBool *)value) = TRUE;791 return NPERR_NO_ERROR;792 }793 783 #endif 794 784 -
trunk/Tools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
r88471 r88513 29 29 PluginTest.cpp \ 30 30 TestObject.cpp \ 31 main.cpp \32 31 Tests/DocumentOpenInDestroyStream.cpp \ 33 32 Tests/EvaluateJSAfterRemovingPluginElement.cpp \ … … 45 44 46 45 mac { 46 SOURCES += ../../TestNetscapePlugIn/main.cpp 47 47 OBJECTIVE_SOURCES += PluginObjectMac.mm 48 48 LIBS += -framework Carbon -framework Cocoa -framework QuartzCore 49 } else { 50 SOURCES += ../../unix/TestNetscapePlugin/TestNetscapePlugin.cpp 49 51 } 50 52 -
trunk/Tools/GNUmakefile.am
r88471 r88513 217 217 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h \ 218 218 Tools/DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h \ 219 Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp \ 219 220 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp \ 220 221 Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp \ … … 235 236 Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.h \ 236 237 Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.cpp \ 237 Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h \ 238 Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp 238 Tools/DumpRenderTree/TestNetscapePlugIn/TestObject.h 239 239 240 240 TestNetscapePlugin_libtestnetscapeplugin_la_LDFLAGS = \
Note:
See TracChangeset
for help on using the changeset viewer.