Auto merge of #6170 - eleweek:fix-6111, r=Ms2ger

This fixes #6111 , @jdm said that I can work on this issue

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6170)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-05-24 10:27:41 -05:00
commit 16f19b628f

View file

@ -324,7 +324,7 @@ impl WebSocketTaskHandler {
let close_event = CloseEvent::new(global.r(),
"close".to_owned(),
EventBubbles::DoesNotBubble,
EventCancelable::Cancelable,
EventCancelable::NotCancelable,
ws.clean_close.get(),
ws.code.get(),
rsn_clone).root();