Index: third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html |
index ce97806a85ceb34c7ac5f16679acd900cd5650ce..6b9da9ce0a2b882949fa4bf88ec447b81f65bf38 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html |
@@ -21,6 +21,9 @@ |
{ |
// The optional deferred load steps (for preload none) for MediaStream resources should be skipped. |
mediaElement.addEventListener("suspend", t.unreached_func("'suspend' should not be fired.")); |
+ mediaElement.addEventListener("error", t.step_func(function() { |
+ assert_unreached("'error' should not be fired, code=" + mediaElement.error.code); |
+ })); |
mediaElement.addEventListener("loadeddata", t.step_func(function() |
{ |