summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/eventsource/format-field-retry-empty.any.js
blob: e7d5e76a13470c5698292159a217b483d0f91a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// META: title=EventSource: empty retry field
      var test = async_test()
      test.step(function() {
        var source = new EventSource("resources/message.py?message=retry%0Adata%3Atest")
        source.onmessage = function(e) {
          test.step(function() {
            assert_equals("test", e.data)
            source.close()
          })
          test.done()
        }
      })