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

Side by Side Diff: LayoutTests/fast/frames/iframe-reparenting-embed-elements.html

Issue 7980042: Merge 95471 - [Chromium] Crash after magic iframe transfer for Pepper/NaCl plugins. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/frames/iframe-reparenting-embed-elements-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 <script> 2 <script>
3 function log(message) { 3 function log(message) {
4 document.getElementById("log").innerText += message + "\n"; 4 document.getElementById("log").innerText += message + "\n";
5 } 5 }
6 6
7 function verifyResult(message, actualToken, expectedToReload) { 7 function verifyResult(message, actualToken, expectedToReload) {
8 var success = (expectedToReload != (actualToken == "modified")); 8 var success = (expectedToReload != (actualToken == "modified"));
9 log((success ? "PASS" : "FAIL") + ": " + message); 9 log((success ? "PASS" : "FAIL") + ": " + message);
10 } 10 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 <body onload=test()> 60 <body onload=test()>
61 <p>This test moves an iframe between two documents 3 times: without plugins, wit h &lt;embed&gt; tag and then with &lt;object&gt; tag.</p> 61 <p>This test moves an iframe between two documents 3 times: without plugins, wit h &lt;embed&gt; tag and then with &lt;object&gt; tag.</p>
62 <p>Only the attempt without plugin elements should succeed. The presence of plug in elements should prevent the document.adoptNode() method from 62 <p>Only the attempt without plugin elements should succeed. The presence of plug in elements should prevent the document.adoptNode() method from
63 triggering live transfer - in which case the iframe will be reloaded.</p> 63 triggering live transfer - in which case the iframe will be reloaded.</p>
64 <p>Test succeeds if there are 'PASS' messages below and no 'FAIL' messages.</p> 64 <p>Test succeeds if there are 'PASS' messages below and no 'FAIL' messages.</p>
65 <iframe id=frame1 src="resources/iframe-reparenting-embed-frame1.html"></iframe> 65 <iframe id=frame1 src="resources/iframe-reparenting-embed-frame1.html"></iframe>
66 <iframe id=frame2 src="resources/iframe-reparenting-frame2.html"></iframe> 66 <iframe id=frame2 src="resources/iframe-reparenting-frame2.html"></iframe>
67 <pre id=log></pre> 67 <pre id=log></pre>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/frames/iframe-reparenting-embed-elements-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698