mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 927432: fix 'finish() not called' in chrome js Marionette test cases. r=jgriffin
This commit is contained in:
parent
495b00cb4a
commit
fc2cc5eb20
@ -0,0 +1,6 @@
|
||||
MARIONETTE_TIMEOUT = 60000;
|
||||
MARIONETTE_CONTEXT = "chrome";
|
||||
ok(true);
|
||||
(function () {
|
||||
finish();
|
||||
})();
|
@ -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]
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user