Changeset 155000 in webkit


Ignore:
Timestamp:
Sep 3, 2013, 2:47:45 PM (12 years ago)
Author:
ap@apple.com
Message:

[Mac] WebKitTestRunner still beeps sometimes
https://bugs.webkit.org/show_bug.cgi?id=120652

Reviewed by Tim Horton.

In bug 107251, we disabled beeping in WebProcess, but some of the beeps happen in
UI process (notably, AppKit beeps when handling a key equivalent returns NO).

  • WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformInitialize): Use the same SPI that we use in DRT and in WebProcess to disable beeping.
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r154976 r155000  
     12013-09-03  Alexey Proskuryakov  <ap@apple.com>
     2
     3        [Mac] WebKitTestRunner still beeps sometimes
     4        https://bugs.webkit.org/show_bug.cgi?id=120652
     5
     6        Reviewed by Tim Horton.
     7
     8        In bug 107251, we disabled beeping in WebProcess, but some of the beeps happen in
     9        UI process (notably, AppKit beeps when handling a key equivalent returns NO).
     10
     11        * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformInitialize):
     12        Use the same SPI that we use in DRT and in WebProcess to disable beeping.
     13
    1142013-09-03  Krzysztof Czech  <k.czech@samsung.com>
    215
  • trunk/Tools/WebKitTestRunner/mac/TestControllerMac.mm

    r154949 r155000  
    3333#import <mach-o/dyld.h>
    3434
     35@interface NSSound (Details)
     36+ (void)_setAlertType:(NSUInteger)alertType;
     37@end
     38
    3539namespace WTR {
    3640
     
    4347    poseAsClass("WebKitTestRunnerPasteboard", "NSPasteboard");
    4448    poseAsClass("WebKitTestRunnerEvent", "NSEvent");
     49
     50    [NSSound _setAlertType:0];
    4551}
    4652
Note: See TracChangeset for help on using the changeset viewer.