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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-keyframes-cssom-injected.html

Issue 1697973002: Devtools: Fix crash when inspecting keyframes injected via CSSOM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-keyframes-cssom-injected-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/elements-test.js"></script>
5 <style>
6 </style>
7 <script>
8 function injectAnimation()
9 {
10 var styleSheet = document.styleSheets[0];
11 styleSheet.insertRule("@keyframes injected { 0% {opacity:0} 100% {opacity:1} }", 0);
12 }
13
14 function test()
15 {
16 InspectorTest.evaluateInPage("injectAnimation()");
17 InspectorTest.selectNodeAndWaitForStyles("element", InspectorTest.completeTe st.bind(InspectorTest));
18 }
19 </script>
20 </head>
21
22 <body onload="runTest()">
23 <div id="element" style="animation: injected 1s infinite"></div>
24 <p>
25 Tests that inspecting keyframes injected via CSSOM doesn't crash.
26 </p>
27
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-keyframes-cssom-injected-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698