mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -195,7 +195,8 @@ function testCanvas(ctx, width, height, expected_pixel, imageSetting, assert_com
|
|||
}
|
||||
|
||||
function makeDetachedArrayBuffer() {
|
||||
let buffer = new Uint8Array();
|
||||
const buffer = new ArrayBuffer(10);
|
||||
const view = new Uint8Array(buffer);
|
||||
new MessageChannel().port1.postMessage(buffer, [buffer]);
|
||||
return buffer;
|
||||
return view;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue