Title: [135751] branches/safari-536.28-branch

Diff

Modified: branches/safari-536.28-branch/LayoutTests/ChangeLog (135750 => 135751)


--- branches/safari-536.28-branch/LayoutTests/ChangeLog	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/LayoutTests/ChangeLog	2012-11-26 20:02:10 UTC (rev 135751)
@@ -1,3 +1,19 @@
+2012-11-26  Lucas Forschler  <lforsch...@apple.com>
+
+        Merge r132713
+
+    2012-10-26  Anders Carlsson  <ander...@apple.com> 
+
+            Crash when making NPRuntime calls with a null NPP pointer 
+            https://bugs.webkit.org/show_bug.cgi?id=100569 
+
+            Reviewed by Darin Adler. 
+
+            Add new tests. 
+
+            * plugins/npruntime/npruntime-calls-with-null-npp-expected.txt: Added. 
+            * plugins/npruntime/npruntime-calls-with-null-npp.html: Added. 
+
 2012-11-18  Simon Fraser  <simon.fra...@apple.com>
 
         <rdar://problem/12725998> Simplify bounds computation for the RenderView's layer (102597)

Copied: branches/safari-536.28-branch/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp-expected.txt (from rev 132713, trunk/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp-expected.txt) (0 => 135751)


--- branches/safari-536.28-branch/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp-expected.txt	                        (rev 0)
+++ branches/safari-536.28-branch/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp-expected.txt	2012-11-26 20:02:10 UTC (rev 135751)
@@ -0,0 +1,4 @@
+
+Test that calling various NPRuntime related NPN_ functions doesn't crash.
+
+SUCCESS!

Copied: branches/safari-536.28-branch/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp.html (from rev 132713, trunk/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp.html) (0 => 135751)


--- branches/safari-536.28-branch/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp.html	                        (rev 0)
+++ branches/safari-536.28-branch/LayoutTests/plugins/npruntime/npruntime-calls-with-null-npp.html	2012-11-26 20:02:10 UTC (rev 135751)
@@ -0,0 +1,13 @@
+<script>
+function runTest() {
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
+    }
+}
+</script>
+<body _onLoad_="runTest()">
+<embed id="plugin" type="application/x-webkit-test-netscape" test="npruntime-calls-with-null-npp"></embed>
+<p id="description">Test that calling various NPRuntime related NPN_ functions doesn't crash.</p>
+<div id="result">FAILURE</div>
+</body>

Modified: branches/safari-536.28-branch/Source/WebKit2/ChangeLog (135750 => 135751)


--- branches/safari-536.28-branch/Source/WebKit2/ChangeLog	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Source/WebKit2/ChangeLog	2012-11-26 20:02:10 UTC (rev 135751)
@@ -1,3 +1,29 @@
+2012-11-26  Lucas Forschler  <lforsch...@apple.com>
+
+        Merge r132713
+
+    2012-10-26  Anders Carlsson  <ander...@apple.com>
+
+            Crash when making NPRuntime calls with a null NPP pointer
+            https://bugs.webkit.org/show_bug.cgi?id=100569
+            <rdar://problem/11726426>
+            <rdar://problem/12352836>
+
+            Reviewed by Darin Adler.
+
+            Finally bite the bullet and remove the assertion from NetscapePlugin::fromNPP. The WebKit1 equivalent of this
+            function used to return the plug-in currently being initialized in NPP_New, but we've never done that in WebKit2
+            and it has never been necessary. The crashes fixed here are not from calls underneath NPP_New so fixing it wouldn't
+            do us any good anyway.
+
+            Also, make the PluginDestructionProtector handle a null plug-in gracefully.
+
+            * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
+            (WebKit::PluginDestructionProtector::PluginDestructionProtector):
+            (PluginDestructionProtector):
+            * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+            (WebKit::NetscapePlugin::fromNPP):
+
 2012-11-16  Lucas Forschler  <lforsch...@apple.com>
 
         Merge r131280

Modified: branches/safari-536.28-branch/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp (135750 => 135751)


