mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #8218 - nikkisquared:master, r=eefriedman
I'm working on resolving https://github.com/servo/servo/issues/8213 as per the spec online and feedback in the servo channel. Note that currently I cannot build (and thus test) my code, so this is a bit of a rough first draft. I'd still like feedback on my progress, and I hope that there is another way for my code to be tested. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8218) <!-- Reviewable:end -->
This commit is contained in:
commit
021f441d24
7 changed files with 86 additions and 52 deletions
|
@ -1,9 +0,0 @@
|
|||
[Secure-Send-binary-blob.htm]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[W3C WebSocket API - Send binary data on a Secure WebSocket - Blob - Message should be received]
|
||||
expected: FAIL
|
||||
|
||||
[W3C WebSocket API - Send binary data on a Secure WebSocket - Blob - Connection should be closed]
|
||||
expected: NOTRUN
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[Send-binary-blob.htm]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[W3C WebSocket API - Send binary data on a WebSocket - Blob - Message should be received]
|
||||
expected: FAIL
|
||||
|
||||
[W3C WebSocket API - Send binary data on a WebSocket - Blob - Connection should be closed]
|
||||
expected: NOTRUN
|
||||
|
|
@ -22,7 +22,9 @@
|
|||
|
||||
wsocket.addEventListener('open', testOpen.step_func(function (evt) {
|
||||
wsocket.binaryType = "blob";
|
||||
data = new ArrayBuffer(datasize);
|
||||
for (var i = 0; i < datasize; i++)
|
||||
data += String.fromCharCode(0);
|
||||
data = new Blob([data]);
|
||||
isOpenCalled = true;
|
||||
wsocket.send(data);
|
||||
testOpen.done();
|
||||
|
|
|
@ -22,7 +22,9 @@
|
|||
|
||||
wsocket.addEventListener('open', testOpen.step_func(function (evt) {
|
||||
wsocket.binaryType = "blob";
|
||||
data = new ArrayBuffer(datasize);
|
||||
for (var i = 0; i < datasize; i++)
|
||||
data += String.fromCharCode(0);
|
||||
data = new Blob([data]);
|
||||
isOpenCalled = true;
|
||||
wsocket.send(data);
|
||||
testOpen.done();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue