Commit 1c7c0d11 authored by Ayu Ishii's avatar Ayu Ishii Committed by Commit Bot

[sms] Turn On Experimental SMSReceiver API for Android Devices and tests for Non-Android Platforms.

This changes turns on the experimental SMSReceiver API for the
Android platform excluding WebView and for tests on Non-Android platforms.
Implementations for desktop are still in discussion and will be
detached completely from the implementation and release of the
SmsReceiver API release for Android.

Bug: 963653
Change-Id: Iefe3b9b135e6a9ae4ed30f00370bb32747481e0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1620107Reviewed-by: default avatarTao Bai <michaelbai@chromium.org>
Reviewed-by: default avatarTim Volodine <timvolodine@chromium.org>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Reviewed-by: default avatarJun Cai <juncai@chromium.org>
Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676143}
parent 182a716b
......@@ -204,6 +204,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// Network service for WebView is still being evaluated. Once enabled
// by default the following line can be deleted.
features.DisableIfNotSet(network::features::kNetworkService);
// TODO(https://crbug.com/963653): SmsReceiver is not yet supported on
// WebView.
features.DisableIfNotSet(features::kSmsReceiver);
}
android_webview::RegisterPathProvider();
......
......@@ -54,12 +54,14 @@ interface HTMLMediaElement : HTMLElement
getter remote # crbug.com/521319
# permissions API (crbug.com/490120), presentation API (crbug.com/521319),
# share API (crbug.com/765923), custom scheme handlers (crbug.com/589502)
# and media session API (crbug.com/925997) are not supported in webview.
# share API (crbug.com/765923), custom scheme handlers (crbug.com/589502),
# media session API (crbug.com/925997), and sms API (crbug.com/963653)
# are not supported in webview.
interface Navigator
getter mediaSession # crbug.com/925997
getter permissions # crbug.com/490120
getter presentation # crbug.com/521319
getter sms # crbug.com/963653
method registerProtocolHandler # crbug.com/589502
method unregisterProtocolHandler # crbug.com/589502
method share # crbug.com/765923
......@@ -68,6 +70,10 @@ interface Navigator
interface MediaMetadata
interface MediaSession
# SMS API is disabled in Android WebView, (crbug.com/963653)
interface SMS
interface SMSReceiver
# notifications not yet supported in webview, crbug.com/551446
interface ServiceWorkerRegistration : EventTarget
getter pushManager
......
......@@ -1460,7 +1460,7 @@
},
{
name: "SmsReceiver",
status: "experimental",
status: {"Android": "experimental", "default": "test"},
},
// Used as argument in attribute of stable-release functions/interfaces
// where a runtime-enabled feature name is required for correct IDL syntax.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment