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

Side by Side Diff: LayoutTests/fast/css/user-stylesheet-crash.html

Issue 9212063: Merge 104845 - REGRESSION(r104060): Setting user stylesheet may leave CSSStyleSelector with stale... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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 | LayoutTests/fast/css/user-stylesheet-crash-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 <head> 2 <head>
3 <script> 3 <script>
4 function createIframe() 4 function createIframe()
5 { 5 {
6 var iframe = document.createElement("iframe"); 6 var iframe = document.createElement("iframe");
7 document.body.appendChild(iframe); 7 document.body.appendChild(iframe);
8 var iframeDocument = iframe.contentDocument; 8 var iframeDocument = iframe.contentDocument;
9 var link = iframeDocument.createElement("link"); 9 var link = iframeDocument.createElement("link");
10 link.setAttribute("rel", "stylesheet"); 10 link.setAttribute("rel", "stylesheet");
(...skipping 11 matching lines...) Expand all
22 layoutTestController.addUserStyleSheet("#test { color: red: }", true); 22 layoutTestController.addUserStyleSheet("#test { color: red: }", true);
23 } 23 }
24 setTimeout("createIframe()", 0); 24 setTimeout("createIframe()", 0);
25 25
26 </script> 26 </script>
27 </head> 27 </head>
28 <body> 28 <body>
29 This test requires DRT. It passes if it doesn't crash. 29 This test requires DRT. It passes if it doesn't crash.
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/user-stylesheet-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698