mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
@ -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