[webkit-dev] Why do both DOMWindow and Document objects hold SecurityOrigin objects?
Darin Adler
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?
-- Darin
More information about the webkit-dev
mailing list