WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127605
Web Inspector: Move InspectorRuntimeAgent into JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=127605
Summary
Web Inspector: Move InspectorRuntimeAgent into JavaScriptCore
Joseph Pecoraro
Reported
2014-01-24 20:25:16 PST
All requirements (InjectedScripts and ScriptDebugServer) are met. We can now move down InspectorRuntimeAgent.
Attachments
[PATCH] Proposed Fix
(60.21 KB, patch)
2014-01-24 20:31 PST
,
Joseph Pecoraro
timothy
: review+
Details
Formatted Diff
Diff
[PATCH] For Bots 1
(60.05 KB, patch)
2014-01-24 20:39 PST
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-01-24 20:25:24 PST
<
rdar://problem/15908355
>
Joseph Pecoraro
Comment 2
2014-01-24 20:31:27 PST
Created
attachment 222189
[details]
[PATCH] Proposed Fix
Joseph Pecoraro
Comment 3
2014-01-24 20:39:56 PST
Created
attachment 222190
[details]
[PATCH] For Bots 1
WebKit Commit Bot
Comment 4
2014-01-24 20:42:54 PST
Attachment 222190
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/inspector/agents/JSGlobalObjectRuntimeAgent.cpp:31: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/inspector/WorkerRuntimeAgent.cpp:36: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 2 in 22 files If any of these errors are false positives, please file a bug against check-webkit-style.
Timothy Hatcher
Comment 5
2014-01-24 21:05:59 PST
Comment on
attachment 222189
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=222189&action=review
> Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.cpp:2 > + * Copyright (C) 2013 Apple Inc. All rights reserved.
2013, 2014?
> Source/JavaScriptCore/inspector/agents/JSGlobalObjectRuntimeAgent.cpp:2 > + * Copyright (C) 2013 Apple Inc. All rights reserved.
2014
> Source/JavaScriptCore/inspector/agents/JSGlobalObjectRuntimeAgent.h:2 > + * Copyright (C) 2013 Apple Inc. All rights reserved.
2014
> Source/WebCore/inspector/PageRuntimeAgent.cpp:56 > +PageRuntimeAgent::PageRuntimeAgent(InjectedScriptManager* injectedScriptManager, Page* page, InspectorPageAgent* pageAgent)
We might want to consider putting Inspector back in these subclass names. Page or Web?
> Source/WebCore/inspector/PageRuntimeAgent.h:70 > + virtual JSC::VM* globalVM() override;
final too?
> Source/WebCore/inspector/WorkerRuntimeAgent.h:59 > + virtual JSC::VM* globalVM() override;
Ditto.
Timothy Hatcher
Comment 6
2014-01-24 21:06:54 PST
Comment on
attachment 222189
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=222189&action=review
> Source/WebCore/inspector/PageRuntimeAgent.h:56 > +class PageRuntimeAgent final : public Inspector::InspectorRuntimeAgent {
Oh, does final on the class apply to all the override virtual functions?
Joseph Pecoraro
Comment 7
2014-01-24 22:09:24 PST
(In reply to
comment #6
)
> (From update of
attachment 222189
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=222189&action=review
> > > Source/WebCore/inspector/PageRuntimeAgent.h:56 > > +class PageRuntimeAgent final : public Inspector::InspectorRuntimeAgent { > > Oh, does final on the class apply to all the override virtual functions?
Yep!
Joseph Pecoraro
Comment 8
2014-01-24 22:12:31 PST
> > > Source/JavaScriptCore/inspector/agents/JSGlobalObjectRuntimeAgent.cpp:2 > > + * Copyright (C) 2013 Apple Inc. All rights reserved. > > 2014
Hehe, good catch on these. I had written this in 2013 though, I didn't copy/paste error it =). I'll update them.
> > Source/WebCore/inspector/PageRuntimeAgent.cpp:56 > > +PageRuntimeAgent::PageRuntimeAgent(InjectedScriptManager* injectedScriptManager, Page* page, InspectorPageAgent* pageAgent) > > We might want to consider putting Inspector back in these subclass names. Page or Web?
Names could get ridiculously long. Lets keep these JSGlobalObject/Web/Page/Worker. And if we need to change we can change all at once.
Joseph Pecoraro
Comment 9
2014-01-25 09:44:20 PST
Landed <
http://trac.webkit.org/changeset/162767
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug