OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../../resources/js-test.js"></script> | |
3 <script> | |
4 description("Tests that the constructor of the OffScreenCanvas can be called on the main thread"); | |
5 | |
6 var width; | |
7 var height; | |
8 var aCanvas = new OffScreenCanvas(50, 50); | |
9 | |
10 width = aCanvas.width; | |
11 height = aCanvas.height; | |
12 shouldBe("width", "50"); | |
13 shouldBe("height", "50"); | |
14 | |
15 finishJSTest(); | |
Justin Novosad
2015/12/03 05:07:59
get rid of this line.
xidachen
2015/12/03 14:16:16
Done.
| |
16 </script> | |
OLD | NEW |