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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/option-opacity-inherit-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 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <object>
5 <a>
6 <option id="objectAOption"></option>
7 </a>
8 </object>
9
10 <canvas>
11 <div>
12 <option id="canvasDivOption"></option>
13 </div>
14 </canvas>
15
16 <script>
17 var objectAOptionTest = async_test("Don't crash when animating opacity with inhe rit on an <option> in an <a> in an <object>.");
18 objectAOptionTest.step(function() {
19 objectAOption.animate([{"opacity":"inherit"},{"opacity":"inherit"}], 1000);
20 });
21
22 var canvasDivOptionTest = async_test("Don't crash when animating opacity with in herit on an <option> in a <div> in a <canvas>.");
23 canvasDivOptionTest.step(function() {
24 canvasDivOption.animate([{"opacity":"inherit"},{"opacity":"inherit"}], 1000);
25 });
26
27 requestAnimationFrame(_ => {
28 requestAnimationFrame(_ => {
29 objectAOptionTest.done();
30 canvasDivOptionTest.done();
31 });
32 });
33 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698