Skip to content

[Web] TextPainter invalid UTF-16 test doesn't work for web. #87544

Open

Description

@darrenaustin

As part of the skip test audit:

Attempting to reenable the 'TextPainter handles invalid UTF-16' test:

test('TextPainter handles invalid UTF-16', () {

It fails with:

00:02 +11 ~11 -1: TextPainter handles invalid UTF-16 [E]                                                                                                                                                                                                                                                          
  Expected: <20>
    Actual: <221>
  
  ../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49      throw_
  ../packages/test_api/src/expect/async_matcher.dart.js 164:22                         fail
  ../packages/test_api/src/expect/async_matcher.dart.js 159:12                         _expect
  ../packages/test_api/src/expect/async_matcher.dart.js 86:12                          expect$
  ../packages/flutter_test/src/deprecated.dart.js 7250:12                              expect$
  text_painter_test.dart.js 2589:21                                                    <fn>

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.c: tech-debtTechnical debt, code quality, testing, etc.frameworkflutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamteam: skip-testAn issue used to track tests that are skipped.triaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions