blob: a5ac28afdaa6d0fb4aaab7ee83d6f635b6435485 [file] [log] [blame]
/*
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @description Checks that there is no crash
*/
import "dart:html";
import "dart:math" as Math;
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
main() {
var canvas = document.createElement("canvas");
var ctx = canvas.getContext("2d");
ctx.getImageData(100.5, 2147483647.5, -2048.5, -2048.5);
}