New issue
Advanced search Search tips

Issue 731154 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

OmniboxTextFieldIOSTest.rectForDrawTextInRect_clippedPrefix fails with iOS 11

Project Member Reported by sdefresne@chromium.org, Jun 8 2017

Issue description

[ RUN      ] OmniboxTextFieldIOSTest.rectForDrawTextInRect_clippedPrefix
2017-06-08 17:10:30.526207+0200 ios_chrome_unittests[7061:2027521] [Unknown process name] CGContextClipToMask: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
../../ios/chrome/browser/ui/omnibox/omnibox_text_field_ios_unittest.mm:54: Failure
      Expected: expectedRect.origin.x
      Which is: -10
To be equal to: actualRect.origin.x
      Which is: 0
[  FAILED  ] OmniboxTextFieldIOSTest.rectForDrawTextInRect_clippedPrefix (6 ms)

 
Components: -UI>Browser>Omnibox
Components: Test>iOS
Which SDK was this built with?
This happens when building with iOS 11 SDK, running in Xcode 9 on iPhone 7 Plus simulator.

Path to SDK from clang command-line:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk
Components: -Test>iOS
Components: Tests>Fails UI>Browser>Omnibox
Owner: justincohen@chromium.org
Status: Assigned (was: Untriaged)
Status: Fixed (was: Assigned)
Fixed by https://codereview.chromium.org/2933963002

Sign in to add a comment