Handle type parameter in ProgressEvent constructor (#2379)
auto merge of #2380 : Manishearth/servo/progressevent-type, r=Ms2ger