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

Unified Diff: third_party/WebKit/LayoutTests/animations/custom-property-animation-crash.html

Issue 2309963002: Apply custom property animation (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
Index: third_party/WebKit/LayoutTests/animations/custom-property-animation-crash.html
diff --git a/third_party/WebKit/LayoutTests/animations/custom-property-animation-crash.html b/third_party/WebKit/LayoutTests/animations/custom-property-animation-crash.html
deleted file mode 100644
index 32ce8e458b8bd32c8ce30b765cb37afa4eda0e04..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/custom-property-animation-crash.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<div id="target"></div>
-<script>
-promise_test(() => {
- return new Promise(resolve => {
- target.animate([
- {'resize':'none'},
- {'resize':'none'},
- ], {
- duration: 1000,
- delay: 100,
- });
- target.animate([
- {'--custom-property-name':'custom-value'},
- {'--custom-property-name':'custom-value'},
- ], 1);
- // This specific combination of async behaviour is required to trigger the crash,
- // creating functions here prevents the crash. This is probably due to V8 GC
- // implementation details.
- setInterval(gc);
- setTimeout(resolve);
- });
-}, 'Do not crash in ASAN when using custom properties in element.animate()');
-</script>

Powered by Google App Engine
This is Rietveld 408576698