You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-assignedThere is someone working on resolving the issueC-needs-testAn automated test is required.E-less-complexStraightforward. Recommended for a new contributor.
Yeah, so the former is an example of a test which tests the websocket's origin, the latter is an example of a .worker.js test which runs from a worker (but doesn't test the origin). This issue is asking for a test that does both -- runs a websocket in a worker scope and checks that the origin is correctly set.
C-assignedThere is someone working on resolving the issueC-needs-testAn automated test is required.E-less-complexStraightforward. Recommended for a new contributor.
Activity
g-k commentedon Feb 23, 2016
Not sure if a couple of the links are broken for anyone else, but these work for me:
https://github.com/Manishearth/servo/blob/master/tests/wpt/web-platform-tests/websockets/opening-handshake/003.html
https://github.com/Manishearth/servo/blob/master/tests/wpt/web-platform-tests/websockets/Send-data.worker.js
Manishearth commentedon Feb 23, 2016
Yeah, so the former is an example of a test which tests the websocket's origin, the latter is an example of a .worker.js test which runs from a worker (but doesn't test the origin). This issue is asking for a test that does both -- runs a websocket in a worker scope and checks that the origin is correctly set.
g-k commentedon Feb 24, 2016
Gotcha, I can pick this up if no one else is working on it.
test websocket origin set in worker
test websocket origin set in worker
test websocket origin set in worker
test websocket origin set in worker
Auto merge of #9737 - g-k:test-websocket-origin-in-worker, r=Ms2ger
test websocket origin set in worker
test websocket origin set in worker