Skip to content

Commit

Permalink
fixes 6111: WebSocket close event shouldn't be Cancelable
Browse files Browse the repository at this point in the history
  • Loading branch information
eleweek committed May 23, 2015
1 parent 7561f7b commit 4e440a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4e440a0

Please sign in to comment.