aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-12-29 01:38:19 -0800
committerGitHub <noreply@github.com>2016-12-29 01:38:19 -0800
commit885d152e92b20bdaeb0d0ad20affd269fc3b55d3 (patch)
treed79a81148534ca9b0a4a38551bee4779774f22b2 /components/script/dom/xmlhttprequest.rs
parentc7991d596f7453d09c2b2a98eecce72f182a4e24 (diff)
parentd49e34c1b1e6e3759633c9315a3e02dde091546c (diff)
downloadservo-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.rs1
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,