gecko-dev/widget/android
Makoto Kato 3493d2727e Bug 1753574 - hal::LockOrientation can return error status. r=smaug,geckoview-reviewers,agi,calu
From https://w3c.github.io/screen-orientation/#apply-an-orientation-lock

> 7.2. Apply an orientation lock
>
> The steps to apply an orientation lock to a Document using orientation are as
> follows:
>
>  1. If the user agent does not support locking the screen orientation, return
>     a promise rejected with a "NotSupportedError" DOMException and abort
>     these steps.

So if orientation controller delegate isn't set, we should throw
`NotSupportedError`.  But, actually, we throws `AbortError`, so this isn't
correct.

To return any DOM error from platform implementation of
`screen.orientation.lock`, I would like to change return value to
`GenericPromise`'s.

Differential Revision: https://phabricator.services.mozilla.com/D137970
2022-03-02 03:48:14 +00:00
..
bindings Bug 1753919 - AndroidWebAuthnTokenManager uses GeckoResult directly instead of callback. r=geckoview-reviewers,agi 2022-02-09 06:59:52 +00:00
jni Bug 1753574 - hal::LockOrientation can return error status. r=smaug,geckoview-reviewers,agi,calu 2022-03-02 03:48:14 +00:00
AndroidAlerts.cpp
AndroidAlerts.h
AndroidBridge.cpp Bug 1754813 - Make Hal::ScreenOrientation an enum class. r=gsvelto,m_kato,geckoview-reviewers 2022-02-14 07:51:06 +00:00
AndroidBridge.h Bug 1754813 - Make Hal::ScreenOrientation an enum class. r=gsvelto,m_kato,geckoview-reviewers 2022-02-14 07:51:06 +00:00
AndroidBridgeUtilities.h
AndroidCompositorWidget.cpp Bug 1749745 - Initialize AndroidCompositorWidget with initial size. r=aosmond,geckoview-reviewers,agi 2022-01-12 16:43:51 +00:00
AndroidCompositorWidget.h Bug 1747116 - Guard against null native window in AndroidCompositorWidget r=gfx-reviewers,geckoview-reviewers,aosmond,m_kato 2022-01-07 10:25:53 +00:00
AndroidContentController.cpp
AndroidContentController.h
AndroidUiThread.cpp
AndroidUiThread.h
AndroidView.h
AndroidVsync.cpp
AndroidVsync.h
Base64UtilsSupport.h
CompositorWidgetChild.cpp Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
CompositorWidgetChild.h Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
CompositorWidgetParent.cpp Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
CompositorWidgetParent.h Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
EventDispatcher.cpp
EventDispatcher.h
GeckoBatteryManager.h
GeckoEditableSupport.cpp Bug 1746104 - part 6-1: Make `IMENotification::SelectionChangeDataBase` and `WidgetQueryContentEvent::Reply` have `AnchorOffset` and `FocusOffset` r=m_kato,geckoview-reviewers 2022-02-07 22:33:39 +00:00
GeckoEditableSupport.h
GeckoNetworkManager.h
GeckoProcessManager.cpp
GeckoProcessManager.h
GeckoSystemStateListener.h
GeckoTelemetryDelegate.h
GeckoVRManager.h
GeckoViewSupport.h Bug 1755783 - Simplify a bit android screen code. r=agi 2022-02-17 11:38:39 +00:00
GfxInfo.cpp Bug 1719327 - Block webrender on Vivante GC7000UL devices. r=gfx-reviewers,jrmuizel 2022-02-02 17:21:08 +00:00
GfxInfo.h
ImageDecoderSupport.cpp Bug 1748955 - Remove AndroidBridge dependencies from GfxInfo. r=geckoview-reviewers,calu 2022-01-13 12:09:47 +00:00
ImageDecoderSupport.h
InProcessAndroidCompositorWidget.cpp Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
InProcessAndroidCompositorWidget.h Bug 1741156 - Initial GPU process implementation on Android. r=aosmond,agi 2021-11-29 20:52:31 +00:00
MediaKeysEventSourceFactory.cpp
PCompositorWidget.ipdl Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8 2022-02-09 17:29:47 +00:00
PlatformWidgetTypes.ipdlh Bug 1751948 - Part 1: Fix IPDL unified build issues, r=ipc-reviewers,mccr8 2022-02-28 21:01:47 +00:00
ScreenHelperAndroid.cpp Bug 1755783 - Simplify a bit android screen code. r=agi 2022-02-17 11:38:39 +00:00
ScreenHelperAndroid.h Bug 1755783 - Simplify a bit android screen code. r=agi 2022-02-17 11:38:39 +00:00
Telemetry.h
WebExecutorSupport.cpp Bug 1750231 - Add WebRequest::beConservative. r=calu,jonalmeida 2022-01-26 20:11:45 +00:00
WebExecutorSupport.h
WindowEvent.h
components.conf Bug 1731890 - Adding Utility process with basic sandbox r=agi,nika,bobowen 2022-01-12 20:52:58 +00:00
moz.build Bug 1754858 - Simplify screen orientation API implementation. r=smaug,m_kato,geckoview-reviewers 2022-02-15 20:22:54 +00:00
nsAppShell.cpp Bug 1755381 - Avoid relaunching GPU process immediately on Android if app is in background. r=agi,aosmond 2022-02-22 15:59:13 +00:00
nsAppShell.h
nsClipboard.cpp Backed out changeset 00f6bd7aa727 (bug 1755481) for causing multiple clipboard related failures CLOSED TREE 2022-02-16 12:14:58 +02:00
nsClipboard.h
nsDeviceContextAndroid.cpp
nsDeviceContextAndroid.h
nsIAndroidBridge.idl
nsLookAndFeel.cpp Bug 1754547 - Generalize moz-os-version into moz-platform. r=dao,preferences-reviewers,Gijs 2022-02-10 15:50:31 +00:00
nsLookAndFeel.h Bug 1753139 - Clean up AndroidBridge.h. r=geckoview-reviewers,emilio,agi 2022-02-03 01:42:51 +00:00
nsPrintSettingsServiceAndroid.cpp
nsPrintSettingsServiceAndroid.h
nsUserIdleServiceAndroid.cpp
nsUserIdleServiceAndroid.h
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp Backed out changeset 0946d4ce352f (bug 1756700) for causing geckoview crashes. CLOSED TREE 2022-03-01 18:11:55 -05:00
nsWindow.h Bug 1755783 - Simplify a bit android screen code. r=agi 2022-02-17 11:38:39 +00:00