Bug 84681

Summary: Web Inspector: native nodes may have snapshot id less than base snapshot max JS object id
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: alph, apavlov, bweinstein, joepeck, keishi, loislo, ossy, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Yury Semikhatsky
Reported 2012-04-24 01:22:45 PDT
We should bare that in mind when calculating heap snapshot diff.
Attachments
Patch (10.09 KB, patch)
2012-04-24 01:25 PDT, Yury Semikhatsky
pfeldman: review+
Yury Semikhatsky
Comment 1 2012-04-24 01:25:35 PDT
Yury Semikhatsky
Comment 2 2012-04-24 01:26:17 PDT
(In reply to comment #1) > Created an attachment (id=138515) [details] > Patch The patch restores part of the logic removed in http://trac.webkit.org/changeset/114894 and adds a test for it.
Yury Semikhatsky
Comment 3 2012-04-24 04:23:42 PDT
Csaba Osztrogonác
Comment 4 2012-04-24 05:30:08 PDT
It fails on Qt: --- /home/webkitbuildbot/slaves/release32bit-qt5/buildslave/qt-linux-32-release-qt5/build/layout-test-results/inspector/profiler/heap-snapshot-comparison-dom-groups-change-expected.txt +++ /home/webkitbuildbot/slaves/release32bit-qt5/buildslave/qt-linux-32-release-qt5/build/layout-test-results/inspector/profiler/heap-snapshot-comparison-dom-groups-change-actual.txt @@ -1,12 +1,4 @@ Tests that Comparison view of heap snapshots will contain added nodes even if their ids are less than the maximumm JS object id in the base snapshot. -Profiler was enabled. -Detailed heap profiles were enabled. +Heap profiler is disabled -Running: testShowAll -Delta: +4 -1 -Deleted node id(s): 40 -Added node id(s): 15,25,35,5 - -Profiler was disabled. - Is heap profiler disabled intentionally? Should we skip this test or add a platform specific expected file?
Yury Semikhatsky
Comment 5 2012-04-24 23:54:24 PDT
(In reply to comment #4) > It fails on Qt: > Is heap profiler disabled intentionally? Should we skip this test or add a platform specific expected file? Sorry about that, I should have skipped the test for all non-v8 platforms as JSC doesn't support heap profiling.
Csaba Osztrogonác
Comment 6 2012-04-24 23:57:44 PDT
(In reply to comment #5) > (In reply to comment #4) > > It fails on Qt: > > Is heap profiler disabled intentionally? Should we skip this test or add a platform specific expected file? > > Sorry about that, I should have skipped the test for all non-v8 platforms as JSC doesn't support heap profiling. Not problem, we found this section in the skipped list, and added this test too - http://trac.webkit.org/changeset/115035
Yury Semikhatsky
Comment 7 2012-04-25 00:01:47 PDT
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > It fails on Qt: > > > Is heap profiler disabled intentionally? Should we skip this test or add a platform specific expected file? > > > > Sorry about that, I should have skipped the test for all non-v8 platforms as JSC doesn't support heap profiling. > > Not problem, we found this section in the skipped list, and added this test too - http://trac.webkit.org/changeset/115035 Thanks! I've just updated Skipped lists on other platforms as well.
Note You need to log in before you can comment on or make changes to this bug.