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

Side by Side Diff: LayoutTests/editing/pasteboard/paste-noscript-xhtml-expected.txt

Issue 1208253002: Remove editing/pasteboard/paste-noscript-xhtml.xhtml (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ALERT: hello
2 ALERT: hello
3
4 This test copies the content of an iframe and pastes it
5 in an editable area in an xhtml document and verifies that no script, handlers o r javascript urls are copied.
6
7
8 Copied content:
9 | "
10 "
11 | <button>
12 | id="button1"
13 | onclick="sayHello()"
14 | ondblclick="sayHello()"
15 | style="width: 100px;"
16 | "<#selection-anchor>Hello"
17 | <a>
18 | href="http://www.bing.com/search?q=cnn"
19 | id="anchor1"
20 | "CNN"
21 | <a>
22 | href="javascript:sayHello()"
23 | id="anchor2"
24 | "Hello"
25 | "
26 "
27 | <script>
28 | style="display: block; position: fixed; top: 4000px"
29 | "alert('hello');"
30 | "
31 "
32 | <script>
33 | src="../editing.js"
34 | style="display: block; position: fixed; top: 4000px"
35 | "
36 "
37 | <iframe>
38 | id="iframe1"
39 | src="javascript:alert('hello')"
40 | style="width: 200px; height: 100px; background-color:#cee;"
41 | "
42 "
43 | <form>
44 | action="javascript:sayHello()"
45 | formaction="javascript:sayHello()"
46 | id="form1"
47 | style="width: 200px; height: 150px; background-color:#cee;"
48 | "This is a form. "
49 | <button>
50 | formaction="javascript:sayHello()"
51 | "Submit.<#selection-focus>"
52 | "
53
54 "
55
56 FRAME 0:
57 | <head>
58 | <body>
59
60 Pasted content:
61 | <button>
62 | id="button1"
63 | style="width: 100px;"
64 | "Hello"
65 | <a>
66 | href="http://www.bing.com/search?q=cnn"
67 | id="anchor1"
68 | "CNN"
69 | <a>
70 | id="anchor2"
71 | "Hello"
72 | <iframe>
73 | id="iframe1"
74 | style="width: 200px; height: 100px; background-color: rgb(204, 238, 238);"
75 | <form>
76 | formaction="javascript:sayHello()"
77 | id="form1"
78 | style="width: 200px; height: 150px; background-color: rgb(204, 238, 238);"
79 | "This is a form."
80 | " "
81 | <button>
82 | "Submit.<#selection-caret>"
83
84 FRAME 0:
85 | <head>
86 | <body>
OLDNEW
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-noscript-xhtml.xhtml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698