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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/saved-state-adoptNode-crash.html

Issue 2741513002: [Merge M-57] Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 <select id="select"> 1 <select id="select">
2 <option>Truffles</option> 2 <option>Truffles</option>
3 </select> 3 </select>
4 <textarea id="textarea"> 4 <textarea id="textarea">
5 Marshmallows 5 Marshmallows
6 </textarea> 6 </textarea>
7 <iframe id="iframe" src="data:text/html,"></iframe> 7 <iframe id="iframe" src="data:text/html,"></iframe>
8 <input type="password" id="password" value="seikooC"> 8 <input type="password" id="password" value="seikooC">
9 <script> 9 <script>
10 if (window.testRunner) { 10 if (window.testRunner) {
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 testRunner.waitUntilDone(); 12 testRunner.waitUntilDone();
13 } 13 }
14 14
15 var newDoc = document.getElementById("iframe").contentDocument; 15 var newDoc = document.getElementById("iframe").contentDocument;
16 newDoc.adoptNode(document.getElementById("select")); 16 newDoc.adoptNode(document.getElementById("select"));
17 newDoc.adoptNode(document.getElementById("textarea")); 17 newDoc.adoptNode(document.getElementById("textarea"));
18 newDoc.adoptNode(document.getElementById("password")); 18 newDoc.adoptNode(document.getElementById("password"));
19 location.href="data:text/html,SUCCESS<script>if (window.testRunner) testRunn er.notifyDone()</scr" + "ipt>"; 19 location.href = "../../resources/notify-success.html";
20 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698