WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 82194
Web Inspector: Some user objects are missing in dominators view
https://bugs.webkit.org/show_bug.cgi?id=82194
Summary
Web Inspector: Some user objects are missing in dominators view
Alexei Filippov
Reported
2012-03-26 05:44:26 PDT
It is not possible to hide internal objects in dominators tree view because these objects may happen to contain other user objects that should not be hidden.
Attachments
Patch
(3.11 KB, patch)
2012-03-26 05:48 PDT
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Patch
(5.90 KB, patch)
2012-03-26 09:37 PDT
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexei Filippov
Comment 1
2012-03-26 05:48:13 PDT
Created
attachment 133785
[details]
Patch
Yury Semikhatsky
Comment 2
2012-03-26 06:30:54 PDT
Comment on
attachment 133785
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=133785&action=review
> Source/WebCore/inspector/front-end/HeapSnapshot.js:234 > + return this._snapshot[this._arrayName].subarray(this._start + start, this._start + end);
Why did this change? Is it a bug?
Alexei Filippov
Comment 3
2012-03-26 06:41:38 PDT
Comment on
attachment 133785
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=133785&action=review
>> Source/WebCore/inspector/front-end/HeapSnapshot.js:234 >> + return this._snapshot[this._arrayName].subarray(this._start + start, this._start + end); > > Why did this change? Is it a bug?
Yep, it is not related to the main change. I just noticed it and decided to fix. end should be relative to this._start when it is passed in, and it should be the end of the outer slice (i.e. this._start + this.length) when it is not.
Yury Semikhatsky
Comment 4
2012-03-26 06:43:55 PDT
(In reply to
comment #3
)
> (From update of
attachment 133785
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=133785&action=review
> > >> Source/WebCore/inspector/front-end/HeapSnapshot.js:234 > >> + return this._snapshot[this._arrayName].subarray(this._start + start, this._start + end); > > > > Why did this change? Is it a bug? > > Yep, it is not related to the main change. I just noticed it and decided to fix. > end should be relative to this._start when it is passed in, > and it should be the end of the outer slice (i.e. this._start + this.length) when it is not.
Does it break anything? If so, can we cover it with a test?
Alexei Filippov
Comment 5
2012-03-26 09:37:12 PDT
Created
attachment 133834
[details]
Patch
Alexei Filippov
Comment 6
2012-03-26 09:39:21 PDT
It seems to be always called with slice(0, undef) parameters. For this exact parameters set it works as expected. Added a test for other cases.
Yury Semikhatsky
Comment 7
2012-03-27 07:23:34 PDT
Comment on
attachment 133834
[details]
Patch Clearing flags on attachment: 133834 Committed
r112262
: <
http://trac.webkit.org/changeset/112262
>
Yury Semikhatsky
Comment 8
2012-03-27 07:23:41 PDT
All reviewed patches have been landed. Closing bug.
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