PeterJCLaw / srcomp-screens

Contains the web pages for the various screens that are displayed at the competition.
https://github.com/PeterJCLaw/srcomp/wiki/Component-Overview#srcomp-screens
MIT License
0 stars 1 forks source link

Not supported in Edge #4

Closed PeterJCLaw closed 5 years ago

PeterJCLaw commented 5 years ago

we get "EventSource is not defined".

PeterJCLaw commented 5 years ago

This seems likely to be a general issue with Edge -- it seems not to support Server Sent Events via the EventSource API (https://developer.mozilla.org/en-US/docs/Web/API/EventSource#Browser_compatibility).

It seems that it's been requested, but no progress has been made:

With the planned move for Edge to be another Chromium wrapper rather than a separate browser I suspect this issue will go away.

In any case, given the variety of other browsers which do support EventSource and the generally constrained environment in which these screens are expected to work (on platforms which are also entirely under our control), I don't think this is worth fixing.

I would be open to a PR which detects the lack of support in the target browser and emits a user-visible warning, however I don't plan to do that myself.