[wpt-sync] Sync PR 33882 - [BroadcastChannel] Fix issues with the data URL worker tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33882 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33882
Details from upstream follow.
Andrew Williams <awillia@google.com> wrote:
[BroadcastChannel] Fix issues with the data URL worker tests
Looks like there were a few issues with the data URL worker
BroadcastChannel tests that I added recently. Specifically:
Since I used AddEventListener on the SharedWorker port, I needed
to explicitly callstart()
on them or the test wouldn't be able
to pass.The way I was constructing the data URLs meant that comments added
into the worker code broke the test in at least Firefox. The
data URL contents now get properly percent-encoded.The SharedWorker connect handler code needed to be refactored so
that the port object could actually be postMessage'd to
successfully.Bug: 1058759
Change-Id: I88ef36aba10a7e53eac913057910b2ad22118e35
Reviewed-on: https://chromium-review.googlesource.com/3615056
WPT-Export-Revision: a8530be15189a8baadf42cfd4de59665eb1da23e
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
OK
: 1
PASS
: 4
Chrome
OK
: 1
PASS
: 2
FAIL
: 2
Safari
OK
: 1
PASS
: 2
FAIL
: 2
Description
•