mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1316114 - reset sjs file at the end of the test case. r=jmaher
MozReview-Commit-ID: FKm93zKuFe1 --HG-- extra : rebase_source : d6ae819e3ba5df555dfedb205d6d6e37538300f0
This commit is contained in:
parent
37958a0e3b
commit
e897b35591
@ -257,6 +257,20 @@ var tests = [
|
||||
is(xhr.responseText, "a3", "We got the expected file body");
|
||||
},
|
||||
},
|
||||
|
||||
// Load one last time to reset the state variable in the .sjs file
|
||||
{
|
||||
init: function (xhr) {
|
||||
xhr.open("GET", path + "bug475156.sjs");
|
||||
xhr.setRequestHeader("If-Match", "a1");
|
||||
},
|
||||
|
||||
loading: function (xhr) {
|
||||
},
|
||||
|
||||
done: function (xhr) {
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@ -280,7 +294,6 @@ function drive(test)
|
||||
}
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user