Like Chromium DRT (bug 56573), JSC DRT (bug 57415), WK2 WebKitTestRunner (bug 57661) and GTK DRT (bug 57551), Qt DRT should expose shadow DOM to layout tests via layoutTestController.shadowRoot.
Created attachment 89978 [details] Patch
Comment on attachment 89978 [details] Patch r=me, thanks for fixing this. :)
Comment on attachment 89978 [details] Patch Clearing flags on attachment: 89978 Committed r84139: <http://trac.webkit.org/changeset/84139>
All reviewed patches have been landed. Closing bug.