Changeset 99762 in webkit
- Timestamp:
- Nov 9, 2011 2:43:05 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r99761 r99762 1 2011-11-09 Benjamin Poulain <bpoulain@apple.com> 2 3 Implement dumpProgressFinishedCallback() for Mac layoutTestController 4 https://bugs.webkit.org/show_bug.cgi?id=66772 5 6 Reviewed by Simon Fraser. 7 8 Unskip the skipped test. 9 10 * platform/mac/Skipped: 11 1 12 2011-11-09 Alexei Svitkine <asvitkine@chromium.org> 2 13 -
trunk/LayoutTests/platform/mac/Skipped
r99517 r99762 454 454 fast/loader/document-destruction-within-unload.html 455 455 456 # https://bugs.webkit.org/show_bug.cgi?id=66772457 http/tests/loading/progress-finished-callback.html458 459 456 # https://bugs.webkit.org/show_bug.cgi?id=67716 460 457 media/media-controls-invalid-url.html -
trunk/Tools/ChangeLog
r99748 r99762 1 2011-11-09 Benjamin Poulain <bpoulain@apple.com> 2 3 Implement dumpProgressFinishedCallback() for Mac layoutTestController 4 https://bugs.webkit.org/show_bug.cgi?id=66772 5 6 Reviewed by Simon Fraser. 7 8 When dumpProgressFinishedCallback is enabled, DumpRenderTree should output 9 "postProgressFinishedNotification" on FrameLoaderClient::postProgressFinishedNotification(). 10 11 On Mac, the FrameLoaderClient post a notification. This patch add handling for this notification 12 in the FrameLoadDelegate and print the output in response to the notification. 13 14 * DumpRenderTree/mac/FrameLoadDelegate.mm: 15 (-[FrameLoadDelegate init]): 16 (-[FrameLoadDelegate dealloc]): 17 (-[FrameLoadDelegate webViewProgressFinishedNotification:]): 18 1 19 2011-11-09 Philippe Normand <pnormand@igalia.com> 2 20 -
trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm
r99096 r99762 34 34 #import "AppleScriptController.h" 35 35 #import "EventSendingController.h" 36 #import "Foundation/NSNotification.h" 36 37 #import "GCController.h" 37 38 #import "LayoutTestController.h" … … 107 108 gcController = new GCController; 108 109 accessibilityController = new AccessibilityController; 110 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(webViewProgressFinishedNotification:) name:WebViewProgressFinishedNotification object:nil]; 109 111 } 110 112 return self; … … 113 115 - (void)dealloc 114 116 { 117 [[NSNotificationCenter defaultCenter] removeObserver:self]; 115 118 delete gcController; 116 119 delete accessibilityController; … … 412 415 } 413 416 414 @end 417 - (void)webViewProgressFinishedNotification:(NSNotification *)notification 418 { 419 if (!done && gLayoutTestController->dumpProgressFinishedCallback()) 420 printf ("postProgressFinishedNotification\n"); 421 } 422 423 @end
Note: See TracChangeset
for help on using the changeset viewer.