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

Side by Side Diff: LayoutTests/fast/xsl/xslt-url.xsl

Issue 365873002: Implement a part of ProcessingInstruction by using PrivateScript (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WIP: async XHR, rewriting layout tests Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/xsl/xslt-url.xml ('k') | LayoutTests/fast/xsl/xslt-url-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
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3 <xsl:output method="html" encoding="iso8859-1"/>
4 <xsl:template match="TEST">
5 <html>
6 <head>
7 <title>document.URL</title>
8 </head>
9 <body>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
13
14 if (document.URL.length > 0)
15 document.write("<p>Success</p>");
16 else
17 document.write("<p>Failure, document.URL is empty.</p>");
18 </script>
19 </body>
20 </html>
21 </xsl:template>
22 </xsl:stylesheet>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xsl/xslt-url.xml ('k') | LayoutTests/fast/xsl/xslt-url-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698