[Webkit-unassigned] [Bug 88748] Use node.constructor for checking whether a node is shadow root or not.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 15 01:03:43 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=88748
--- Comment #9 from Takashi Sakamoto <tasak at google.com> 2012-06-15 01:03:42 PST ---
(In reply to comment #7)
> (From update of attachment 147549 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=147549&action=review
>
> > LayoutTests/fast/dom/shadow/resources/shadow-dom.js:44
> > + return node && node.constructor == 'function ShadowRoot() { [native code] }';
>
> This should be node.constructor === window.WebKitShadowRoot.
> string representation of the native function is different between jsc and v8.
I see.
I updated the patch.
Best regards,
Takashi Sakamoto
--
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