[webkit-dev] Why do both DOMWindow and Document objects hold SecurityOrigin objects?
darin at apple.com
Tue Dec 7 11:53:02 PST 2010
Why does both a DOMWindow and a Document hold a securityOrigin? Is there a way we can get rid of one or the other? Are the two equivalent, or is there a difference? Is there a time when it’s correct to do frame->domWindow()->securityOrigin() and incorrect to do frame->document()->securityOrigin(), or vice versa?
More information about the webkit-dev