[Webkit-unassigned] [Bug 7162] New: Cant assign expando property to new window from parent window

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Feb 9 14:01:27 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7162

           Summary: Cant assign expando property to new window from parent
                    window
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: pshah at zimbra.com


Save the attached testcase files locally to repro this bug. But basically,
assigning an expando property on a newly created window cannot be "read" by the
new window once loaded:

var newWin = window.open('newwin2.html', "_blank");
newWin.command = "foobar";

Once "newWin" is loaded, try "alert(window.command)" in the new window. Safari
alerts "undefined" - IE6, FF1.5 alert "foobar".

Not sure if this is an intentional security policy or a bug?


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list