+

Attachment #542113: Mochitest only for bug #666869

View | Details | Raw Unified | Return to bug 666869
Collapse All | Expand All

(-)a/docshell/test/Makefile.in (+1 lines)
Line     Link Here 
 Lines 108-123   _TEST_FILES = \ Link Here 
108
		historyframes.html \
108
		historyframes.html \
109
		test_bug660404.html \
109
		test_bug660404.html \
110
		file_bug660404 \
110
		file_bug660404 \
111
		file_bug660404^headers^ \
111
		file_bug660404^headers^ \
112
		test_bug662170.html \
112
		test_bug662170.html \
113
		file_bug662170.html \
113
		file_bug662170.html \
114
		test_bug570341.html \
114
		test_bug570341.html \
115
		bug570341_recordevents.html \
115
		bug570341_recordevents.html \
116
		test_bug666869.html \
116
		$(NULL)
117
		$(NULL)
117
118
118
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
119
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
119
_TEST_FILES += \
120
_TEST_FILES += \
120
		test_bug511449.html \
121
		test_bug511449.html \
121
		file_bug511449.html \
122
		file_bug511449.html \
122
		$(NULL)
123
		$(NULL)
123
endif
124
endif
(-)aee9017b0b4f (+38 lines)
Added Link Here 
Added Link Here 
1
<!DOCTYPE html>
2
<html>
3
<!--
4
https://bugzilla.mozilla.org/show_bug.cgi?id=666869
5
-->
6
<head>
7
  <title>Test for Bug 570341</title>
8
  <script type="application/javascript" src="/MochiKit/packed.js"></script>
9
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11
<script>
12
13
function boom()
14
{
15
  var f = document.getElementById("f");
16
  var frameWin = f.contentWindow;
17
  document.body.removeChild(f);
18
  ok(frameWin.performance==null, 'Performance for non-existing frame???');
19
  SimpleTest.finish();
20
}
21
22
</script>
23
</head>
24
<body onload="boom();">
25
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=666869">Mozilla Bug 666869</a>
26
<p id="display"></p>
27
<div id="content" style="display: none">
28
29
</div>
30
<pre id="test">
31
<script type="application/javascript">
32
SimpleTest.waitForExplicitFinish();
33
</script>
34
</pre>
35
<iframe id="f" src="data:text/html,1"></iframe>
36
</body>
37
</html>
38

Return to bug 666869
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载