Use anonymous origin for gr-app.js

This makes exception text to be accessible to JS outside of
cdn.googlesource.com domain.

See related https://crbug.com/690301

Bug: Issue 5509
Change-Id: Ib44037c8f5685e7fd25e6c8b057152e920503691
This commit is contained in:
Viktar Donich
2017-02-13 10:14:49 -08:00
parent 4e46d307c0
commit 56305cb485
2 changed files with 2 additions and 2 deletions

View File

@@ -165,5 +165,5 @@ limitations under the License.
<gr-rest-api-interface id="restAPI"></gr-rest-api-interface>
<gr-reporting id="reporting"></gr-reporting>
</template>
<script src="gr-app.js"></script>
<script src="gr-app.js" crossorigin="anonymous"></script>
</dom-module>

View File

@@ -29,7 +29,7 @@ SourceCodePro fonts are used in styles/fonts.css
<link rel="stylesheet" href="/styles/fonts.css">
<link rel="stylesheet" href="/styles/main.css">
<script src="/bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<link rel="preload" href="/elements/gr-app.js" as="script">
<link rel="preload" href="/elements/gr-app.js" as="script" crossorigin="anonymous">
<link rel="import" href="/elements/gr-app.html">
<body unresolved>