[Webkit-unassigned] [Bug 105397] New: [Shadow DOM]: ShadowRoot object is not defined error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 19 00:00:30 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105397

           Summary: [Shadow DOM]: ShadowRoot object is not defined error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sgrekhov at unipro.ru


ShadowRoot object is not recognized by instanceof operator. Chrome 25.0.1364.0 canary. Test:

<html>
<head>
<script type="text/javascript">
function test() {
    if (document instanceof ShadowRoot) {
        alert('This is the End!');
    }  else {
        alert('Ok');
    }
}
</script>
</head>
<body onload="test()">
</body>
</html>

Observe the console: Uncaught ReferenceError: ShadowRoot is not defined

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list