Closed Bug 1713555 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29160 - Accept an empty url in EventSource constructor

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 29160 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/29160
Details from upstream follow.

b'Kenichi Ishibashi <bashi@chromium.org>' wrote:

Accept an empty url in EventSource constructor

The spec [1] does not have a step to check url before parsing it.

[1] https://html.spec.whatwg.org/multipage/server-sent-events.html#the-eventsource-interface

Bug: 1211284
Change-Id: I79b9c93048f45231b5f55c59da5f4b216bc33b39
Reviewed-on: https://chromium-review.googlesource.com/2928120
WPT-Export-Revision: 936248ffd2d732fbdfa0f812b1faeba3bb1ef3ac

Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

Ran 16 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 1 subtests

Status Summary

Firefox

OK : 4
PASS : 2
FAIL : 2

Chrome

OK : 4
FAIL : 4

Safari

OK : 3
FAIL : 3
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/eventsource/eventsource-constructor-empty-url.any.serviceworker.html
EventSource constructor with an empty url.: FAIL (Chrome: FAIL, Safari: FAIL)
/eventsource/eventsource-constructor-empty-url.any.worker.html
EventSource constructor with an empty url.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c38af9ca3171
[wpt PR 29160] - Accept an empty url in EventSource constructor, a=testonly
https://hg.mozilla.org/integration/autoland/rev/9e279020b5e8
[wpt PR 29160] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.