Bug 200594

Summary: Web Inspector: Better organize manager / observer API groups
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix hi: review+

Joseph Pecoraro
Reported 2019-08-09 15:42:52 PDT
Better organize manager / observer API groups This moves us a bit closer to our preferred grouping: class FooManager extends WI.Object { constructor() // Agent domains // Target initializeTarget // Static supportsFooBar // Public add remove // FooObserver callbacks // Private internal API }
Attachments
[PATCH] Proposed Fix (29.85 KB, patch)
2019-08-09 15:44 PDT, Joseph Pecoraro
hi: review+
Joseph Pecoraro
Comment 1 2019-08-09 15:44:38 PDT
Created attachment 375970 [details] [PATCH] Proposed Fix
Devin Rousso
Comment 2 2019-08-09 15:50:45 PDT
Comment on attachment 375970 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=375970&action=review r=me, 1000% YES > Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js:570 > - reset() > + globalObjectCleared() I've never been happier with a change in all my life 😍 > Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js:382 > + // ConsoleObserver What about `// ScriptProfilerObserver`?
Joseph Pecoraro
Comment 3 2019-08-12 11:42:19 PDT
> > Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js:382 > > + // ConsoleObserver > > What about `// ScriptProfilerObserver`? Done!
Joseph Pecoraro
Comment 4 2019-08-12 11:49:08 PDT
Radar WebKit Bug Importer
Comment 5 2019-08-12 11:50:19 PDT
Note You need to log in before you can comment on or make changes to this bug.