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

Unified Diff: third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html

Issue 2961573002: Fix nullptr deref in InvalidateKeyframeEffect (Closed)
Patch Set: Response to review Created 3 years, 6 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 | third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html
diff --git a/third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html b/third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..e411077837af446c7a916fe0188c8c37813a854d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html
@@ -0,0 +1,16 @@
+<div id="target">This test passes if it does not crash.</div>
+<script>
+ let effect = new KeyframeEffect(null, null, {duration: 1000});
+ let animation = new Animation(effect);
+
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ requestAnimationFrame(function() {
+ testRunner.notifyDone();
+ });
+ }
+</script>
+<style>
+@keyframes frame { }
+</style>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698