mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 906100 - Intermittent failures in tests that list sources, but don't call gc() after adding test globals; r=jimb
This commit is contained in:
parent
be09e0b8f9
commit
e55a604cd3
@ -103,7 +103,7 @@ function testGlobal(aName) {
|
||||
.createInstance(Ci.nsIPrincipal);
|
||||
|
||||
let sandbox = Cu.Sandbox(systemPrincipal);
|
||||
Cu.evalInSandbox("this.__name = '" + aName + "'", sandbox);
|
||||
sandbox.__name = aName;
|
||||
return sandbox;
|
||||
}
|
||||
|
||||
|
@ -24,9 +24,6 @@ function run_test()
|
||||
return request.call(this, aRequest, aOnResponse);
|
||||
};
|
||||
}(gClient.request));
|
||||
// Make sure that the eval script from addTestGlobal() won't interfere with
|
||||
// the test.
|
||||
gc();
|
||||
gClient.connect(function () {
|
||||
attachTestTabAndResume(gClient, "test-stack", function (aResponse, aTabClient, aThreadClient) {
|
||||
gThreadClient = aThreadClient;
|
||||
|
@ -25,9 +25,6 @@ function run_test()
|
||||
return request.call(this, aRequest, aOnResponse);
|
||||
};
|
||||
}(gClient.request));
|
||||
// Make sure that the eval script from addTestGlobal() won't interfere with
|
||||
// the test.
|
||||
gc();
|
||||
gClient.connect(function() {
|
||||
attachTestTabAndResume(gClient, "test-sources-compat", function (aResponse,
|
||||
aTabClient,
|
||||
|
Loading…
Reference in New Issue
Block a user