Implement Window.postMessage for same-origin windows.

This commit is contained in:
Josh Matthews 2016-05-12 14:04:08 -04:00 committed by Ms2ger
parent 1837fcbedd
commit f152bc3b06
83 changed files with 192 additions and 383 deletions

View file

@ -349,6 +349,10 @@ impl Document {
true
}
pub fn origin(&self) -> &Origin {
&self.origin
}
// https://dom.spec.whatwg.org/#concept-document-url
pub fn url(&self) -> &Url {
&self.url