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

Unified Diff: LayoutTests/plugins/update-widgets-crash.html

Issue 1120963002: Revert of plugins/update-widgets-crash.html victim element goes missing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/plugins/update-widgets-crash.html
diff --git a/LayoutTests/plugins/update-widgets-crash.html b/LayoutTests/plugins/update-widgets-crash.html
index 7d9e93ea8fd4ebd4ed96a0bbd8329dbf850c844c..4d1fd5439da18a13bd655f85ed3e772dd6d2102a 100644
--- a/LayoutTests/plugins/update-widgets-crash.html
+++ b/LayoutTests/plugins/update-widgets-crash.html
@@ -23,8 +23,7 @@
return;
var victim = document.getElementById('victim');
- if (victim)
- victim.parentNode.removeChild(victim);
+ victim.parentNode.removeChild(victim);
document.body.offsetTop;
if (window.testRunner)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698