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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/set-empty-font-crash.html

Issue 2701053003: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Created 3 years, 10 months 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
1 This test passes if it doesn't crash 1 <script src="../../resources/testharness.js"></script>
2 <script src="../../resources/testharnessreport.js"></script>
3
2 <canvas id="canvas"></canvas> 4 <canvas id="canvas"></canvas>
3 <script> 5 <script>
4 canvas.getContext('2d').font = ""; 6 test(function(t) {
5 7
6 if (window.testRunner) 8 canvas.getContext('2d').font = "";
7 testRunner.dumpAsText(); 9
10 }, 'Test that setting canvas font to empty string does not crash.');
8 </script> 11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698