15 Commits

Author SHA1 Message Date
guybedford
8699dc68cf support global format exports as an array (#443) 2016-03-09 15:40:16 +02:00
guybedford
0a26819384 csp package loading support 2016-02-01 16:10:09 +02:00
guybedford
2863a7987c csp build global support 2015-12-10 17:14:05 +02:00
guybedford
f670e8b7cc include jquery cdn test 2015-09-18 11:43:44 +02:00
guybedford
55aa65936e implement System.version 2015-09-02 14:51:23 +02:00
guybedford
37c051c1d7 integrity, nonce test tweaks 2015-08-18 11:34:41 +02:00
Matthew Justin Bauer
18e6945646 Enable setting properties on script element.
The script loader will use load metadata to set script properties. This allows what is in the script tag to be set in meta.

There are two primary use cases: CSP nonce and subresource integrity.

Users of SystemJS wanting to take advantage of CSP can set a "nonce" value in their CSP config. Setting the meta attribute "nonce" for plugins and formats that cannot use CSP allows safely bypassing CSP. Note that this will only work in places where "document" is available. See the test-csp-inline.html file for a full example.

In addition, subresource checking mentions in #639 is also implemented. In the same way setting "integrity" in the meta should make this possible. See test-csp.html for a full example.

Post Rebase Notes:
* Corrected indention.
* Fix load.metadata issue.
* Fixed test-csp-inline.html stuff.
* White-list correct properties.
* Reword error messages.
2015-08-15 16:03:17 -05:00
guybedford
427bed7908 csp fixes 2015-06-14 17:09:10 +02:00
guybedford
2beb2cd41d fix up transpiler loading 2015-05-31 18:19:13 +02:00
guybedford
00c051c71c fix up all tests 2015-05-15 16:13:24 +02:00
guybedford
3ee7cc5d43 always use script CSP support for AMD and System.register loading, CSP and production loader convergence 2015-05-12 13:52:53 +02:00
guybedford
c2f8fb64ce update to esml 0.17 build 2015-05-12 13:52:52 +02:00
guybedford
00d0f73c27 0.16.0 2015-03-24 20:49:07 +02:00
guybedford
2e49b2e26c fix csp test 2014-11-18 16:42:02 +02:00
guybedford
5a791903a6 rename SystemProductionCSP to SystemCSP 2014-09-25 22:41:06 +02:00