Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/requestBlocker.js

Issue 29353434: Issue 4448 - Use websocket request type (Closed)
Patch Set: Update dependency Created Sept. 20, 2016, 10:56 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dependencies ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/requestBlocker.js
diff --git a/lib/requestBlocker.js b/lib/requestBlocker.js
index f455c3a6f777a7f16e7050311b956d49746dd969..0b3291a332dd1e949285dc8a532df0d09ea96302 100644
--- a/lib/requestBlocker.js
+++ b/lib/requestBlocker.js
@@ -159,7 +159,7 @@ port.on("request.websocket", function(msg, sender)
{
return ext.webRequest.onBeforeRequest._dispatch(
new URL(msg.url),
- "OTHER",
+ "WEBSOCKET",
sender.page,
sender.frame
).indexOf(false) != -1;
« no previous file with comments | « dependencies ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld