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

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

Issue 689323002: Remove tests which are only testing getPropertyCSSValue, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 </head>
5 <body style="color:black">
6 <script>
7 description("Test that custom properties on CSSValues of inline style declar ations survive GC");
8
9 var expr = 'document.body.style.getPropertyCSSValue("color")';
10 shouldBe(expr + ".cssText", '"black"');
11 eval(expr).foo = "bar"
12 gc();
13 shouldBe(expr + ".foo", "'bar'");
14
15 </script>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698