21 lines
465 B
HTML
21 lines
465 B
HTML
|
|
<!doctype html>
|
|
<html>
|
|
<body>
|
|
This test passes by not crashing !
|
|
<script>
|
|
if (window.testRunner) {
|
|
testRunner.dumpAsText();
|
|
}
|
|
window.onload = function () {
|
|
var canvas = document.createElement('canvas');
|
|
canvas.width = 0;
|
|
canvas.height = 0;
|
|
var context = canvas.getContext('2d');
|
|
if(context.imageSmoothingEnabled) {context.imageSmoothingEnabled = false;}
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|