39 Commits

Author SHA1 Message Date
guybedford
8d64131a03 do not evaluate empty sources 2016-04-29 13:53:02 +02:00
guybedford
cbfb7f724d cjs ensure global eval without require in scope, over nulling global require 2016-04-10 16:54:44 +02:00
Vladimir Krivosheev
8c649e6f89 Fix "Source Maps are off"
We don't add new line in the beginning of the file to avoid one line offset issue. So we must not change existing source mappings.
2016-03-25 12:21:21 +01:00
guybedford
9ae1527ed9 sourcemap correction 2016-03-16 00:10:30 +08:00
guybedford
67fc5138d2 fix handling of hash bang in node 2016-03-15 23:52:49 +08:00
guybedford
dd64b11faf integrity execution fix 2016-02-10 15:18:53 +02:00
guybedford
8e2f254ee6 fix integrity cases 2016-02-05 17:02:21 +02:00
guybedford
7b1db53fbd eval polishing 2016-02-05 16:41:03 +02:00
guybedford
30b0f8bf85 back to the eval 2016-02-05 16:35:55 +02:00
guybedford
2a304449ff source maps sanitization adjustments 2016-02-04 15:00:41 +02:00
guybedford
91f60a6b87 transpiler deprecation path, SystemJS global 2016-01-08 23:08:11 +02:00
guybedford
b4fd674107 restrict #! handling to commonjs 2015-12-08 23:16:48 +02:00
guybedford
b809d54108 support NodeJS #! leading comment 2015-12-08 22:52:03 +02:00
guybedford
89af4386d9 web worker fix 2015-10-18 21:47:14 +02:00
guybedford
a75bc78490 default settings for globalEvaluationScope 2015-10-17 12:50:20 +02:00
guybedford
c9ef9e6a7b add globalEvaluationScope global option 2015-10-17 12:45:39 +02:00
guybedford
c2a3ea9efb Revert "always use vm-based execution in Node environments"
This reverts commit 808c5cddd9625f56648e4713cc05598e03ab53dd.
2015-10-17 12:29:57 +02:00
guybedford
c2a865e67a ensure error stacks in node 2015-10-15 16:28:35 +02:00
guybedford
808c5cddd9 always use vm-based execution in Node environments 2015-10-08 14:46:02 +02:00
guybedford
1ba9c6b157 System closure wrapping for isolation 2015-09-22 23:12:26 +02:00
guybedford
d4adfde0d6 IE fixes (#799) 2015-09-22 14:29:07 +02:00
guybedford
62f24e4ffb incremental corrections 2015-09-21 18:09:31 +02:00
guybedford
e40fc9d67d fix System global stacking 2015-09-21 17:56:34 +02:00
guybedford
d9faf55142 Revert "Revert "preExec/postExec fix for #800""
This reverts commit ecc8ea4ec88b83a84ec6840c696485a618116f31.
2015-09-21 17:49:29 +02:00
guybedford
ecc8ea4ec8 Revert "preExec/postExec fix for #800"
This reverts commit 7c859e9f3b1f6b7e93474bea9032000f7fb8b86d.
2015-09-21 17:07:04 +02:00
Dennis Rieks
7c859e9f3b preExec/postExec fix for #800 2015-09-21 16:49:10 +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
96a906a2e1 revert custom onerror bubbling 2015-08-13 15:04:41 +02:00
Russell Centanni
57428ee3f1 Allow for custom error handling. 2015-08-12 14:00:43 -04:00
guybedford
be2db270a3 chrome extension eval support 2015-06-22 21:26:48 +02:00
guybedford
f3ba0053bd better error reporting in Node 2015-06-15 12:53:51 +02:00
guybedford
828908aae1 automatic sourceMap handling for plugins 2015-06-10 17:08:31 +02:00
guybedford
7af28b5a99 source maps adjustments, ie testing 2015-06-01 16:19:48 +02:00
guybedford
cd9067b442 globals only for globals 2015-05-31 15:21:26 +02:00
guybedford
e5644a7d14 ensure System refers to the current loader 2015-05-21 17:27:20 +02:00
guybedford
c21801c47d Traceur clobbering protection fix 2015-05-21 13:34:51 +02:00
guybedford
382d7cce98 manually port c3546c, 7dc965, 5f077e, f80b43, de1f7e, 650b22 2015-05-12 13:54:05 +02:00
guybedford
75060d94f8 global dependency shim layer (#148 variation) 2015-05-12 13:52:53 +02:00