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

Side by Side Diff: LayoutTests/fast/css/webkit-keyframes-crash.html

Issue 23682005: Make CSSRuleList.item() index argument mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/non-numeric-values-numeric-parameters-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
1 <html> 1 <html>
2 <body> 2 <body>
3 <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=62384">6238 4</a>: WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash</p> 3 <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=62384">6238 4</a>: WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash</p>
4 <p>This test passed if it did not crash</p> 4 <p>This test passed if it did not crash</p>
5 <p id="console">FAILED (test not run)</p> 5 <p id="console">FAILED (test not run)</p>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 9
10 function main(){ 10 function main(){
11 var e = window.document.styleSheets[0].cssRules[0]; 11 var e = window.document.styleSheets[0].cssRules[0];
12 e.cssRules.item().parentStyleSheet.removeRule(); 12 e.cssRules.item(0).parentStyleSheet.removeRule();
13 e.name = 'bar'; 13 e.name = 'bar';
14 document.getElementById('console').innerHTML = "PASSED"; 14 document.getElementById('console').innerHTML = "PASSED";
15 } 15 }
16 window.onload = main; 16 window.onload = main;
17 </script> 17 </script>
18 <style> 18 <style>
19 @-webkit-keyframes foo { 19 @-webkit-keyframes foo {
20 0% {foo: bar;} 20 0% {foo: bar;}
21 } 21 }
22 </style> 22 </style>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698