Changeset 55392 in webkit
- Timestamp:
- Mar 1, 2010 5:35:58 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r55390 r55392 1 2010-03-01 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 3 Reviewed by Eric Seidel. 4 5 [GTK] plugins/setProperty.html fails on 64bit Release 6 https://bugs.webkit.org/show_bug.cgi?id=35425 7 8 Unskip the tests that failed as a consequence of the memory 9 corruption. 10 11 * platform/gtk/Skipped: 12 1 13 2010-03-01 Chris Fleizach <cfleizach@apple.com> 2 14 -
trunk/LayoutTests/platform/gtk/Skipped
r55389 r55392 3589 3589 plugins/private-browsing-mode.html 3590 3590 3591 # https://bugs.webkit.org/show_bug.cgi?id=354253592 plugins/setProperty.html3593 plugins/return-error-from-new-stream-doesnt-invoke-destroy-stream.html3594 3595 3591 # https://bugs.webkit.org/show_bug.cgi?id=30561 3596 3592 plugins/private-browsing-mode.html -
trunk/WebKitTools/ChangeLog
r55391 r55392 1 2010-03-01 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 3 Reviewed by Eric Seidel. 4 5 [GTK] plugins/setProperty.html fails on 64bit Release 6 https://bugs.webkit.org/show_bug.cgi?id=35425 7 8 Check invoke's return code before releasing the variant, since 9 there's a chance it won't be properly initialized, leading to 10 memory corruption, in some cases. 11 12 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: 13 (testCallback): 14 (testEnumerate): 15 (testDocumentOpen): 16 (testWindowOpen): 17 (handleCallback): 18 1 19 2010-03-01 Dirk Pranke <dpranke@chromium.org> 2 20 -
trunk/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp
r54996 r55392 2 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2009 Holger Hans Peter Freyther 4 * Copyright (C) 2010 Collabora Ltd. 4 5 * 5 6 * Redistribution and use in source and binary forms, with or without … … 406 407 407 408 NPVariant browserResult; 408 browser->invoke(obj->npp, windowScriptObject, callbackIdentifier, 0, 0, &browserResult);409 browser->releasevariantvalue(&browserResult);409 if (browser->invoke(obj->npp, windowScriptObject, callbackIdentifier, 0, 0, &browserResult)) 410 browser->releasevariantvalue(&browserResult); 410 411 411 412 browser->releaseobject(windowScriptObject); … … 520 521 STRINGZ_TO_NPVARIANT(string, args[0]); 521 522 NPVariant browserResult; 522 browser->invoke(obj->npp, outArray, pushIdentifier, args, 1, &browserResult);523 browser->releasevariantvalue(&browserResult);523 if (browser->invoke(obj->npp, outArray, pushIdentifier, args, 1, &browserResult)) 524 browser->releasevariantvalue(&browserResult); 524 525 browser->memfree(string); 525 526 } … … 721 722 722 723 NPVariant result; 723 browser->invoke(npp, documentObject, openId, openArgs, 2, &result);724 browser->releaseobject(documentObject);724 if (browser->invoke(npp, documentObject, openId, openArgs, 2, &result)) 725 browser->releaseobject(documentObject); 725 726 726 727 if (result.type == NPVariantType_Object) { … … 748 749 749 750 NPVariant result; 750 b rowser->invoke(npp, windowObject, openId, openArgs, 2, &result);751 if ( result.type == NPVariantType_Object) {751 bool didSucceed = browser->invoke(npp, windowObject, openId, openArgs, 2, &result); 752 if (didSucceed && (result.type == NPVariantType_Object)) { 752 753 pluginLogWithWindowObjectVariableArgs(windowObject, npp, "WINDOW OPEN SUCCESS"); 753 754 notifyTestCompletion(npp, result.value.objectValue); … … 948 949 949 950 NPVariant browserResult; 950 browser->invoke(object->npp, windowScriptObject, callbackIdentifier, args, 2, &browserResult);951 browser->releasevariantvalue(&browserResult);951 if (browser->invoke(object->npp, windowScriptObject, callbackIdentifier, args, 2, &browserResult)) 952 browser->releasevariantvalue(&browserResult); 952 953 953 954 free(strHdr);
Note: See TracChangeset
for help on using the changeset viewer.