title: Angular DomSanitizer - SecurityContext.NONE
body: <p>Official Angular <a href="https://angular.io/guide/security#sanitization-and-security-contexts" rel="nofollow noreferrer">Security Guide</a> speaks about 4 security contexts: <code>HTML, Url, Style and Resource Url</code>.<br>
  Each one is responsible for sanitizing corresponding type of resource.<br>
  In addition, there are 5 methods (per resource type) in <a href="https://angular.io/docs/ts/latest/api/platform-browser/index/DomSanitizer-class.html#!#sanitize-anchor" rel="nofollow noreferrer">DomSanitizer</a> service</p>
  
  <pre><code> - bypassSecurityTrustHtml 
   - bypassSecurityTrustScript
   - bypassSecurityTrustStyle 
   - bypassSecurityTrustUrl
   - bypassSecurityTrustResourceUrl
  </code></pre>
  
  <p>However, I didn't find any mention of <code>SecurityContext.NONE</code> in official documentation. And it's <a href="https://angular.io/docs/ts/latest/api/core/index/SecurityContext-enum.html" rel="nofollow noreferrer">does exist</a> in the code.  </p>
  
  <p>I would assume that it aggregates all the resource types, meaning the resource being sanitized can be HTML, which contains styling and scripts.  </p>
  
  <p>Is that the case? Any official source?</p>