Update ProgressEvent to stop using legacy [ConstructorTemplate=Event]
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2016 20:57:37 +0000 (20:57 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2016 20:57:37 +0000 (20:57 +0000)
commitc397c24ea14aee0b9a321b3a9d18c45429b706a8
treecd218ba11c4a94666e3cc7bbd402acef43c299a9
parent2c1d082baf874cd7bc3a1995f224623ddca4d7c5
Update ProgressEvent to stop using legacy [ConstructorTemplate=Event]
https://bugs.webkit.org/show_bug.cgi?id=163221

Reviewed by Darin Adler.

Update ProgressEvent to stop using legacy [ConstructorTemplate=Event]
and use a regular constructor as in the specification:
- https://xhr.spec.whatwg.org/#firing-events-using-the-progressevent-interface

* dom/ProgressEvent.cpp:
(WebCore::ProgressEvent::ProgressEvent):
* dom/ProgressEvent.h:
(WebCore::ProgressEvent::create):
* dom/ProgressEvent.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/ProgressEvent.cpp
Source/WebCore/dom/ProgressEvent.h
Source/WebCore/dom/ProgressEvent.idl