New issue
Advanced search Search tips

Issue 892177 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 13
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 892168



Sign in to add a comment

interactive_ui_tests and network_service_interactive_ui_tests fail on 10.14

Project Member Reported by linds...@chromium.org, Oct 4

Issue description

Summary: interactive_ui_tests and network_service_interactive_ui_tests fail on 10.14 (was: interactive_ui_tests fail on 10.14)
Cc: -ellyjo...@chromium.org
Labels: Target-72 M-72
Owner: ellyjo...@chromium.org
Status: Assigned (was: Untriaged)
Ick.

The root cause of this is that CGEventPost() can't be used on macOS 10.14 without a user prompt to enable accessibility access, and trying to use it hangs the test. Details here: <https://forums.developer.apple.com/thread/103992>

In the short term I will have this test early-out on 10.14; in the longer term I've filed 904403 about this.
Project Member

Comment 5 by bugdroid1@chromium.org, Nov 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/aa553244ad41e64339ae6d8deadb686ef83f6011

commit aa553244ad41e64339ae6d8deadb686ef83f6011
Author: Elly Fong-Jones <ellyjones@chromium.org>
Date: Mon Nov 12 21:01:44 2018

mac: disable GlobalCommandsApiTest GlobalCommand on 10.14

As of 10.14, the API that SendGlobalKeyEventsAndWait() uses to post global
events causes a user prompt to appear, which is an obvious non-starter in test
scenarios, so disable that test for now, and add a DCHECK in
SendGlobalKeyEventsAndWait() to ensure that it is not called on 10.14.

Bug:  892177 ,904403
Change-Id: Ida0429d7e9914942f354690ecb657803240756ae
Reviewed-on: https://chromium-review.googlesource.com/c/1331135
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607325}
[modify] https://crrev.com/aa553244ad41e64339ae6d8deadb686ef83f6011/chrome/browser/extensions/extension_commands_global_registry_apitest.cc
[modify] https://crrev.com/aa553244ad41e64339ae6d8deadb686ef83f6011/chrome/test/base/interactive_test_utils_mac.mm

Status: Fixed (was: Assigned)

Sign in to add a comment