Index: third_party/WebKit/LayoutTests/csspaint/invalid-image-constructor-error.html |
diff --git a/third_party/WebKit/LayoutTests/csspaint/invalid-image-constructor-error.html b/third_party/WebKit/LayoutTests/csspaint/invalid-image-constructor-error.html |
deleted file mode 100644 |
index 55528a9d4f954454c317276006c0146ed8be416c..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/csspaint/invalid-image-constructor-error.html |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<script src="../resources/run-after-layout-and-paint.js"></script> |
-<script src="resources/test-runner-paint-worklet.js"></script> |
-<style> |
- #output { |
- width: 100px; |
- height: 100px; |
- background-image: paint(error); |
- background-color: green; |
- } |
-</style> |
-</head> |
-<body> |
-<div id="output"></div> |
- |
-<script id="code" type="text/worklet"> |
-registerPaint('error', class { |
- constructor() { throw Error('failed!'); } |
- paint(ctx, geom) { |
- ctx.fillStyle = 'red'; |
- ctx.fillRect(0, 0, geom.width, geom.height); |
- } |
-}); |
-</script> |
- |
-<script> |
- importPaintWorkletAndTerminateTestAfterAsyncPaint(document.getElementById('code').textContent); |
-</script> |
- |
-</body> |
-</html> |