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

Side by Side Diff: LayoutTests/http/tests/security/location-prototype.html

Issue 7273022: Merge 89782 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 5 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/http/tests/security/location-prototype-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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.layoutTestController) 5 if (window.layoutTestController)
6 layoutTestController.dumpAsText(); 6 layoutTestController.dumpAsText();
7 7
8 function loaded() { 8 function loaded() {
9 try { 9 try {
10 window.location.fail(); 10 window.location.fail();
11 } catch(ex) { 11 } catch(ex) {
12 alert("Yay! Calling a function that shouldn't exist threw an exception."); 12 alert("Yay! Calling a function that shouldn't exist threw an exception.");
13 } 13 }
14 } 14 }
15 15
16 </script> 16 </script>
17 </head> 17 </head>
18 <body onload="loaded()"> 18 <body onload="loaded()">
19 This test passes if it doesn't alert the string "fail". 19 This test passes if it doesn't alert the string "fail".
20 <iframe src="http://127.0.0.1:8080/security/resources/location-prototype-overwri te.html"></iframe> 20 <iframe src="http://127.0.0.1:8080/security/resources/location-prototype-overwri te.html"></iframe>
21 </body> 21 </body>
22 </html> 22 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/location-prototype-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698