Skip to content

Commit

Permalink
code review re. gorhill#1943
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Aug 29, 2016
1 parent 60cfab9 commit 0db3404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/traffic.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,8 @@ var processCSP = function(details, pageStore, context) {
blockInlineScript = µb.isBlockResult(inlineScriptResult);

context.requestType = 'websocket';
var websocketResult = µb.staticNetFilteringEngine.matchStringExactType(context, requestURL, 'websocket'),
µb.staticNetFilteringEngine.matchStringExactType(context, requestURL, 'websocket');
var websocketResult = µb.staticNetFilteringEngine.toResultString(loggerEnabled),
blockWebsocket = µb.isBlockResult(websocketResult);

var headersChanged = false;
Expand Down

0 comments on commit 0db3404

Please sign in to comment.