Bug 96367

Summary: Web Inspector: NMI: remove the dependency of platform from WebCore in NMI code.
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, alph, apavlov, benjamin, bweinstein, cmarcelo, dglazkov, eric.carlson, eric, feature-media-reviews, gyuyoung.kim, haraken, japhet, joepeck, keishi, loislo, macpherson, menard, ossy, pfeldman, pmuellr, rakuco, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 96405, 96653    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
rebaselined
none
with fix for debug build
none
Patch yurys: review+

Ilya Tikhonovsky
Reported 2012-09-11 02:23:39 PDT
the idea is to move 'platform' specific instrumentation code from WebCoreMemoryInstrumentation into the new PlatformMemoryInstrumentation. the instrumentation for String* also has to be moved.
Attachments
Patch (38.92 KB, patch)
2012-09-11 02:26 PDT, Ilya Tikhonovsky
no flags
Patch (82.18 KB, patch)
2012-09-11 06:18 PDT, Ilya Tikhonovsky
no flags
rebaselined (82.10 KB, patch)
2012-09-11 06:26 PDT, Ilya Tikhonovsky
no flags
with fix for debug build (82.84 KB, patch)
2012-09-11 06:46 PDT, Ilya Tikhonovsky
no flags
Patch (29.15 KB, patch)
2012-09-13 06:05 PDT, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2012-09-11 02:26:22 PDT
Yury Semikhatsky
Comment 2 2012-09-11 02:37:45 PDT
Comment on attachment 163310 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=163310&action=review > Source/WebCore/platform/PlatformMemoryInstrumentation.h:42 > +template<> void MemoryInstrumentationTraits::addInstrumentedObject<KURL>(MemoryInstrumentation*, const KURL* const&, MemoryObjectType, MemoryOwningType); These should go into Source/WTF
Yury Semikhatsky
Comment 3 2012-09-11 02:38:47 PDT
(In reply to comment #2) > (From update of attachment 163310 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=163310&action=review > > > Source/WebCore/platform/PlatformMemoryInstrumentation.h:42 > > +template<> void MemoryInstrumentationTraits::addInstrumentedObject<KURL>(MemoryInstrumentation*, const KURL* const&, MemoryObjectType, MemoryOwningType); > > These should go into Source/WTF I mean that Strin* instrumentation should be in Source/WTF.
Build Bot
Comment 4 2012-09-11 02:57:36 PDT
Build Bot
Comment 5 2012-09-11 03:11:41 PDT
Ilya Tikhonovsky
Comment 6 2012-09-11 06:18:04 PDT
Ilya Tikhonovsky
Comment 7 2012-09-11 06:26:28 PDT
Created attachment 163347 [details] rebaselined
Ilya Tikhonovsky
Comment 8 2012-09-11 06:46:51 PDT
Created attachment 163353 [details] with fix for debug build
Build Bot
Comment 9 2012-09-11 07:25:15 PDT
Comment on attachment 163353 [details] with fix for debug build Attachment 163353 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/13825214
Build Bot
Comment 10 2012-09-11 07:28:55 PDT
Comment on attachment 163353 [details] with fix for debug build Attachment 163353 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13820377
Early Warning System Bot
Comment 11 2012-09-11 07:52:11 PDT
Comment on attachment 163353 [details] with fix for debug build Attachment 163353 [details] did not pass qt-wk2-ews (qt): Output: http://queues.webkit.org/results/13822321
Gyuyoung Kim
Comment 12 2012-09-11 07:59:05 PDT
Comment on attachment 163353 [details] with fix for debug build Attachment 163353 [details] did not pass efl-ews (efl): Output: http://queues.webkit.org/results/13820388
WebKit Review Bot
Comment 13 2012-09-11 08:12:49 PDT
Comment on attachment 163353 [details] with fix for debug build Attachment 163353 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13809008 New failing tests: inspector/profiler/memory-instrumentation-cached-images.html
Ilya Tikhonovsky
Comment 14 2012-09-13 06:05:03 PDT
Yury Semikhatsky
Comment 15 2012-09-13 06:20:19 PDT
Comment on attachment 163851 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=163851&action=review > Source/WebCore/ChangeLog:8 > + the target is to move 'platform' specific instrumentation code the -> The > Source/WebCore/ChangeLog:11 > + Drive by fix: New type DOM.Image was introduced. I don't see DOM.Image in the change, did you mean Page.Image?
Ilya Tikhonovsky
Comment 16 2012-09-13 06:22:24 PDT
Csaba Osztrogonác
Comment 17 2012-09-13 07:50:13 PDT
(In reply to comment #16) > Committed r128451: <http://trac.webkit.org/changeset/128451> It caused a regression. Could you check it, please? https://bugs.webkit.org/show_bug.cgi?id=96653
Ilya Tikhonovsky
Comment 18 2012-09-13 07:51:00 PDT
(In reply to comment #17) > (In reply to comment #16) > > Committed r128451: <http://trac.webkit.org/changeset/128451> > > It caused a regression. Could you check it, please? > https://bugs.webkit.org/show_bug.cgi?id=96653 Will do.
Csaba Osztrogonác
Comment 19 2012-09-13 07:52:35 PDT
(In reply to comment #13) > (From update of attachment 163353 [details]) > Attachment 163353 [details] did not pass chromium-ews (chromium-xvfb): > Output: http://queues.webkit.org/results/13809008 > > New failing tests: > inspector/profiler/memory-instrumentation-cached-images.html You could have avoided to check in this regression if you take notice of the EWS bot ...
Ilya Tikhonovsky
Comment 20 2012-09-14 00:27:09 PDT
(In reply to comment #19) > (In reply to comment #13) > > (From update of attachment 163353 [details] [details]) > > Attachment 163353 [details] [details] did not pass chromium-ews (chromium-xvfb): > > Output: http://queues.webkit.org/results/13809008 > > > > New failing tests: > > inspector/profiler/memory-instrumentation-cached-images.html > > You could have avoided to check in this regression > if you take notice of the EWS bot ... You're right, I'm sorry that did not check this before.
Note You need to log in before you can comment on or make changes to this bug.