diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-29 01:38:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-29 01:38:19 -0800 |
commit | 885d152e92b20bdaeb0d0ad20affd269fc3b55d3 (patch) | |
tree | d79a81148534ca9b0a4a38551bee4779774f22b2 /components/script/dom/xmlhttprequest.rs | |
parent | c7991d596f7453d09c2b2a98eecce72f182a4e24 (diff) | |
parent | d49e34c1b1e6e3759633c9315a3e02dde091546c (diff) | |
download | servo-885d152e92b20bdaeb0d0ad20affd269fc3b55d3.tar.gz servo-885d152e92b20bdaeb0d0ad20affd269fc3b55d3.zip |
Auto merge of #14647 - servo:current-global, r=jdm
Support the 'current' global object.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14647)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r-- | components/script/dom/xmlhttprequest.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs index f676eac3b64..218efbbf1ab 100644 --- a/components/script/dom/xmlhttprequest.rs +++ b/components/script/dom/xmlhttprequest.rs @@ -1204,6 +1204,7 @@ impl XMLHttpRequest { Document::new(win, None, parsed_url, + doc.origin().alias(), is_html_document, content_type, None, |