Index: webkit/data/layout_tests/chrome/http/tests/security/isolatedWorld/iframe-location-prototype.html |
=================================================================== |
--- webkit/data/layout_tests/chrome/http/tests/security/isolatedWorld/iframe-location-prototype.html (revision 0) |
+++ webkit/data/layout_tests/chrome/http/tests/security/isolatedWorld/iframe-location-prototype.html (revision 0) |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<div id="console"></div> |
+<iframe src="about:blank"></iframe> |
+<script> |
+frames[0].location.__proto__.foo = "FAIL: Visible in isolated world."; |
+if (window.layoutTestController) { |
+ layoutTestController.dumpAsText(); |
+ layoutTestController.queueScriptInIsolatedWorld( |
+ "document.getElementById('console').innerHTML = frames[0].location.foo"); |
+} |
+</script> |
+</body> |
+</html> |