--- branches/safari-536.28-branch/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp	2012-11-26 20:02:10 UTC (rev 135751)
@@ -49,12 +49,13 @@
 class PluginDestructionProtector {
 public:
     explicit PluginDestructionProtector(NetscapePlugin* plugin)
-        : m_protector(static_cast<Plugin*>(plugin)->controller())
     {
+        if (plugin)
+            m_protector = adoptPtr(new PluginController::PluginDestructionProtector(static_cast<Plugin*>(plugin)->controller()));
     }
     
 private:
-    PluginController::PluginDestructionProtector m_protector;
+    OwnPtr<PluginController::PluginDestructionProtector> m_protector;
 };
 
 static bool startsWithBlankLine(const char* bytes, unsigned length)

Modified: branches/safari-536.28-branch/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp (135750 => 135751)


--- branches/safari-536.28-branch/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp	2012-11-26 20:02:10 UTC (rev 135751)
@@ -111,12 +111,10 @@
 
 PassRefPtr<NetscapePlugin> NetscapePlugin::fromNPP(NPP npp)
 {
-    if (npp)
-        return static_cast<NetscapePlugin*>(npp->ndata);
+    if (!npp)
+        return 0;
 
-    // FIXME: Return the current NetscapePlugin here.
-    ASSERT_NOT_REACHED();
-    return 0;
+    return static_cast<NetscapePlugin*>(npp->ndata);
 }
 
 void NetscapePlugin::invalidate(const NPRect* invalidRect)

Modified: branches/safari-536.28-branch/Tools/ChangeLog (135750 => 135751)


--- branches/safari-536.28-branch/Tools/ChangeLog	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/ChangeLog	2012-11-26 20:02:10 UTC (rev 135751)
@@ -1,3 +1,31 @@
+2012-11-26  Lucas Forschler  <lforsch...@apple.com>
+
+        Merge r132713
+
+    2012-10-26  Anders Carlsson  <ander...@apple.com>
+
+            Crash when making NPRuntime calls with a null NPP pointer
+            https://bugs.webkit.org/show_bug.cgi?id=100569
+
+            Reviewed by Darin Adler.
+
+            Add new NPRuntimeCallsWithNullNPP plug-in test.
+
+            * DumpRenderTree/DumpRenderTree.gypi:
+            * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
+            * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
+            (PluginTest::NPN_ReleaseVariantValue):
+            (PluginTest::netscapeFuncs):
+            * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
+            (PluginTest):
+            * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp: Added.
+            (NPRuntimeCallsWithNullNPP):
+            (NPRuntimeCallsWithNullNPP::NPRuntimeCallsWithNullNPP):
+            (NPRuntimeCallsWithNullNPP::NPP_New):
+            * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
+            * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
+            * GNUmakefile.am:
+
 2012-11-16  Lucas Forschler  <lforsch...@apple.com>
 
     Merge r131280

Modified: branches/safari-536.28-branch/Tools/DumpRenderTree/DumpRenderTree.gypi (135750 => 135751)


--- branches/safari-536.28-branch/Tools/DumpRenderTree/DumpRenderTree.gypi	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/DumpRenderTree/DumpRenderTree.gypi	2012-11-26 20:02:10 UTC (rev 135751)
@@ -67,6 +67,7 @@
             'TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp',
             'TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp',
             'TestNetscapePlugIn/Tests/NPPNewFails.cpp',
+            'TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp',
             'TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp',
             'TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp',
             'TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp',

Modified: branches/safari-536.28-branch/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj (135750 => 135751)


--- branches/safari-536.28-branch/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj	2012-11-26 20:02:10 UTC (rev 135751)
@@ -50,6 +50,7 @@
 		1AC77DCF120605B6005C19EF /* NPRuntimeRemoveProperty.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AC77DCE120605B6005C19EF /* NPRuntimeRemoveProperty.cpp */; };
 		1ACF898D132EF41C00E915D4 /* NPDeallocateCalledBeforeNPShutdown.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ACF898B132EF41C00E915D4 /* NPDeallocateCalledBeforeNPShutdown.cpp */; };
 		1AD4CB2212A6D1350027A7AF /* GetUserAgentWithNullNPPFromNPPNew.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD4CB2012A6D1350027A7AF /* GetUserAgentWithNullNPPFromNPPNew.cpp */; };
+		1AD8683F163B2FD000A28583 /* NPRuntimeCallsWithNullNPP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD8683D163B2FD000A28583 /* NPRuntimeCallsWithNullNPP.cpp */; };
 		1AD9D2FE12028409001A70D1 /* PluginScriptableNPObjectInvokeDefault.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD9D2FD12028409001A70D1 /* PluginScriptableNPObjectInvokeDefault.cpp */; };
 		1AFF66BC137DEFD200791696 /* GetURLNotifyWithURLThatFailsToLoad.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFF66BB137DEA8300791696 /* GetURLNotifyWithURLThatFailsToLoad.cpp */; };
 		1C5C9B2E15F103AA0035558E /* LogNPPSetWindow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 515C0CCF15EE785700F5A613 /* LogNPPSetWindow.cpp */; };
