Starting Safari with DYLD_FRAMEWORK_PATH set to point to built WebKit in /Volumes/Ernie/WebKit/WebKitBuild/Debug. 2006-04-24 22:26:08.664 Safari[8819] *** -[TabBarView _web_superviewOfClass:stoppingAtClass:]: selector not recognized [self = 0xee19780] 2006-04-24 22:26:08.666 Safari[8819] NSExceptionHandler has recorded the following exception: NSInvalidArgumentException -- *** -[TabBarView _web_superviewOfClass:stoppingAtClass:]: selector not recognized [self = 0xee19780] Stack trace: 0x960e1f10 0x92991e5c 0x9296af4c 0x90a4b0b0 0x0000abe8 0x0000aa48 0x000103f8 0x93831a60 0x0000cb24 0x0ea648dc 0x93814f10 0x0000ca20 0x938118e4 0x0006a388 0x0ea6a104 0x0ea6aacc 0x0ea6af10 0x92976ad8 0x9080b4c4 0x908035a0 0x92960ee0 0x937235b8 0x937234a4 0x93722fec 0x93722b94 0x92977ae4 0x92977944 0x91535960 0x915357fc 0x91535654 0x932210e0 0x937212dc 0x93720dc8 0x00006e74 0x9371d30c 0x9380de68 0x0005cbec 0x0005ca94 2006-04-24 22:26:08.667 Safari[8819] Exception raised during posting of notification. Ignored. exception: *** -[TabBarView _web_superviewOfClass:stoppingAtClass:]: selector not recognized [self = 0xee19780]
Apparently caused by the patch in bug 8562.
After one more update and a rebuild, I can no longer reproduce this - although no related files seem to have changed. Strange.
Easy to reproduce. Put your mouse button over a tab's close button. Then just make a new tab with the keyboard. Exception, yo. One exception per tab.
For reference, it's being called from Safari's -[TabBarView updateMouseOverTabButton] function.
*** Bug 8648 has been marked as a duplicate of this bug. ***
Created attachment 8038 [details] Fix for nightly users Added back _web_superviewOfClass:stoppingAtClass:. This method was removed in r14032 (bug 8562), but Safari 2.0 still uses it. We should remove this method once Open Source users have a new version to use with TOT WebKit. * Misc/WebNSViewExtras.m: (-[NSView _web_superviewOfClass:stoppingAtClass:]):
Landed in r14125.
*** Bug 8623 has been marked as a duplicate of this bug. ***