[Webkit-unassigned] [Bug 6751] For unnamed frames, window.name returns a generated name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 27 13:14:15 PDT 2010


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





--- Comment #6 from Adam Barth <abarth at webkit.org>  2010-10-27 13:14:15 PST ---
(From update of attachment 71666)
View in context: https://bugs.webkit.org/attachment.cgi?id=71666&action=review

> WebCore/page/FrameTree.cpp:45
> +    m_name = name;
>      if (!parent()) {
> -        m_name = name;
> +        m_uniqueName = name;

Is m_uniqueName guaranteed to be unique?  If I explicitly set the name of two frames, can I cause a collision?

-- 
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