@@ -249,6 +250,7 @@
 		1AC77DCE120605B6005C19EF /* NPRuntimeRemoveProperty.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NPRuntimeRemoveProperty.cpp; sourceTree = "<group>"; };
 		1ACF898B132EF41C00E915D4 /* NPDeallocateCalledBeforeNPShutdown.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NPDeallocateCalledBeforeNPShutdown.cpp; sourceTree = "<group>"; };
 		1AD4CB2012A6D1350027A7AF /* GetUserAgentWithNullNPPFromNPPNew.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GetUserAgentWithNullNPPFromNPPNew.cpp; sourceTree = "<group>"; };
+		1AD8683D163B2FD000A28583 /* NPRuntimeCallsWithNullNPP.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NPRuntimeCallsWithNullNPP.cpp; sourceTree = "<group>"; };
 		1AD9D2FD12028409001A70D1 /* PluginScriptableNPObjectInvokeDefault.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PluginScriptableNPObjectInvokeDefault.cpp; sourceTree = "<group>"; };
 		1AFF66BB137DEA8300791696 /* GetURLNotifyWithURLThatFailsToLoad.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GetURLNotifyWithURLThatFailsToLoad.cpp; sourceTree = "<group>"; };
 		23BCB88F0EA57623003C6289 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
@@ -487,6 +489,7 @@
 				BC0E24DF0E2D9451001B6BC2 /* AccessibilityUIElement.cpp */,
 				BC0E24DE0E2D9451001B6BC2 /* AccessibilityUIElement.h */,
 				BC0E26140E2DA4C6001B6BC2 /* AccessibilityUIElementMac.mm */,
+				BC0E26140E2DA4C6001B6BC3 /* AccessibilityCommonMac.mm */,
 				BCA18B360C9B021900114369 /* AppleScriptController.h */,
 				BCA18B370C9B021900114369 /* AppleScriptController.m */,
 				BCA18B6B0C9B08DB00114369 /* EventSendingController.h */,
@@ -547,6 +550,7 @@
 				1ACF898B132EF41C00E915D4 /* NPDeallocateCalledBeforeNPShutdown.cpp */,
 				5113DE6615F6CBE5005EC8B3 /* NPPNewFails.cpp */,
 				C031182A134E4A2B00919757 /* NPPSetWindowCalledDuringDestruction.cpp */,
+				1AD8683D163B2FD000A28583 /* NPRuntimeCallsWithNullNPP.cpp */,
 				1A24BAA8120734EE00FBB059 /* NPRuntimeObjectFromDestroyedPlugin.cpp */,
 				1AC77DCE120605B6005C19EF /* NPRuntimeRemoveProperty.cpp */,
 				C0EC3C9B12787F0500939164 /* NullNPPGetValuePointer.cpp */,
@@ -907,6 +911,7 @@
 				51CACBD815D96FD000EB53A2 /* EvaluateJSWithinNPP_New.cpp in Sources */, 
 				5113DE6715F6CBE5005EC8B3 /* NPPNewFails.cpp in Sources */,
 				1C5C9B2E15F103AA0035558E /* LogNPPSetWindow.cpp in Sources */,
