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

Unified Diff: webrequest.js

Issue 29333035: Issue 3453 - Adapt indistinguishable request types for changes in Chrome 49 (Closed)
Patch Set: Created Dec. 23, 2015, 12:10 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
« chrome/ext/background.js ('K') | « safari/ext/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrequest.js
===================================================================
--- a/webrequest.js
+++ b/webrequest.js
@@ -19,7 +19,7 @@
var RegExpFilter = require("filterClasses").RegExpFilter;
var platform = require("info").platform;
-ext.webRequest.indistinguishableTypes.forEach(function(types)
+ext.webRequest.getIndistinguishableTypes().forEach(function(types)
{
for (var i = 1; i < types.length; i++)
RegExpFilter.typeMap[types[i]] = RegExpFilter.typeMap[types[0]];
« chrome/ext/background.js ('K') | « safari/ext/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld