diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-09-16 15:43:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-16 15:43:54 -0500 |
commit | 8ccfffaa774a05fa12db09c872cc59c4bf070ab2 (patch) | |
tree | d8beec544be538b07c9dda60dcd2f799c593b074 /components/script/dom/xmlhttprequest.rs | |
parent | 1fee88e59ca3119ceb258317a174d56e9c9dc169 (diff) | |
parent | 924136ee0c1a59ea5a140f58ecae0fd456dd5102 (diff) | |
download | servo-8ccfffaa774a05fa12db09c872cc59c4bf070ab2.tar.gz servo-8ccfffaa774a05fa12db09c872cc59c4bf070ab2.zip |
Auto merge of #13294 - 6112:referrer-typo-fix, r=jdm
Fix most typoes for: "referer" -> "referrer"
Replace most uses of the word "referer" with "referrer", except for `hyper::header::Referer`. Also update the unit tests to compile & pass after those changes.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #13286
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they're only typo fixes.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/13294)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r-- | components/script/dom/xmlhttprequest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs index c23b97b48d7..d034b60aebd 100644 --- a/components/script/dom/xmlhttprequest.rs +++ b/components/script/dom/xmlhttprequest.rs @@ -593,7 +593,7 @@ impl XMLHttpRequestMethods for XMLHttpRequest { credentials_mode: credentials_mode, use_url_credentials: use_url_credentials, origin: self.global().r().get_url(), - referer_url: self.referrer_url.clone(), + referrer_url: self.referrer_url.clone(), referrer_policy: self.referrer_policy.clone(), pipeline_id: self.pipeline_id(), }; |