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

Unified Diff: lib/requestBlocker.js

Issue 29367316: Issue 4722 - Drop support for Chrome 41 - 48 (Closed)
Patch Set: Removed some legacy code Created Dec. 13, 2016, 1:51 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
« lib/csp.js ('K') | « lib/polyfills/fetch.js ('k') | metadata.chrome » ('j') | 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 0b3291a332dd1e949285dc8a532df0d09ea96302..46f3086cf0a71562a76a1dfb3f41ea7b12a31a07 100644
--- a/lib/requestBlocker.js
+++ b/lib/requestBlocker.js
@@ -29,12 +29,6 @@ let {stringifyURL, extractHostFromFrame, isThirdParty} = require("url");
let {port} = require("messaging");
let devtools = require("devtools");
-ext.webRequest.getIndistinguishableTypes().forEach(types =>
-{
- for (let i = 1; i < types.length; i++)
- RegExpFilter.typeMap[types[i]] = RegExpFilter.typeMap[types[0]];
-});
Wladimir Palant 2016/12/13 14:15:02 This code is still needed to deal with OBJECT and
kzar 2016/12/13 15:05:40 Done.
-
function onBeforeRequestAsync(page, url, type, docDomain,
thirdParty, sitekey,
specificOnly, filter)
« lib/csp.js ('K') | « lib/polyfills/fetch.js ('k') | metadata.chrome » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld