Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /eventsource/format-field-retry-empty.any.html - WPT Dashboard Interop Dashboard
- /eventsource/format-field-retry-empty.any.worker.html - WPT Dashboard Interop Dashboard
// 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()
}
})