Bug 8577

Summary: [TabBarView _web_superviewOfClass:stoppingAtClass:]
Product: WebKit Reporter: William Coldwell (Cryo) <cryo>
Component: WebKit Misc.Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: chezsmithy, mjs, paulbeard, webkit-bugs
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Fix for nightly users mjs: review+

Description William Coldwell (Cryo) 2006-04-24 19:56:04 PDT
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]
Comment 1 Alexey Proskuryakov 2006-04-24 22:08:11 PDT
Apparently caused by the patch in bug 8562.
Comment 2 Alexey Proskuryakov 2006-04-25 09:55:50 PDT
After one more update and a rebuild, I can no longer reproduce this - although no related files seem to have changed. Strange.
Comment 3 Rosyna 2006-04-26 20:25:18 PDT
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.
Comment 4 Rosyna 2006-04-26 20:26:18 PDT
For reference, it's being called from Safari's -[TabBarView updateMouseOverTabButton] function.
Comment 5 Alexey Proskuryakov 2006-04-28 13:30:49 PDT
*** Bug 8648 has been marked as a duplicate of this bug. ***
Comment 6 Timothy Hatcher 2006-04-29 13:08:29 PDT
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:]):
Comment 7 Timothy Hatcher 2006-04-29 13:15:37 PDT
Landed in r14125.
Comment 8 Shawn Smith 2006-04-30 14:19:41 PDT
*** Bug 8623 has been marked as a duplicate of this bug. ***
Comment 9 Alexey Proskuryakov 2006-05-03 07:25:22 PDT
*** Bug 8648 has been marked as a duplicate of this bug. ***