Closed
Bug 1147990
Opened 9 years ago
Closed 9 years ago
Pass W3C websocket test suite
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: baku)
References
()
Details
Attachments
(4 files, 4 obsolete files)
1.19 KB,
patch
|
Details | Diff | Splinter Review | |
2.65 KB,
patch
|
Details | Diff | Splinter Review | |
1.05 KB,
patch
|
Details | Diff | Splinter Review | |
924 bytes,
patch
|
jgraham
:
review+
|
Details | Diff | Splinter Review |
http://www.w3c-test.org/websockets/ has the tests http://w3c.github.io/test-results/websockets/all.html has the results including which ones we fail. https://lists.w3.org/Archives/Public/public-webapps/2015JanMar/0893.html has some comments about bugs in tests. The three things I've seen that look like bugs on our side at first glance are: http://www.w3c-test.org/websockets/interfaces/WebSocket/url/001.html http://www.w3c-test.org/websockets/constructor/002.html http://www.w3c-test.org/websockets/Create-Secure-blocked-port.htm
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → amarchesini
Assignee | ||
Comment 1•9 years ago
|
||
new WebSocket("ws://something/#") should fail.
Attachment #8585574 -
Flags: review?(bugs)
Assignee | ||
Comment 2•9 years ago
|
||
The default URL when the socket is not connected should be parsed.
Attachment #8585575 -
Flags: review?(bugs)
Assignee | ||
Comment 3•9 years ago
|
||
Security error if the port is not allowed.
Attachment #8585576 -
Flags: review?(bugs)
Comment 4•9 years ago
|
||
Comment on attachment 8585574 [details] [diff] [review] 01_ref.patch Review of attachment 8585574 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/WebSocket.cpp @@ +1867,5 @@ > > + bool hasRef; > + rv = parsedURL->GetHasRef(&hasRef); > + NS_ENSURE_SUCCESS(rv, NS_ERROR_DOM_SYNTAX_ERR); > + NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && !hasRef, Don't need to check rv twice
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8585574 -
Attachment is obsolete: true
Attachment #8585574 -
Flags: review?(bugs)
Attachment #8585620 -
Flags: review?(bugs)
Updated•9 years ago
|
Attachment #8585575 -
Flags: review?(bugs) → review+
Updated•9 years ago
|
Attachment #8585576 -
Flags: review?(bugs) → review+
Updated•9 years ago
|
Attachment #8585620 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8585620 -
Attachment is obsolete: true
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8585575 -
Attachment is obsolete: true
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8585576 -
Attachment is obsolete: true
Assignee | ||
Comment 9•9 years ago
|
||
Patches ready to land, if this is green enough: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ab658a9d577b
Keywords: checkin-needed
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed → leave-open
Assignee | ||
Comment 10•9 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/03bc64517aac remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/d83e597679f5 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/5ddc5807af3e
Comment 11•9 years ago
|
||
sorry had to back this out for test failures like https://treeherder.mozilla.org/logviewer.html#?job_id=8275103&repo=mozilla-inbound
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 12•9 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/dfb54485fbd5 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/8f9658014080 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/4d52dbe2277d Sorry, I forgot to update the web-platform-tests results.
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 13•9 years ago
|
||
Here the report about the webplatform tests: /websockets/Close-reason-unpaired-surrogates.htm -> bigger problem about Unicode /websockets/Close-undefined.htm -> The test is invalid - close(undefined) is OK /websockets/Create-Secure-blocked-port.htm -> FIXED - patch 3 /websockets/Create-Secure-verify-url-set-non-default-port.htm -> the test has a JS error. /websockets/constructor/002.html -> FIXED - patch 1 /websockets/constructor/010.html -> The test is invalid - webSocket protocol error /websockets/constructor/018.html -> The test is invalid - no percentage replacement is required from the spec /websockets/cookies/001.html -> Work-in-progress /websockets/interfaces.html -> The test is invalid - no stringifier in the webidl definition /websockets/interfaces/CloseEvent/historical.html -> No historical Close Event support /websockets/interfaces/WebSocket/events/013.html -> This should be allowed by the spec. /websockets/interfaces/WebSocket/readyState/003.html -> the test is invalid /websockets/interfaces/WebSocket/url/001.html -> FIXED - patch 2 /websockets/opening-handshake/005.html -> The test is invalid - webSocket protocol error /websockets/cookies/005.html -> The test is invalid - webSocket protocol error /websockets/interfaces/WebSocket/close/close-connecting.html -> The test is invalid - webSocket not active
Assignee | ||
Comment 14•9 years ago
|
||
Attachment #8586090 -
Flags: review?(james)
Updated•9 years ago
|
Attachment #8586090 -
Flags: review?(james) → review+
Assignee | ||
Comment 15•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee7cc272d5db
Keywords: leave-open
Comment 16•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dfb54485fbd5 https://hg.mozilla.org/mozilla-central/rev/8f9658014080 https://hg.mozilla.org/mozilla-central/rev/4d52dbe2277d https://hg.mozilla.org/mozilla-central/rev/488aa4e61296 https://hg.mozilla.org/mozilla-central/rev/ee7cc272d5db
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•