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

Side by Side Diff: LayoutTests/fast/dom/StyleSheet/gc-inline-style-cssvalues.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body style="color:black"> 5 <body style="color:black">
6 <script> 6 <script>
7 description("Test that custom properties on CSSValues of inline style declar ations survive GC"); 7 description("Test that custom properties on CSSValues of inline style declar ations survive GC");
8 8
9 var expr = 'document.body.style.getPropertyCSSValue("color")'; 9 var expr = 'document.body.style.getPropertyCSSValue("color")';
10 shouldBe(expr + ".cssText", '"black"'); 10 shouldBe(expr + ".cssText", '"black"');
11 eval(expr).foo = "bar" 11 eval(expr).foo = "bar"
12 gc(); 12 gc();
13 shouldBe(expr + ".foo", "'bar'"); 13 shouldBe(expr + ".foo", "'bar'");
14 14
15 </script> 15 </script>
16 <script src="../../js/resources/js-test-post.js"></script>
17 </body> 16 </body>
18 </html> 17 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/StyleSheet/gc-declaration-parent-rule.html ('k') | LayoutTests/fast/dom/StyleSheet/gc-parent-rule.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698