1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
<html>
<head>
<title>Bug task deletion</title>
<!-- YUI and test setup -->
<script type="text/javascript"
src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
</script>
<link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
<script type="text/javascript"
src="../../../app/javascript/testing/testrunner.js"></script>
<script type="text/javascript" src="../../../app/javascript/client.js"></script>
<script type="text/javascript" src="../../../app/javascript/errors.js"></script>
<script type="text/javascript" src="../../../app/javascript/lp.js"></script>
<!-- Other dependencies -->
<script type="text/javascript" src="../../../app/javascript/testing/mockio.js"></script>
<script type="text/javascript"
src="../../../contrib/javascript/mustache.js"></script>
<script type="text/javascript" src="../../../app/javascript/activator/activator.js"></script>
<script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
<script type="text/javascript" src="../../../app/javascript/confirmationoverlay/confirmationoverlay.js"></script>
<script type="text/javascript" src="../../../app/javascript/choiceedit/choiceedit.js"></script>
<script type="text/javascript" src="../../../app/javascript/effects/effects.js"></script>
<script type="text/javascript" src="../../../app/javascript/expander.js"></script>
<script type="text/javascript" src="../../../app/javascript/extras/extras.js"></script>
<script type="text/javascript" src="../../../app/javascript/formoverlay/formoverlay.js"></script>
<script type="text/javascript" src="../../../app/javascript/inlineedit/editor.js"></script>
<script type="text/javascript" src="../../../app/javascript/lazr/lazr.js"></script>
<script type="text/javascript" src="../../../app/javascript/overlay/overlay.js"></script>
<script type="text/javascript" src="../../../app/javascript/picker/picker.js"></script>
<script type="text/javascript" src="../../../app/javascript/picker/picker_patcher.js"></script>
<script type="text/javascript" src="../../../app/javascript/picker/person_picker.js"></script>
<script type="text/javascript" src="../../../app/javascript/privacy.js"></script>
<script type="text/javascript" src="../bug_subscription_portlet.js"></script>
<!-- The module under test -->
<script type="text/javascript"
src="../bugtask_index.js"></script>
<!-- The test suite -->
<script type="text/javascript"
src="test_bugtask_delete.js"></script>
<!-- Pretty up the sample html -->
<style type="text/css">
div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
</style>
</head>
<body class="yui3-skin-sam">
<div id="fixture"></div>
<div id="request-notifications"></div>
<script type="text/x-template" id="form-template">
<table id="affected-software">
<tbody>
<tr id="tasksummary49">
<td>
<div>
<a class="sprite product" href="#">Product</a>
<button class="lazr-btn yui3-activator-act">
Edit
</button>
<a id="bugtask-delete-task49" href="http://foo"
class="sprite remove bugtask-delete"></a>
</div>
</td>
<td>
<table>
<tr id="task49"><td>
<a id="show-widget-product" class="sprite product"
href="#">Product</a>
</td></tr>
</table>
</td>
</tr>
<tr id="tasksummary50">
<td>
<div>
<a class="sprite product" href="#">Product</a>
<button class="lazr-btn yui3-activator-act">
Edit
</button>
<a id="bugtask-delete-task50" href="http://foo"
class="sprite remove bugtask-delete"></a>
</div>
</td>
</tr>
</tbody>
</table>
</script>
</body>
</html>
|