Summary: | Web Inspector: AdvancedSearchController is not stopped then view is hidden. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | eustas.bug | ||||||||
Component: | Web Inspector (Deprecated) | Assignee: | eustas.bug | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | apavlov, bweinstein, eustas.bug, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
eustas.bug
2012-05-15 04:48:23 PDT
Created attachment 141918 [details]
Patch
Comment on attachment 141918 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141918&action=review > Source/WebCore/ChangeLog:6 > + AdvancedSearchController overrides "wasHidden" method instead of "willHide". Please move this line below "Reviewed by". > Source/WebCore/inspector/front-end/AdvancedSearchController.js:360 > + * @override We don't use @overrride annotation because it does not catch any error (try renaming back to wasHidden and observe no compiler errors). Comment on attachment 141918 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141918&action=review >> Source/WebCore/inspector/front-end/AdvancedSearchController.js:360 >> + * @override > > We don't use @overrride annotation because it does not catch any error (try renaming back to wasHidden and observe no compiler errors). I've tried it before writing this annotation. Compiler doesn't catch this error, that's no good. But we can hope it will do some day. BUT this annotation not only for compiler, but also for developers, because it make code a way core clear. Comment on attachment 141918 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141918&action=review >> Source/WebCore/ChangeLog:6 >> + AdvancedSearchController overrides "wasHidden" method instead of "willHide". > > Please move this line below "Reviewed by". OK Created attachment 141948 [details]
Patch
Comment on attachment 141918 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=141918&action=review >>> Source/WebCore/inspector/front-end/AdvancedSearchController.js:360 >>> + * @override >> >> We don't use @overrride annotation because it does not catch any error (try renaming back to wasHidden and observe no compiler errors). > > I've tried it before writing this annotation. > Compiler doesn't catch this error, that's no good. But we can hope it will do some day. > > BUT this annotation not only for compiler, but also for developers, because it make code a way core clear. I don't think we should add compiler annotations for developers. We don't even add comments usually. Please remove this for consistency. Created attachment 141966 [details]
Patch
Comment on attachment 141966 [details] Patch Clearing flags on attachment: 141966 Committed r117080: <http://trac.webkit.org/changeset/117080> All reviewed patches have been landed. Closing bug. |