Prototype WPT push subscription tests
Categories
(Core :: DOM: Push Subscriptions, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
We should be able to use the existing python server infra in WPT to handle the subscription request, and let the test script communicate with that server to trigger push messages.
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Do you think we can allow mozilla push server connection in WPT? Having a dummy server allows WPT+/mozilla to be self-contained without external dependency, but then it may miss important interop issues caused by the server implementation. Currently I have to run the test with ./mach wpt-serve; ./mach run to make sure the test runs with the actual server, I'd be happy if we at least have some opt-in parameter so that I can run ./mach wpt with the actual server.
Comment 4•1 year ago
|
||
At the moment we're just setting MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 c.f. https://searchfox.org/mozilla-central/source/testing/mozbase/mozrunner/mozrunner/utils.py#141 so practically we'd need some way to make the actual server look like a local connection for the sake of the check in https://searchfox.org/mozilla-central/source/netwerk/base/nsSocketTransport2.cpp#1275-1277. If we could do that via a pref we could arrange for the pref to be set for specific tests.
| Comment hidden (off-topic) |
Updated•1 year ago
|
Comment 8•1 year ago
|
||
| bugherder | ||
Description
•