String</a>&nbsp;actions)</pre>
<div class="block">Creates a new WebResourcePermission with the specified name and actions.

 <p>
 The name contains a URLPatternSpec that identifies the web resources to which the permissions applies. The syntax of
 a URLPatternSpec is as follows:

 <pre>

          URLPatternList ::= URLPattern | URLPatternList colon URLPattern

          URLPatternSpec ::= null | URLPattern | URLPattern colon URLPatternList

 </pre>

 <p>
 A null URLPatternSpec is translated to the default 