Compute Pressure: Disable API for Android
This patch disables Compute Pressure API for Android. The Compute Pressure API was enabled on Android for user but device side is not implemented. Bug: 341537009 Change-Id: Id9d5ce9ef35412faae8704ccd9cc81c839d3bba6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5547672 Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com> Reviewed-by: Reilly Grant <reillyg@chromium.org> Reviewed-by: Rupert Wiser <bewise@chromium.org> Reviewed-by: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/main@{#1305739}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
f76783e8b5
commit
19e7787191
android_webview/tools/system_webview_shell/test/data/webexposed
content/test
third_party/blink/renderer
@ -1,3 +1,7 @@
|
||||
# compute pressure api not enabled in webview, crbug.com/341537009
|
||||
interface PressureObserver
|
||||
interface PressureRecord
|
||||
|
||||
# speech synthesis api not enabled in webview
|
||||
# but speech recognition is enabled, crbug.com/487255
|
||||
interface SpeechSynthesis : EventTarget
|
||||
|
@ -2425,8 +2425,6 @@ test("content_unittests") {
|
||||
"../browser/client_hints/client_hints_unittest.cc",
|
||||
"../browser/code_cache/generated_code_cache_unittest.cc",
|
||||
"../browser/code_cache/simple_lru_cache_unittest.cc",
|
||||
"../browser/compute_pressure/pressure_service_for_frame_unittest.cc",
|
||||
"../browser/compute_pressure/pressure_service_for_worker_unittest.cc",
|
||||
"../browser/content_index/content_index_database_unittest.cc",
|
||||
"../browser/content_index/content_index_service_impl_unittest.cc",
|
||||
"../browser/cookie_deprecation_label/cookie_deprecation_label_manager_impl_unittest.cc",
|
||||
@ -2929,6 +2927,13 @@ test("content_unittests") {
|
||||
]
|
||||
}
|
||||
|
||||
if (!is_android) {
|
||||
sources += [
|
||||
"../browser/compute_pressure/pressure_service_for_frame_unittest.cc",
|
||||
"../browser/compute_pressure/pressure_service_for_worker_unittest.cc",
|
||||
]
|
||||
}
|
||||
|
||||
if (is_win) {
|
||||
sources += [
|
||||
"../browser/media/web_app_system_media_controls_manager_unittest.cc",
|
||||
|
6
third_party/blink/renderer/modules/BUILD.gn
vendored
6
third_party/blink/renderer/modules/BUILD.gn
vendored
@ -427,9 +427,6 @@ source_set("unit_tests") {
|
||||
"canvas/offscreencanvas/offscreen_canvas_rendering_api_ukm_metrics_test.cc",
|
||||
"canvas/offscreencanvas/offscreen_canvas_test.cc",
|
||||
"canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d_test.cc",
|
||||
"compute_pressure/pressure_observer_test.cc",
|
||||
"compute_pressure/pressure_observer_test_utils.cc",
|
||||
"compute_pressure/pressure_observer_test_utils.h",
|
||||
"content_extraction/inner_html_builder_unittest.cc",
|
||||
"content_extraction/inner_text_builder_unittest.cc",
|
||||
"content_index/content_description_type_converter_test.cc",
|
||||
@ -638,6 +635,9 @@ source_set("unit_tests") {
|
||||
# Inline text box tests do not apply to Android, which only loads
|
||||
# AXInlineTextBox tests for the focused node.
|
||||
"accessibility/ax_inline_text_box_test.cc",
|
||||
"compute_pressure/pressure_observer_test.cc",
|
||||
"compute_pressure/pressure_observer_test_utils.cc",
|
||||
"compute_pressure/pressure_observer_test_utils.h",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -686,9 +686,11 @@
|
||||
status: "experimental",
|
||||
},
|
||||
{
|
||||
// Shipping in M125. Should be removed after M127.
|
||||
name: "ComputePressure",
|
||||
status: "stable",
|
||||
status: {
|
||||
"Android": "",
|
||||
"default": "stable",
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ConcurrentViewTransitionsSPA",
|
||||
|
Reference in New Issue
Block a user