| Index: third_party/WebKit/LayoutTests/plugins/object-onload-placeholder.html
|
| diff --git a/third_party/WebKit/LayoutTests/plugins/object-onload-placeholder.html b/third_party/WebKit/LayoutTests/plugins/object-onload-placeholder.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a58b2208ae2275ffa2bb2c9b3651e8a09367e07b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/plugins/object-onload-placeholder.html
|
| @@ -0,0 +1,20 @@
|
| +<html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<body>
|
| +<object type="image/gif" data="resources/apple.gif" onload="loadHandler()"
|
| + onerror="errorHandler()"></object>
|
| +<script>
|
| +var testobject = async_test("crbug.com/445557:error events aren't dispatched" +
|
| + " for <object> elements");
|
| +function loadHandler() {
|
| + setTimeout(() => {
|
| + testobject.done();
|
| + }, 0);
|
| +}
|
| +function errorHandler() {
|
| + assert_unreached("Error event received");
|
| +};
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|