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

Side by Side Diff: LayoutTests/fast/frames/seamless/seamless-custom-font-pruning-crash.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include remove tests Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 This test passes if it does not crash.
3 <style>@font-face {
4 font-family: "Times New Roman";
5 src: local("Arial")
6 </style>
7 <script>
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.waitUntilDone();
11 }
12 var docElement = document.body ? document.body : document.documentElement;
13
14 function initTest() {
15 iframeElement = document.createElementNS("http://www.w3.org/1999/xhtml", " iframe");
16 iframeElement.setAttribute("seamless", "");
17 iframeElement.setAttribute("srcdoc", "This test passes if it does not cras h. <iframe seamless sandbox='allow-scripts' srcdoc='This test passes if it does not crash.'");
18 docElement.appendChild(iframeElement);
19
20 textElement = document.createTextNode("This test passes if it does not cra sh.");
21 docElement.appendChild(textElement);
22 setTimeout("crash()", 0);
23 }
24
25 document.addEventListener("DOMContentLoaded", initTest, false);
26
27 function crash() {
28 docElement.appendChild(iframeElement);
29 if (window.testRunner)
30 testRunner.notifyDone();
31 }
32 </script>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698