WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
79351
[Shadow DOM] Make Node::showTreeForThis dump multiple shadow roots.
https://bugs.webkit.org/show_bug.cgi?id=79351
Summary
[Shadow DOM] Make Node::showTreeForThis dump multiple shadow roots.
Hayato Ito
Reported
2012-02-23 02:10:58 PST
Make Node::showTreeForThis (and showTreeForThisAcrossFrame) dump multiple shadow roots. The current implementation dumps only the first shadow root. Which is not useful for debugging an element which has multiple shadow roots.
Attachments
dump multi
(5.05 KB, patch)
2012-02-23 02:13 PST
,
Hayato Ito
no flags
Details
Formatted Diff
Diff
dump multi
(5.79 KB, patch)
2012-02-23 03:04 PST
,
Hayato Ito
no flags
Details
Formatted Diff
Diff
Patch for landing
(5.83 KB, patch)
2012-02-23 19:50 PST
,
Hayato Ito
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Hayato Ito
Comment 1
2012-02-23 02:13:39 PST
Created
attachment 128439
[details]
dump multi
Hayato Ito
Comment 2
2012-02-23 02:18:15 PST
The sample output is here: * DIV 0x7fffe377c080 CLASS=shadowHost #shadow-root 0x7fffe4221400 #shadow-root 0x7fffe3793000 DIV 0x7fffe3794300 CLASS=class1 DIV 0x7fffe3794180 CLASS=class3 SHADOW 0x7fffe3794200 CLASS=shadow DIV 0x7fffe3794280 CLASS=class3 DIV 0x7fffe377c200 CLASS=class1 DIV 0x7fffe377c100 CLASS=class2 CONTENT 0x7fffe37a45a0 CLASS=content DIV 0x7fffe377c180 CLASS=class2 DIV 0x7fffe3812880 CLASS=lightChild1 DIV 0x7fffe377c000 CLASS=lightChild2 The younger shadowRoot is displayed as a child of olderShadowRoot, which fits my mental model. It also matchs the relation between shadowHost and shadowRoot. A child is always rendered earlier than the parent.
Hayato Ito
Comment 3
2012-02-23 03:04:01 PST
Created
attachment 128448
[details]
dump multi
Hayato Ito
Comment 4
2012-02-23 03:06:20 PST
I wrongly committed the parts of this patch with
http://trac.webkit.org/changeset/108605
. Which was unintentional. This patch includes the updated version.
Dimitri Glazkov (Google)
Comment 5
2012-02-23 09:12:34 PST
Comment on
attachment 128448
[details]
dump multi ok. Would love to have something more sophisticated in the future, like an ASCII-drawn tree stack, but this is totally fine.
WebKit Review Bot
Comment 6
2012-02-23 18:38:02 PST
Comment on
attachment 128448
[details]
dump multi Rejecting
attachment 128448
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 ERROR: /mnt/git/webkit-commit-queue/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output:
http://queues.webkit.org/results/11608585
Hayato Ito
Comment 7
2012-02-23 19:30:41 PST
Let me update the ChageLog, which misses a reviewer line. (In reply to
comment #6
)
> (From update of
attachment 128448
[details]
) > Rejecting
attachment 128448
[details]
from commit-queue. > > Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 > > ERROR: /mnt/git/webkit-commit-queue/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). > > Full output:
http://queues.webkit.org/results/11608585
Hayato Ito
Comment 8
2012-02-23 19:50:29 PST
Created
attachment 128634
[details]
Patch for landing
WebKit Review Bot
Comment 9
2012-02-24 03:59:45 PST
The commit-queue encountered the following flaky tests while processing
attachment 128634
[details]
: perf/object-keys.html
bug 63769
(author:
ojan@chromium.org
) The commit-queue is continuing to process your patch.
WebKit Review Bot
Comment 10
2012-02-24 04:01:53 PST
Comment on
attachment 128634
[details]
Patch for landing Clearing flags on attachment: 128634 Committed
r108770
: <
http://trac.webkit.org/changeset/108770
>
WebKit Review Bot
Comment 11
2012-02-24 04:01:58 PST
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