17 lines
351 B
HTML
17 lines
351 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
try {
|
|
document.createElement('canvas').getContext('2d').strokeText();
|
|
} catch (err) {
|
|
// An exception may be thrown if arguments to strokeText are missing, ignore
|
|
// it.
|
|
}
|
|
</script>
|
|
SUCCESS: This test should not time out.
|
|
</body>
|
|
</html>
|