Auto merge of #13774 - KiChjang:event-source-constructor, r=jdm

Finish up the implementation of EventSource

Full implementation of EventSource, complete with closing and reopening streams.

Fixes #8925.

<!-- Reviewable:start -->

---

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13774)

<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-11-12 08:08:38 -06:00 committed by GitHub
commit 579ab2d99c
70 changed files with 582 additions and 470 deletions

View file

@ -7,8 +7,7 @@
*/
[Constructor(DOMString url, optional EventSourceInit eventSourceInitDict),
Exposed=(Window,Worker),
Pref="dom.eventsource.enabled"]
Exposed=(Window,Worker)]
interface EventSource : EventTarget {
readonly attribute DOMString url;
readonly attribute boolean withCredentials;