mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement Window.postMessage for same-origin windows.
This commit is contained in:
parent
1837fcbedd
commit
f152bc3b06
83 changed files with 192 additions and 383 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue