Make mochitest support Http/2 test server
Categories
(Core :: Networking, task, P2)
Tracking
()
People
(Reporter: kershaw, Assigned: kershaw)
References
(Blocks 1 open bug)
Details
(Keywords: leave-open, Whiteboard: [necko-triaged])
Attachments
(6 files)
Assignee | ||
Comment 1•1 year ago
|
||
This is to make the server support usual origins in mochitest
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D181248
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D181249
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D181250
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D181251
Comment 7•1 year ago
|
||
Backed out for causing perma mochitest failure with dom/websocket/tests being skipped
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year ago
|
||
bugherder |
Assignee | ||
Comment 10•1 year ago
|
||
(In reply to Norisz Fay [:noriszfay] from comment #7)
Backed out for causing perma mochitest failure with dom/websocket/tests being skipped
This try run looks green, so I'll try to land this again.
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
bugherder |
Comment 13•1 year ago
|
||
Backed out for causing perma mochitest failure with dom/websocket/tests being skipped
The failure appears only when it is running the dom/websocket/tests/mochitest.ini test group. In the try run linked this specific test group hasn't ran, that is why it turned green. I hope this info helps to further investigate the issue at hand.
Comment 14•1 year ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/034a32367d93
Assignee | ||
Comment 15•1 year ago
|
||
Assignee | ||
Comment 16•1 year ago
|
||
I've tried to add one test in dom/websocket/tests
that can pass with HTTP/2 server.
Comment 17•1 year ago
|
||
Comment 18•1 year ago
|
||
bugherder |
I just found an insecure context test is affected: https://searchfox.org/mozilla-central/rev/77dd6aa3810610949a5ff925e24de2f8c11377fd/dom/notification/test/mochitest/mochitest.ini#15-18
# This test needs to be run on HTTP (not HTTPS).
[test_notification_insecure_context.html]
skip-if =
http3
http2
Does this mean HTTP2/3 configurations implicitly run all tests in HTTPS?
Assignee | ||
Comment 20•1 year ago
|
||
(In reply to Kagami [:saschanaz] (they/them) from comment #19)
I just found an insecure context test is affected: https://searchfox.org/mozilla-central/rev/77dd6aa3810610949a5ff925e24de2f8c11377fd/dom/notification/test/mochitest/mochitest.ini#15-18
# This test needs to be run on HTTP (not HTTPS). [test_notification_insecure_context.html] skip-if = http3 http2
Does this mean HTTP2/3 configurations implicitly run all tests in HTTPS?
Yes, please see the explanation here.
All HTTP requests will be upgraded to HTTPS when running with a HTTP/2/3 server.
I wonder scheme = http
makes more sense in that case. I can make that change. (Edit: it didn't work, --use-http2-server
should skip scheme=http
but it does not 🤔)
Description
•