Title: [89908] trunk
Revision
89908
Author
[email protected]
Date
2011-06-28 02:12:14 -0700 (Tue, 28 Jun 2011)

Log Message

2011-06-28  Balazs Kelemen  <[email protected]>

        Reviewed by Kenneth Rohde Christiansen.

        [X11][WK2] plugins/plugin-_javascript_-access fails
        https://bugs.webkit.org/show_bug.cgi?id=63464

        * platform/qt-wk2/Skipped:
2011-06-28  Balazs Kelemen  <[email protected]>

        Reviewed by Kenneth Rohde Christiansen.

        [X11][WK2] plugins/plugin-_javascript_-access fails
        https://bugs.webkit.org/show_bug.cgi?id=63464

        * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
        (WebKit::NetscapePluginModule::getPluginInfo):
        Determine the name of the plugin.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (89907 => 89908)


--- trunk/LayoutTests/ChangeLog	2011-06-28 08:58:29 UTC (rev 89907)
+++ trunk/LayoutTests/ChangeLog	2011-06-28 09:12:14 UTC (rev 89908)
@@ -1,3 +1,12 @@
+2011-06-28  Balazs Kelemen  <[email protected]>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        [X11][WK2] plugins/plugin-_javascript_-access fails
+        https://bugs.webkit.org/show_bug.cgi?id=63464
+
+        * platform/qt-wk2/Skipped:
+
 2011-06-28  Csaba Osztrogonác  <[email protected]>
 
         [Qt] http/tests/misc/link-rel-icon-beforeload.html is flakey

Modified: trunk/LayoutTests/platform/qt-wk2/Skipped (89907 => 89908)


--- trunk/LayoutTests/platform/qt-wk2/Skipped	2011-06-28 08:58:29 UTC (rev 89907)
+++ trunk/LayoutTests/platform/qt-wk2/Skipped	2011-06-28 09:12:14 UTC (rev 89908)
@@ -1495,7 +1495,6 @@
 plugins/mouse-events-fixedpos.html
 plugins/netscape-dom-access.html
 plugins/npp-set-window-called-during-destruction.html
-plugins/plugin-_javascript_-access.html
 plugins/reloadplugins-and-pages.html
 plugins/destroy-stream-twice.html
 plugins/object-embed-plugin-scripting.html

Modified: trunk/Source/WebKit2/ChangeLog (89907 => 89908)


--- trunk/Source/WebKit2/ChangeLog	2011-06-28 08:58:29 UTC (rev 89907)
+++ trunk/Source/WebKit2/ChangeLog	2011-06-28 09:12:14 UTC (rev 89908)
@@ -1,3 +1,14 @@
+2011-06-28  Balazs Kelemen  <[email protected]>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        [X11][WK2] plugins/plugin-_javascript_-access fails
+        https://bugs.webkit.org/show_bug.cgi?id=63464
+
+        * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
+        (WebKit::NetscapePluginModule::getPluginInfo):
+        Determine the name of the plugin.
+
 2011-06-27  Yuta Kitamura  <[email protected]>
 
         Reviewed by Alexey Proskuryakov.

Modified: trunk/Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp (89907 => 89908)


--- trunk/Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp	2011-06-28 08:58:29 UTC (rev 89907)
+++ trunk/Source/WebKit2/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp	2011-06-28 09:12:14 UTC (rev 89908)
@@ -148,9 +148,13 @@
         return false;
     }
 
-    char* buffer = 0;
-    NPError err = NPP_GetValue(0, NPPVpluginDescriptionString, &buffer);
-    if (err == NPERR_NO_ERROR)
+    char* buffer;
+    NPError error = NPP_GetValue(0, NPPVpluginNameString, &buffer);
+    if (error == NPERR_NO_ERROR)
+        plugin.info.name = buffer;
+
+    error = NPP_GetValue(0, NPPVpluginDescriptionString, &buffer);
+    if (error == NPERR_NO_ERROR)
         plugin.info.desc = buffer;
 
     const char* mimeDescription = NP_GetMIMEDescription();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to