When I end editing pressing the escape key, the system sometimes plays NSBeep().
I noticed this with NSBrowser. Every time I press escape to end editing the system beeps. At first I thought it was somewhere in my app but I set a symbolic breakpoint and discovered it was not coming from my code.
I filed FB22127038.
Since then I discovered that NSBeep playing at inappropriate times is not exclusive to NSBrowser. It appears if there is a NSTableView in the window and you just press the escape key (even if you aren't editing anything) AppKit beeps. It can be traced to:
#0 0x0000000199e3184c in NSBeep ()
#1 0x000000019aa03fac in -[NSWindow doCommandBySelector:] ()
#2 0x000000019ac1d01c in -[NSTableView(NSTableViewViewBased) cancelOperation:] ()