mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Backed out changeset 2059cef905c4 (bug 719841)
This commit is contained in:
parent
5acfb2d6b6
commit
524d279bd1
@ -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 \
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user