Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: third_party/WebKit/LayoutTests/plugins/object-onerror-placeholder.html

Issue 2733083004: Emit error events if the loading of an object element failed (Closed)
Patch Set: Emit error events if the loading of an object element failed Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..d7c57f1fb5c916e8d08377319d31019de6f6715e
--- /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/13 15:48:42 Broken lines should be indented _four_ spaces. I r
George Joseph 2017/04/16 18:21:56 Done. Sorry this keeps happening.Somehow, I keep s
+function errorHandler() {
+ testobject.done();
Bernhard Bauer 2017/04/13 15:48:42 Scopes should be indented _two_ spaces. Same goes
George Joseph 2017/04/16 18:21:56 Done.
+};
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698