Re: [whatwg/xhr] Abandon hope of removing sync XHR from the web platform? (#20)

What I mean is you can do:

```html
<script src="/applicationContext/getApplicationContext"></script>
<script type="text/javascript"  crossorigin="anonymous" src="/js/dist/applicationCore.js.gz"></script>
<script type="text/javascript"  crossorigin="anonymous" src="/v7/v7Core.min.js.gz"></script>
<script type="text/javascript"  crossorigin="anonymous" src="bundle.js.gz"></script>
```

This requires that getApplicationContext return valid Javascript that sets `context` itself, but if you control the server this just means prefixing the existing JSON with something like `window.context = `. The other Javascript files are guaranteed to be executed after it is loaded.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/20#issuecomment-319258507

Received on Tuesday, 1 August 2017 03:36:08 UTC