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

Unified Diff: chrome/common/extensions/docs/templates/articles/match_patterns.html

Issue 428933003: Extension docs: Remove references to chrome-extension:// being a valid match (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/articles/match_patterns.html
diff --git a/chrome/common/extensions/docs/templates/articles/match_patterns.html b/chrome/common/extensions/docs/templates/articles/match_patterns.html
index ea93b80d3c834f748c4561c54ef731327c59af76..6dcb1c689d52ae7dc291e3a6093b94be32328064 100644
--- a/chrome/common/extensions/docs/templates/articles/match_patterns.html
+++ b/chrome/common/extensions/docs/templates/articles/match_patterns.html
@@ -9,8 +9,7 @@ and <a href="content_scripts">content script</a>
matching {{^is_apps}}are{{:}}is{{/is_apps}} based on a set of URLs defined by
<dfn>match patterns</dfn>. A match pattern is essentially a
URL that begins with a permitted scheme (<code>http</code>,
-<code>https</code>, <code>file</code>, <code>ftp</code>, or
-<code>chrome-extension</code>),
+<code>https</code>, <code>file</code>, or <code>ftp</code>,
and that can contain '<code>*</code>' characters.
The special pattern
<code>&lt;all_urls&gt;</code> matches any URL
@@ -48,7 +47,7 @@ Each match pattern has 3 parts:</p>
<pre>
<em>&lt;url-pattern&gt;</em> := <em>&lt;scheme&gt;</em>://<em>&lt;host&gt;</em><em>&lt;path&gt;</em>
-<em>&lt;scheme&gt;</em> := '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome-extension'
+<em>&lt;scheme&gt;</em> := '*' | 'http' | 'https' | 'file' | 'ftp'
<em>&lt;host&gt;</em> := '*' | '*.' <em>&lt;any char except '/' and '*'&gt;</em>+
<em>&lt;path&gt;</em> := '/' <em>&lt;any chars&gt;</em>
</pre>
@@ -58,8 +57,7 @@ The meaning of '<code>*</code>' depends on whether
it's in the <em>scheme</em>, <em>host</em>, or <em>path</em> part.
If the <em>scheme</em> is <code>*</code>,
then it matches either <code>http</code> or <code>https</code>,
-and <strong>not</strong> <code>file</code>, <code>ftp</code>,
-or <code>chrome-extension</code>.
+and <strong>not</strong> <code>file</code>, or <code>ftp</code>.
If the <em>host</em> is just <code>*</code>,
then it matches any host.
If the <em>host</em> is <code>*.<em>hostname</em></code>,
@@ -185,21 +183,6 @@ The following table shows some valid patterns.
<tr>
<td>
- <code>chrome-extension://*/* </code>
- </td>
-
- <td>
- Matches any URL pointing to an extension (the first <code>*</code>
- represents a filter for extension IDs, the second for paths).
- </td>
-
- <td>
- chrome-extension://askla...asdf/options.html
- </td>
-</tr>
-
-<tr>
- <td>
<code>&lt;all_urls&gt;</code>
</td>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698