| Index: LayoutTests/plugins/update-widgets-crash.html
|
| diff --git a/LayoutTests/plugins/update-widgets-crash.html b/LayoutTests/plugins/update-widgets-crash.html
|
| index 4d1fd5439da18a13bd655f85ed3e772dd6d2102a..7d9e93ea8fd4ebd4ed96a0bbd8329dbf850c844c 100644
|
| --- a/LayoutTests/plugins/update-widgets-crash.html
|
| +++ b/LayoutTests/plugins/update-widgets-crash.html
|
| @@ -23,7 +23,8 @@
|
| return;
|
|
|
| var victim = document.getElementById('victim');
|
| - victim.parentNode.removeChild(victim);
|
| + if (victim)
|
| + victim.parentNode.removeChild(victim);
|
| document.body.offsetTop;
|
|
|
| if (window.testRunner)
|
|
|