Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8215)

Unified Diff: chrome/common/extensions/docs/experimental.webRequest.html

Issue 7978032: Fix webRequest documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/experimental.webRequest.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/experimental.webRequest.html
diff --git a/chrome/common/extensions/docs/experimental.webRequest.html b/chrome/common/extensions/docs/experimental.webRequest.html
index 1f192a974bff514a14b5324c848ffa2ae14a4e80..6b0847e83f278b451798d083e3e2c2dedb4636be 100644
--- a/chrome/common/extensions/docs/experimental.webRequest.html
+++ b/chrome/common/extensions/docs/experimental.webRequest.html
@@ -593,7 +593,7 @@ requests that are not targeted to <code>www.evil.com</code> do not need to be
passed to the extension:</p>
<pre>chrome.experimental.webRequest.onBeforeRequest.addListener(
function(details) { return {cancel: true}; },
- {"*://www.evil.com/*"},
+ {urls: ["*://www.evil.com/*"]},
["blocking"]);
</pre>
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/experimental.webRequest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698