[Webkit-unassigned] [Bug 8941] New: document.cookie undefined for documents of type text/javascript

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue May 16 10:32:03 PDT 2006


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

           Summary: document.cookie undefined for documents of type
                    text/javascript
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://www.google.com/calendar/ping
        OS/Version: Mac OS X 10.0
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ggaren at apple.com
                CC: andersca at mac.com


1. navigate to www.google.com/calendar/ping
2. in the url field, enter "javascript:alert(document.cookie)"

--> undefined in Safari; defined in FF

Maciej mentioned that the problem probably results from the fact that the
document has type text/javascript instead of type text/html. We should figure
out which document types need to support cookies (text/xml? text/xhtml?), and
support them.

Anders, Maciej thought that your TextDocument change would fix this, but that
doesn't seem to be the case.


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