Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/plugins/object-onerror-placeholder.html |
| diff --git a/third_party/WebKit/LayoutTests/plugins/object-onerror-placeholder.html b/third_party/WebKit/LayoutTests/plugins/object-onerror-placeholder.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2b13da6073c3e13bb844c3dbee9d4bb5c3d8fba9 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/plugins/object-onerror-placeholder.html |
| @@ -0,0 +1,15 @@ |
| +<html> |
| +<script src="../resources/testharness.js"></script> |
| +<script src="../resources/testharnessreport.js"></script> |
| +<body> |
| +<object type="image/test" data="hello" id="object1" onerror="errorHandler()"> |
| +</object> |
| +<script> |
| +var testobject = async_test("crbug.com/445557:error events aren't dispatched" + |
| + " for <object> elements"); |
|
Bernhard Bauer
2017/04/03 10:14:20
Nit: Subsequent lines are indented by four charact
George Joseph
2017/04/04 23:37:41
Done.
|
| +function errorHandler() { |
| + testobject.done(); |
| +}; |
| +</script> |
| +</body> |
| +</html> |