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/http/tests/security/xssAuditor/viewsource-onmouseover.html

Issue 301813002: Highlight relfected XSS vectors in view-source page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update descriptive text in test cases. Created 6 years, 6 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 | « no previous file | LayoutTests/http/tests/security/xssAuditor/viewsource-onmouseover-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 <!DOCTYPE html>
2 <html>
3 <iframe id="x" name="x"></iframe>
4 <script>
5 var frame = document.getElementById('x');
6 if (window.testRunner) {
7 testRunner.waitUntilDone();
8 testRunner.setXSSAuditorEnabled(true);
9 testRunner.dumpAsMarkup();
10 testRunner.dumpChildFramesAsMarkup();
11 testRunner.setViewSourceForFrame('x', true);
12 frame.onload = testRunner.notifyDone.bind(testRunner);
13 }
14 frame.src = '/security/xssAuditor/resources/echo-intertag.pl?q=%3cdiv%20onmouseo ver=%22alert(/xss/)%22%%3e%3c/div%3e';
15 </script>
16 <p>This test passes if the iframe is rendered in view-source mode and the div wi th the
17 onmouseover handler is in a highlighted span.</p>
18 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xssAuditor/viewsource-onmouseover-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698