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

Side by Side Diff: LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function log(s) 5 function log(s)
6 { 6 {
7 document.getElementById("console").appendChild(document.createTextNo de(s + "\n")); 7 document.getElementById("console").appendChild(document.createTextNo de(s + "\n"));
8 } 8 }
9 9
10 function shouldThrow(a) 10 function shouldThrow(a)
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 var promptOld = window.prompt; 249 var promptOld = window.prompt;
250 var releaseEventsOld = window.releaseEvents; 250 var releaseEventsOld = window.releaseEvents;
251 var removeEventListenerOld = window.removeEventListener; 251 var removeEventListenerOld = window.removeEventListener;
252 var resizeByOld = window.resizeBy; 252 var resizeByOld = window.resizeBy;
253 var resizeToOld = window.resizeTo; 253 var resizeToOld = window.resizeTo;
254 var scrollByOld = window.scrollBy; 254 var scrollByOld = window.scrollBy;
255 var scrollOld = window.scroll; 255 var scrollOld = window.scroll;
256 var scrollToOld = window.scrollTo; 256 var scrollToOld = window.scrollTo;
257 var setIntervalOld = window.setInterval; 257 var setIntervalOld = window.setInterval;
258 var setTimeoutOld = window.setTimeout; 258 var setTimeoutOld = window.setTimeout;
259 var showModalDialogOld = window.showModalDialog;
260 var stopOld = window.stop; 259 var stopOld = window.stop;
261 260
262 setTimeout(function() { 261 setTimeout(function() {
263 // Constructors 262 // Constructors
264 shouldBe("window.Attr", "AttrOld"); 263 shouldBe("window.Attr", "AttrOld");
265 shouldBe("window.CDATASection", "CDATASectionOld"); 264 shouldBe("window.CDATASection", "CDATASectionOld");
266 shouldBe("window.CharacterData", "CharacterDataOld"); 265 shouldBe("window.CharacterData", "CharacterDataOld");
267 shouldBe("window.Comment", "CommentOld"); 266 shouldBe("window.Comment", "CommentOld");
268 shouldBe("window.CSSPrimitiveValue", "CSSPrimitiveValueOld"); 267 shouldBe("window.CSSPrimitiveValue", "CSSPrimitiveValueOld");
269 shouldBe("window.CSSRule", "CSSRuleOld"); 268 shouldBe("window.CSSRule", "CSSRuleOld");
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 shouldBe("window.prompt", "promptOld"); 462 shouldBe("window.prompt", "promptOld");
464 shouldBe("window.releaseEvents", "releaseEventsOld"); 463 shouldBe("window.releaseEvents", "releaseEventsOld");
465 shouldBe("window.removeEventListener", "removeEventListenerOld"); 464 shouldBe("window.removeEventListener", "removeEventListenerOld");
466 shouldBe("window.resizeBy", "resizeByOld"); 465 shouldBe("window.resizeBy", "resizeByOld");
467 shouldBe("window.resizeTo", "resizeToOld"); 466 shouldBe("window.resizeTo", "resizeToOld");
468 shouldBe("window.scroll", "scrollOld"); 467 shouldBe("window.scroll", "scrollOld");
469 shouldBe("window.scrollBy", "scrollByOld"); 468 shouldBe("window.scrollBy", "scrollByOld");
470 shouldBe("window.scrollTo", "scrollToOld"); 469 shouldBe("window.scrollTo", "scrollToOld");
471 shouldBe("window.setInterval", "setIntervalOld"); 470 shouldBe("window.setInterval", "setIntervalOld");
472 shouldBe("window.setTimeout", "setTimeoutOld"); 471 shouldBe("window.setTimeout", "setTimeoutOld");
473
474 // showModalDialog is not implemented on all platforms for DumpRende rTree. So don't display the values.
475 shouldBe("window.showModalDialog", "showModalDialogOld", true);
476 shouldBe("window.stop", "stopOld"); 472 shouldBe("window.stop", "stopOld");
477 }, 0); 473 }, 0);
478 </script> 474 </script>
479 </body> 475 </body>
480 </html> 476 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698