-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
microsoft/TypeScript-DOM-lib-generator
#134Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone

Description
Subresource Integrity (SRI) is currently a W3 Proposed Recommendation. It ships with current versions of Firefox and Chrome.
Setting the integrity
property should not hurt other browsers, it is a progressive enhancement.
TypeScript Version:
nightly (1.9.0-dev.20160603)
Code
// A self-contained demonstration of the problem follows...
let script = document.createElement('script');
script.integrity = "sha-256-some-hash"
Expected behavior:
integrity
property is defined
Actual behavior:
integrity
property is not defined
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this