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 59081
Windows DRT needs an implementation of shadowRoot
https://bugs.webkit.org/show_bug.cgi?id=59081
Summary
Windows DRT needs an implementation of shadowRoot
Yuta Kitamura
Reported
2011-04-21 00:41:22 PDT
Since
r84472
(
bug 59058
), fast/dom/shadow/layout-tests-can-access-shadow.html is failing on Windows.
Attachments
Add attachment
proposed patch, testcase, etc.
Yuta Kitamura
Comment 1
2011-04-21 00:45:59 PDT
Committed
r84476
: <
http://trac.webkit.org/changeset/84476
>
Yuta Kitamura
Comment 2
2011-04-21 00:47:01 PDT
Ooh, it's not fixed yet :) Fixing the status.
Yuta Kitamura
Comment 3
2011-04-21 00:48:39 PDT
Test results (
http://build.webkit.org/results/Windows%20XP%20Debug%20(Tests)/r84472%20(27888)/fast/dom/shadow/layout-tests-can-access-shadow-diffs.txt
) --- /home/buildbot/slave/win-debug-tests/build/layout-test-results/fast/dom/shadow/layout-tests-can-access-shadow-expected.txt 2011-04-21 23:56:11.531250000 -0700 +++ /home/buildbot/slave/win-debug-tests/build/layout-test-results/fast/dom/shadow/layout-tests-can-access-shadow-actual.txt 2011-04-21 23:56:11.531250000 -0700 @@ -1,12 +1,12 @@ This tests that LayoutTestController can access shadow DOM. -PASS shadow.nodeName is "#shadow-root" -PASS layoutTestController.shadowRoot(shadow) is null -PASS layoutTestController.shadowRoot(p) is null -PASS shadow.nodeName is "#shadow-root" +FAIL shadow.nodeName should be #shadow-root. Threw exception TypeError: 'undefined' is not an object (evaluating 'shadow.nodeName') +FAIL layoutTestController.shadowRoot(shadow) should be null (of type object). Was undefined (of type undefined). +FAIL layoutTestController.shadowRoot(p) should be null (of type object). Was undefined (of type undefined). +FAIL shadow.nodeName should be #shadow-root. Threw exception TypeError: 'undefined' is not an object (evaluating 'shadow.nodeName') PASS shadow === layoutTestController.shadowRoot(p) is true -PASS layoutTestController.shadowRoot(keygen) is null +FAIL layoutTestController.shadowRoot(keygen) should be null (of type object). Was undefined (of type undefined). PASS successfullyParsed is true TEST COMPLETE
Roland Steiner
Comment 4
2011-04-21 11:52:06 PDT
Same goes for fast/dom/shadow/nodetype.html
Roland Steiner
Comment 5
2011-04-21 12:02:04 PDT
Committed
r84533
: <
http://trac.webkit.org/changeset/84533
>
Philippe Normand
Comment 6
2011-05-06 02:18:26 PDT
Skipped media/video-controls-visible-audio-only.html too as a consequence of ttp://trac.webkit.org/changeset/85934
Dominic Cooney
Comment 7
2011-06-13 19:31:32 PDT
It does not make sense to implement layoutTestController.shadowRoot/ensureShadowRoot/removeShadowRoot/shadowPseudoId, because those methods are moving to window.internals per
bug 61671
. So the win DRT implementation of shadowRoot and friends is blocked on that.
Dominic Cooney
Comment 8
2011-06-24 11:45:22 PDT
Fixed in
r89682
. Windows tests can use internals.shadowRoot, ensureShadowRoot, shadowPseudoId, etc. and the mentioned tests were unskipped in that revision.
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