[Webkit-unassigned] [Bug 13951] New: "unsafe" error when accessing contentDocument of svg object created with data attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 31 09:34:57 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13951

           Summary: "unsafe" error when accessing contentDocument of svg
                    object created with data attribute
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: teun at be.nl


On an <object> with data="data:image/svg+xml,<?xml..." i am not allowd to
access the objectElement.contentDocument.
The followin error is given:

Unsafe JavaScript attempt to access frame with URL
data:image/svg+xml,%3C?xml%20version=%221
...
94%3C/text%3E%3C/g%3E%3C/svg%3E from frame with URL
http://local.domain.tld/html/. Domains must match.

Since the object was created from the current document, one would expect to be
able to access it.


-- 
Configure bugmail: http://bugs.webkit.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