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

Side by Side Diff: LayoutTests/fast/dom/Window/window-property-shadowing.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(msg) 5 function log(msg)
6 { 6 {
7 document.getElementById('console').appendChild(document.createTextNo de(msg + '\n')); 7 document.getElementById('console').appendChild(document.createTextNo de(msg + '\n'));
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 var clearInterval = 1; 128 var clearInterval = 1;
129 log(clearInterval == 1 ? "PASS: clearInterval successfully shadowed" : " FAIL: clearInterval was not shadowed"); 129 log(clearInterval == 1 ? "PASS: clearInterval successfully shadowed" : " FAIL: clearInterval was not shadowed");
130 var captureEvents = 1; 130 var captureEvents = 1;
131 log(captureEvents == 1 ? "PASS: captureEvents successfully shadowed" : " FAIL: captureEvents was not shadowed"); 131 log(captureEvents == 1 ? "PASS: captureEvents successfully shadowed" : " FAIL: captureEvents was not shadowed");
132 var releaseEvents = 1; 132 var releaseEvents = 1;
133 log(releaseEvents == 1 ? "PASS: releaseEvents successfully shadowed" : " FAIL: releaseEvents was not shadowed"); 133 log(releaseEvents == 1 ? "PASS: releaseEvents successfully shadowed" : " FAIL: releaseEvents was not shadowed");
134 var addEventListener = 1; 134 var addEventListener = 1;
135 log(addEventListener == 1 ? "PASS: addEventListener successfully shadowe d" : "FAIL: addEventListener was not shadowed"); 135 log(addEventListener == 1 ? "PASS: addEventListener successfully shadowe d" : "FAIL: addEventListener was not shadowed");
136 var removeEventListener = 1; 136 var removeEventListener = 1;
137 log(removeEventListener == 1 ? "PASS: removeEventListener successfully s hadowed" : "FAIL: removeEventListener was not shadowed"); 137 log(removeEventListener == 1 ? "PASS: removeEventListener successfully s hadowed" : "FAIL: removeEventListener was not shadowed");
138 var showModalDialog = 1;
139 log(showModalDialog == 1 ? "PASS: showModalDialog successfully shadowed" : "FAIL: showModalDialog was not shadowed");
140 var find = 1; 138 var find = 1;
141 log(find == 1 ? "PASS: find successfully shadowed" : "FAIL: find was not shadowed"); 139 log(find == 1 ? "PASS: find successfully shadowed" : "FAIL: find was not shadowed");
142 var stop = 1; 140 var stop = 1;
143 log(stop == 1 ? "PASS: stop successfully shadowed" : "FAIL: stop was not shadowed"); 141 log(stop == 1 ? "PASS: stop successfully shadowed" : "FAIL: stop was not shadowed");
144 142
145 // Constructors 143 // Constructors
146 var Image = 1; 144 var Image = 1;
147 log(Image == 1 ? "PASS: Image successfully shadowed" : "FAIL: Image was not shadowed"); 145 log(Image == 1 ? "PASS: Image successfully shadowed" : "FAIL: Image was not shadowed");
148 var Option = 1; 146 var Option = 1;
149 log(Option == 1 ? "PASS: Option successfully shadowed" : "FAIL: Option w as not shadowed"); 147 log(Option == 1 ? "PASS: Option successfully shadowed" : "FAIL: Option w as not shadowed");
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 log(Range == 1 ? "PASS: Range successfully shadowed" : "FAIL: Range was not shadowed"); 339 log(Range == 1 ? "PASS: Range successfully shadowed" : "FAIL: Range was not shadowed");
342 var XMLDocument = 1; 340 var XMLDocument = 1;
343 log(XMLDocument == 1 ? "PASS: XMLDocument successfully shadowed" : "FAIL : XMLDocument was not shadowed"); 341 log(XMLDocument == 1 ? "PASS: XMLDocument successfully shadowed" : "FAIL : XMLDocument was not shadowed");
344 var DOMParser = 1; 342 var DOMParser = 1;
345 log(DOMParser == 1 ? "PASS: DOMParser successfully shadowed" : "FAIL: DO MParser was not shadowed"); 343 log(DOMParser == 1 ? "PASS: DOMParser successfully shadowed" : "FAIL: DO MParser was not shadowed");
346 var XMLSerializer = 1; 344 var XMLSerializer = 1;
347 log(XMLSerializer == 1 ? "PASS: XMLSerializer successfully shadowed" : " FAIL: XMLSerializer was not shadowed"); 345 log(XMLSerializer == 1 ? "PASS: XMLSerializer successfully shadowed" : " FAIL: XMLSerializer was not shadowed");
348 </script> 346 </script>
349 </body> 347 </body>
350 </html> 348 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698