aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/websocket.rs
diff options
context:
space:
mode:
authorSagar Muchhal <muchhalsagar88@gmail.com>2016-04-18 16:29:24 -0400
committerJosh Matthews <josh@joshmatthews.net>2016-06-20 14:55:01 -0400
commit7e2b4d163ba3158faf9644112a7f93842312f4a0 (patch)
treedb4d785095a70debb5b98fdf5d755789de268776 /components/script/dom/websocket.rs
parenta5778fb5da8dbe6229cbd8da7a383b6e336a4ebd (diff)
downloadservo-7e2b4d163ba3158faf9644112a7f93842312f4a0.tar.gz
servo-7e2b4d163ba3158faf9644112a7f93842312f4a0.zip
Propagate privacy information of iframes to corresponding pipelines. Make iframes of differing privacy values be considered cross-origin.
Make the constellation hand out separate private and public channels for the pipeline content to communicate with the resource thread as necessary.
Diffstat (limited to 'components/script/dom/websocket.rs')
-rw-r--r--components/script/dom/websocket.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/websocket.rs b/components/script/dom/websocket.rs
index dec5c509ece..1409936c6c7 100644
--- a/components/script/dom/websocket.rs
+++ b/components/script/dom/websocket.rs
@@ -489,8 +489,8 @@ impl Runnable for ConnectionEstablishedTask {
for cookie in cookies.iter() {
if let Ok(cookie_value) = String::from_utf8(cookie.clone()) {
let _ = ws.global().r().core_resource_thread().send(SetCookiesForUrl(ws.url.clone(),
- cookie_value,
- HTTP));
+ cookie_value,
+ HTTP));
}
}
}