diff options
author | Sagar Muchhal <muchhalsagar88@gmail.com> | 2016-04-18 16:29:24 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-06-20 14:55:01 -0400 |
commit | 7e2b4d163ba3158faf9644112a7f93842312f4a0 (patch) | |
tree | db4d785095a70debb5b98fdf5d755789de268776 /components/script/dom/websocket.rs | |
parent | a5778fb5da8dbe6229cbd8da7a383b6e336a4ebd (diff) | |
download | servo-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.rs | 4 |
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)); } } } |