зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1511132 - Disable ServiceWindowClients.openWindow() under GeckoView r=asuth
This also disables test_openWindow.html when running in GeckoView. Differential Revision: https://phabricator.services.mozilla.com/D14556 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
30201ae152
Коммит
6042d9482d
|
@ -363,6 +363,13 @@ RefPtr<ClientOpPromise> ClientOpenWindowInCurrentProcess(
|
|||
new ClientOpPromise::Private(__func__);
|
||||
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
// This isn't currently available on GeckoView because we have no way of
|
||||
// knowing which app to launch. Bug 1511033.
|
||||
if (!jni::IsFennec()) {
|
||||
promise->Reject(NS_ERROR_NOT_IMPLEMENTED, __func__);
|
||||
return promise.forget();
|
||||
}
|
||||
|
||||
// This fires an intent that will start launching Fennec and foreground it,
|
||||
// if necessary. We create an observer so that we can determine when
|
||||
// the launch has completed.
|
||||
|
|
|
@ -282,6 +282,7 @@ tags = mcb
|
|||
[test_onmessageerror.html]
|
||||
[test_opaque_intercept.html]
|
||||
[test_openWindow.html]
|
||||
skip-if = toolkit == 'android' && !isFennec
|
||||
tags = openwindow
|
||||
[test_origin_after_redirect.html]
|
||||
[test_origin_after_redirect_cached.html]
|
||||
|
|
Загрузка…
Ссылка в новой задаче