+				1AD8683F163B2FD000A28583 /* NPRuntimeCallsWithNullNPP.cpp in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};

Modified: branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp (135750 => 135751)


--- branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp	2012-11-26 20:02:10 UTC (rev 135751)
@@ -218,6 +218,11 @@
     return browser->removeproperty(m_npp, npObject, propertyName);
 }
 
+void PluginTest::NPN_ReleaseVariantValue(NPVariant* variant)
+{
+    browser->releasevariantvalue(variant);
+}
+
 #ifdef XP_MACOSX
 bool PluginTest::NPN_ConvertPoint(double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace)
 {
@@ -252,6 +257,11 @@
     va_end(args);
 }
 
+NPNetscapeFuncs* PluginTest::netscapeFuncs()
+{
+    return browser;
+}
+
 void PluginTest::waitUntilDone()
 {
     executeScript("layoutTestController.waitUntilDone()");

Modified: branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h (135750 => 135751)


--- branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.h	2012-11-26 20:02:10 UTC (rev 135751)
@@ -89,6 +89,7 @@
     NPObject* NPN_RetainObject(NPObject*);
     void NPN_ReleaseObject(NPObject*);
     bool NPN_RemoveProperty(NPObject*, NPIdentifier propertyName);
+    void NPN_ReleaseVariantValue(NPVariant*);
 
 #ifdef XP_MACOSX
     bool NPN_ConvertPoint(double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace);
@@ -124,6 +125,8 @@
 
     const std::string& identifier() const { return m_identifier; }
 
+    static NPNetscapeFuncs* netscapeFuncs();
+
     void waitUntilDone();
     void notifyDone();
 

Copied: branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp (from rev 132713, trunk/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp) (0 => 135751)


--- branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp	                        (rev 0)
+++ branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp	2012-11-26 20:02:10 UTC (rev 135751)
@@ -0,0 +1,66 @@
+/*
+ * Copyright (C) 2012 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "PluginTest.h"
+
+class NPRuntimeCallsWithNullNPP : public PluginTest {
+public:
+    NPRuntimeCallsWithNullNPP(NPP npp, const std::string& identifier)
+        : PluginTest(npp, identifier)
+    {
+    }
+
+private:
+    virtual NPError NPP_New(NPMIMEType pluginType, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData *saved)
+    {
+        NPObject* windowObject = 0;
+        if (NPN_GetValue(NPNVWindowNPObject, &windowObject) != NPERR_NO_ERROR || !windowObject)
+            return NPERR_GENERIC_ERROR;
+
+        NPIdentifier alertIdentifier = NPN_GetStringIdentifier("alert");
+        if (!PluginTest::netscapeFuncs()->hasmethod(0, windowObject, alertIdentifier)) {
+            NPN_ReleaseObject(windowObject);
+            return NPERR_GENERIC_ERROR;
+        }
+
+        NPIdentifier documentIdentifier = NPN_GetStringIdentifier("document");
+        NPVariant variant;
+        if (!PluginTest::netscapeFuncs()->getproperty(0, windowObject, documentIdentifier, &variant)) {
+            NPN_ReleaseObject(windowObject);
+            return NPERR_GENERIC_ERROR;
+        }
+        NPN_ReleaseVariantValue(&variant);
+
+        NPN_ReleaseObject(windowObject);
+
+        executeScript("document.getElementById('result').innerHTML = 'SUCCESS!'");
+        notifyDone();
+        return NPERR_NO_ERROR;
+    }
+};
+
+static PluginTest::Register<NPRuntimeCallsWithNullNPP> npRuntimeCallsWithNullNPP("npruntime-calls-with-null-npp");
+
+

Modified: branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj (135750 => 135751)


--- branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj	2012-11-26 20:02:10 UTC (rev 135751)
@@ -434,6 +434,10 @@
 				>
 			</File>
 			<File
+				RelativePath="..\Tests\NPRuntimeCallsWithNullNPP.cpp"
+				>
+			</File>            
+			<File
 				RelativePath="..\Tests\NPRuntimeObjectFromDestroyedPlugin.cpp"
 				>
 			</File>

Modified: branches/safari-536.28-branch/Tools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro (135750 => 135751)


--- branches/safari-536.28-branch/Tools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro	2012-11-26 20:02:10 UTC (rev 135751)
@@ -24,6 +24,7 @@
     Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
     Tests/NPPNewFails.cpp \
     Tests/NPPSetWindowCalledDuringDestruction.cpp \
+    Tests/NPRuntimeCallsWithNullNPP.cpp \
     Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
     Tests/NPRuntimeRemoveProperty.cpp \
     Tests/NullNPPGetValuePointer.cpp \

Modified: branches/safari-536.28-branch/Tools/GNUmakefile.am (135750 => 135751)


--- branches/safari-536.28-branch/Tools/GNUmakefile.am	2012-11-26 20:00:49 UTC (rev 135750)
+++ branches/safari-536.28-branch/Tools/GNUmakefile.am	2012-11-26 20:02:10 UTC (rev 135751)
@@ -215,6 +215,7 @@
 	Tools/DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
 	Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
 	Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp \
+    Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp \
 	Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
 	Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp \
 	Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp \
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to