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..0ec437b083172fa81eff0cf103840794b7d3b915 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/plugins/object-onerror-placeholder.html |
| @@ -0,0 +1,14 @@ |
| +<html> |
| +<script src="../resources/testharness.js"></script> |
| +<script src="../resources/testharnessreport.js"></script> |
| +<body> |
| +<object type="image/testabcd" 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/03/27 09:20:27
Nit: Try keeping everything in 80 columns.
George Joseph
2017/03/28 10:08:31
Done.
|
| +function errorHandler() |
| +{ |
|
Bernhard Bauer
2017/03/27 09:20:27
Nit: Brace on previous line.
George Joseph
2017/03/28 10:08:31
Done.
|
| + testobject.done(); |
| +}; |
| +</script> |
| +</body> |
| +</html> |