aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-02-19 12:49:35 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-02-19 12:49:35 +0530
commitee158cc65f117f8fa10c4b706ff4009c579c7775 (patch)
treef5850266b77be37caa759bf1e92b2c628c58aa6c /components/script/dom/xmlhttprequest.rs
parentddf5e9dba56fe593a657c9b7fa4827604906b698 (diff)
parent152cec69eb20f52217aa1905255e4d439a7119b6 (diff)
downloadservo-ee158cc65f117f8fa10c4b706ff4009c579c7775.tar.gz
servo-ee158cc65f117f8fa10c4b706ff4009c579c7775.zip
Auto merge of #9603 - Ms2ger:document-bc, r=jdm
Store a pointer to the browsing context in the Document. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9603) <!-- 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 eb565c8bf5c..140ad159792 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -1230,6 +1230,7 @@ impl XMLHttpRequest {
DOMString::from(format!("{}", mime))
});
Document::new(win,
+ None,
parsed_url,
is_html_document,
content_type,