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

Unified Diff: chrome/ext/background.js

Issue 29394585: Issue 5027 - Use updated webRequest API for WebSocket blocking (Closed)
Patch Set: adds comments, change comment to fix lint error from added indentation Created March 28, 2017, 1:04 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 | « no previous file | lib/csp.js » ('j') | lib/csp.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/background.js
===================================================================
--- a/chrome/ext/background.js
+++ b/chrome/ext/background.js
@@ -535,17 +535,17 @@
requestType,
new Page({id: details.tabId}),
frame
);
if (results.indexOf(false) != -1)
return {cancel: true};
}
- }, {urls: ["http://*/*", "https://*/*"]}, ["blocking"]);
+ }, {urls: ["<all_urls>"]}, ["blocking"]);
/* Message passing */
chrome.runtime.onMessage.addListener((message, rawSender, sendResponse) =>
{
let sender = {};
« no previous file with comments | « no previous file | lib/csp.js » ('j') | lib/csp.js » ('J')

Powered by Google App Engine
This is Rietveld