| Index: third_party/WebKit/LayoutTests/media/media-reparent.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/media-reparent.html b/third_party/WebKit/LayoutTests/media/media-reparent.html
|
| index 59a6c811b05c0350f2d59644173f4a3d7563b917..1b475db321849d6c3366c823755326a60d88e661 100644
|
| --- a/third_party/WebKit/LayoutTests/media/media-reparent.html
|
| +++ b/third_party/WebKit/LayoutTests/media/media-reparent.html
|
| @@ -8,10 +8,17 @@ setTimeout(function(){
|
| document.documentElement.appendChild(f);
|
| var w = f.contentWindow;
|
| var div = w.document.createElement('div');
|
| - div.innerHTML = '<audio src="1">';
|
| + div.innerHTML = '<audio src="1">'; // Attempt to load this URL should fail.
|
| var node = div;
|
| f.parentNode.removeChild(f);
|
| document.body.appendChild(node);
|
| - endTestLater();
|
| +
|
| + // TODO(wolenetz,philipj): Avoid large timeout here by using
|
| + // waitForEventAndEnd('error') once that error event is reliably
|
| + // deliverable to the new parent. See https://crbug.com/600849.
|
| + // Larger than 250ms endTestLater() timeout is used here to prevent
|
| + // flakily missing console error log. If flakes recur, we may need
|
| + // to increase it further.
|
| + setTimeout(endTest, 750);
|
| })
|
| </script>
|
|
|