Backed out changeset 2059cef905c4 (bug 719841)

This commit is contained in:
Geoff Lankow 2012-01-21 11:26:35 +13:00
parent e8612f5cb7
commit 80a6c8360a
2 changed files with 0 additions and 35 deletions

View File

@ -144,7 +144,6 @@ _TEST_FILES = \
test_bug648465.html \
test_bug654137.html \
test_bug684544.html \
test_bug696489.html \
test_bug698551.html \
test_window_bar.html \
file_window_bar.html \

View File

@ -1,34 +0,0 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=696489
-->
<head>
<meta charset="utf-8">
<title>Test for Bug 696489</title>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=696489">Mozilla Bug 696489</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 696489 **/
window.__proto__ = null;
try {
Object.prototype.__proto__ = window;
ok(false, "Didn't throw for cyclic proto!");
}
catch (e) {
ok(true, "Threw like we should.");
}
</script>
</pre>
</body>
</html>