Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/OffScreenCanvas-constructor.html

Issue 1488763002: Start an empty interface OffScreenCanvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add width&height Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698