Index: chrome/common/extensions/docs/static/match_patterns.html |
diff --git a/chrome/common/extensions/docs/static/match_patterns.html b/chrome/common/extensions/docs/static/match_patterns.html |
index 871fcfafa05035ffe455545e92f160ff696064e0..5f493a79e0ccec1834182d2383fdef8ba9fcbb11 100644 |
--- a/chrome/common/extensions/docs/static/match_patterns.html |
+++ b/chrome/common/extensions/docs/static/match_patterns.html |
@@ -15,7 +15,8 @@ which URLs your content script affects. |
<p> |
A match pattern is essentially a URL |
that begins with a permitted scheme (<code>http</code>, |
-<code>https</code>, <code>file</code>, or <code>ftp</code>), |
+<code>https</code>, <code>file</code>, <code>ftp</code>, or |
+<code>chrome-extension</code>), |
and that can contain '<code>*</code>' characters. |
The special pattern |
<code><all_urls></code> matches any URL |
@@ -51,7 +52,7 @@ Each match pattern has 3 parts:</p> |
<pre> |
<em><url-pattern></em> := <em><scheme></em>://<em><host></em><em><path></em> |
-<em><scheme></em> := '*' | 'http' | 'https' | 'file' | 'ftp' |
+<em><scheme></em> := '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome-extension' |
<em><host></em> := '*' | '*.' <em><any char except '/' and '*'></em>+ |
<em><path></em> := '/' <em><any chars></em> |
</pre> |
@@ -186,6 +187,21 @@ 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><all_urls></code> |
</td> |
@@ -239,3 +255,7 @@ Here are some examples of <em>invalid</em> pattern matches: |
</tr> |
</tbody> |
</table> |
+ |
+<p> |
+Some schemes are not supported in all contexts. |
+</p> |