Skip to content

[web:engine] test/canvaskit/canvas_golden_test.dart crashes on Firefox #86632

@yjbanov

Description

@yjbanov

I'm enabling more web engine tests on Firefox (the tests runs, but ignore screenshot diff). This was one of the tests that failed for a reason I couldn't immediately figure out. So filing this issue, and skipping the test with a TODO pointing here.

Partial stack trace:

00:02 �[32m+0�[0m�[31m -1�[0m: CkCanvas renders using non-recording canvas if weak refs are supported �[1m�[31m[E]�[0m�[0m                                                                                                                
  NoSuchMethodError: self.window.flutterCanvasKit is undefined
  ../../../lib/src/engine/canvaskit/picture_recorder.dart 19:5                                           beginRecording
  ../../../test/canvaskit/canvas_golden_test.dart 56:31                                                   0.<fn>
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 317:19                               _wrapJsFunctionForAsync.<fn>.<fn>
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 342:23                               call
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart 247:3                                _asyncStartSync
  ../../../test/canvaskit/canvas_golden_test.dart 54:66                                                  call

Full log

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testse: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webengineflutter/engine related. See also e: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions