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

Unified Diff: lib/requestBlocker.js

Issue 29349816: Fixes 4331, 4332 - WebSocket.length and instanceof WebSocket (Closed)
Patch Set: Assign WrappedWebSocket.prototype more simply Created Aug. 15, 2016, 8:35 p.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 | « include.preload.js ('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 0a00879af8dbd3e8af66b82bd11b2b8ae0db5a98..f455c3a6f777a7f16e7050311b956d49746dd969 100644
--- a/lib/requestBlocker.js
+++ b/lib/requestBlocker.js
@@ -155,7 +155,7 @@ FilterNotifier.on("filter.removed", onFilterChange);
FilterNotifier.on("filter.disabled", arg => onFilterChange(arg, true));
FilterNotifier.on("load", onFilterChange);
-port.on("websocket-request", function(msg, sender)
+port.on("request.websocket", function(msg, sender)
{
return ext.webRequest.onBeforeRequest._dispatch(
new URL(msg.url),
« no previous file with comments | « include.preload.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld