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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/mutate-detached-keyframe-crash.html

Issue 2966953002: Move animations crash tests to subdirectory (Closed)
Patch Set: Rename crash-tests/ to stability/ Created 3 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style id="sheet">
3 @keyframes test { to { } }
4 </style>
5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script>
7 <script>
8 test(() => {
9 var keyframeRule = document.styleSheets[0].cssRules[0].cssRules[0];
10 sheet.remove();
11 gc();
12 keyframeRule.style.left = '0px';
13 }, "Don't crash when mutating @keyframes rules that have been detached from the document.");
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698