Bug 927432: fix 'finish() not called' in chrome js Marionette test cases. r=jgriffin

This commit is contained in:
Vicamo Yang 2013-10-17 10:26:27 +08:00
parent 495b00cb4a
commit fc2cc5eb20
3 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,6 @@
MARIONETTE_TIMEOUT = 60000;
MARIONETTE_CONTEXT = "chrome";
ok(true);
(function () {
finish();
})();

View File

@ -93,4 +93,5 @@ b2g = false
[test_implicit_waits.py]
[test_date_time_value.py]
[test_getactiveframe_oop.py]
[test_submit.py]
[test_submit.py]
[test_chrome_async_finish.js]

View File

@ -844,7 +844,7 @@ MarionetteServerConnection.prototype = {
aRequest.newSandbox = true;
}
if (this.context == "chrome") {
if (aRequest.async) {
if (aRequest.parameters.async) {
this.executeWithCallback(aRequest, aRequest.parameters.async);
}
else {