Changeset 209516 in webkit
- Timestamp:
- Dec 7, 2016 7:26:10 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r209514 r209516 1 2016-12-07 Mark Lam <mark.lam@apple.com> 2 3 DumpRenderTree should stop using CheckedMalloc. 4 https://bugs.webkit.org/show_bug.cgi?id=165563 5 <rdar://problem/28945820> 6 7 Reviewed by Geoffrey Garen. 8 9 1. WebKitTestRunner does not have equivalent behavior to that which is implemented 10 in CheckedMalloc. 11 2. bmalloc does not honor the settings of CheckedMalloc. 12 13 The only time CheckedMalloc comes into play is when DRT uses gmalloc or system 14 malloc. As a result, DRT exhibits different behavior from the normal way we run 15 our tests. We should obsolete CheckedMalloc and make DRT behave consistently 16 with WKTR. 17 18 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 19 * DumpRenderTree/mac/CheckedMalloc.cpp: Removed. 20 * DumpRenderTree/mac/CheckedMalloc.h: Removed. 21 * DumpRenderTree/mac/DumpRenderTree.mm: 22 (prepareConsistentTestingEnvironment): 23 1 24 2016-12-07 Dean Jackson <dino@apple.com> 2 25 -
trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj
r208983 r209516 113 113 A8B91ADA0CF3B32F008F91FF /* DumpRenderTreePasteboard.m in Sources */ = {isa = PBXBuildFile; fileRef = A8B91AD70CF3B32F008F91FF /* DumpRenderTreePasteboard.m */; }; 114 114 A8B91ADC0CF3B32F008F91FF /* DumpRenderTreeWindow.mm in Sources */ = {isa = PBXBuildFile; fileRef = A8B91AD90CF3B32F008F91FF /* DumpRenderTreeWindow.mm */; }; 115 A8B91BFD0CF522B4008F91FF /* CheckedMalloc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8B91BF70CF522B4008F91FF /* CheckedMalloc.cpp */; };116 115 A8D79CEB0FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.m in Sources */ = {isa = PBXBuildFile; fileRef = A8D79CE90FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.m */; }; 117 116 A9BB7C5C1C505278002C525B /* AccessibilityTextMarkerIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9BB7C5B1C505278002C525B /* AccessibilityTextMarkerIOS.mm */; }; … … 351 350 A8B91ADD0CF3B372008F91FF /* DumpRenderTreeWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DumpRenderTreeWindow.h; path = mac/DumpRenderTreeWindow.h; sourceTree = "<group>"; }; 352 351 A8B91ADF0CF3B372008F91FF /* DumpRenderTreePasteboard.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DumpRenderTreePasteboard.h; path = mac/DumpRenderTreePasteboard.h; sourceTree = "<group>"; }; 353 A8B91BF70CF522B4008F91FF /* CheckedMalloc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CheckedMalloc.cpp; path = mac/CheckedMalloc.cpp; sourceTree = "<group>"; };354 A8B91BF90CF522B4008F91FF /* CheckedMalloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CheckedMalloc.h; path = mac/CheckedMalloc.h; sourceTree = "<group>"; };355 352 A8D79CE80FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DumpRenderTreeFileDraggingSource.h; sourceTree = "<group>"; }; 356 353 A8D79CE90FC28B2C004AC8FE /* DumpRenderTreeFileDraggingSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DumpRenderTreeFileDraggingSource.m; sourceTree = "<group>"; }; … … 491 488 BCA18C460C9B5B9400114369 /* DumpRenderTree.mm */, 492 489 A134E52F188FC27000901D06 /* DumpRenderTreeMain.mm */, 493 A8B91BF70CF522B4008F91FF /* CheckedMalloc.cpp */,494 A8B91BF90CF522B4008F91FF /* CheckedMalloc.h */,495 490 7CBBC3211DDFCF9A00786B9D /* TestOptions.mm */, 496 491 7CBBC3221DDFCF9A00786B9D /* TestOptions.h */, … … 1112 1107 BC0E26150E2DA4C6001B6BC2 /* AccessibilityUIElementMac.mm in Sources */, 1113 1108 BCA18B390C9B021900114369 /* AppleScriptController.m in Sources */, 1114 A8B91BFD0CF522B4008F91FF /* CheckedMalloc.cpp in Sources */,1115 1109 53CBB832134E42F3001CE6A4 /* CyclicRedundancyCheck.cpp in Sources */, 1116 1110 1A2FB84F178C80930059FD96 /* DefaultPolicyDelegate.m in Sources */, -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r209514 r209516 32 32 33 33 #import "AccessibilityController.h" 34 #import "CheckedMalloc.h"35 34 #import "DefaultPolicyDelegate.h" 36 35 #import "DumpRenderTreeDraggingInfo.h" … … 1248 1247 allocateGlobalControllers(); 1249 1248 1250 makeLargeMallocFailSilently();1251 1252 1249 #if PLATFORM(MAC) 1253 1250 NSActivityOptions options = (NSActivityUserInitiatedAllowingIdleSystemSleep | NSActivityLatencyCritical) & ~(NSActivitySuddenTerminationDisabled | NSActivityAutomaticTerminationDisabled);
Note: See TracChangeset
for help on using the changeset viewer.