EventSource.constructor throws an exception when the url param is an empty string
https://bugs.webkit.org/show_bug.cgi?id=226635
Reviewed by Yusuke Suzuki.
Source/WebCore:
* page/EventSource.cpp:
(WebCore::EventSource::create):
LayoutTests:
* fast/eventsource/eventsource-constructor-expected.txt:
* fast/eventsource/eventsource-constructor.html:
Canonical link: https://commits.webkit.org/238723@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278763 268f45cc-cd09-0410-ab3c-d52691b4dbfc