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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user