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

Side by Side Diff: LayoutTests/fast/dom/css-inline-style-declaration-crash.html

Issue 58533003: Move fast/js/resources files to resources. (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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <script> 3 <script>
4 description('Setting a CSSStyleDeclaration after its element has been GCed shoul d not crash.'); 4 description('Setting a CSSStyleDeclaration after its element has been GCed shoul d not crash.');
5 5
6 var span = document.createElement('span'); 6 var span = document.createElement('span');
7 var style = span.style; 7 var style = span.style;
8 span = null; 8 span = null;
9 gc(); 9 gc();
10 style.cssText = 'color:red'; 10 style.cssText = 'color:red';
11 11
12 testPassed('Did not crash'); 12 testPassed('Did not crash');
13 </script> 13 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/css-delete-doc.html ('k') | LayoutTests/fast/dom/css-inline-style-important.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698