Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /eventsource/eventsource-url.any.html - WPT Dashboard Interop Dashboard
- /eventsource/eventsource-url.any.worker.html - WPT Dashboard Interop Dashboard
// META: title=EventSource: url
test(function() {
var url = "resources/message.py",
source = new EventSource(url)
assert_equals(source.url.substr(-(url.length)), url)
source.close()
})