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

Side by Side Diff: LayoutTests/fast/xsl/xslt-transform-to-fragment-crash.html

Issue 9285028: Merge 105524 - Crash in xsltParseGlobalVariable. (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/xsl/xslt-transform-to-fragment-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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 Test passes if it does not crash. 3 Test passes if it does not crash.
4 <script> 4 <script>
5 if (window.layoutTestController) 5 if (window.layoutTestController)
6 layoutTestController.dumpAsText(); 6 layoutTestController.dumpAsText();
7 7
8 var style = '\ 8 var style = '\
9 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1. 0"> \ 9 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1. 0"> \
10 <xsl:variable name="test"></xsl:variable> \ 10 <xsl:variable name="test"></xsl:variable> \
11 <xsl:variable name="test"></xsl:variable> \ 11 <xsl:variable name="test"></xsl:variable> \
12 </xsl:stylesheet>'; 12 </xsl:stylesheet>';
13 var xslp = new XSLTProcessor(); 13 var xslp = new XSLTProcessor();
14 var foo = new DOMParser().parseFromString(style, "text/xml"); 14 var foo = new DOMParser().parseFromString(style, "text/xml");
15 xslp.importStylesheet(foo); 15 xslp.importStylesheet(foo);
16 xslp.transformToFragment(foo, document); 16 xslp.transformToFragment(foo, document);
17 xslp.transformToFragment(foo, document); 17 xslp.transformToFragment(foo, document);
18 </script> 18 </script>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/xsl/xslt-transform-to-fragment-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698