forked from firka/flutter
Initialize dartLoader.rootDirectories so the Web stack trace mapper can convert package source paths (#160383)
See https://dart.googlesource.com/sdk/+/refs/heads/main/pkg/dev_compiler/web/stack_trace_mapper.dart Fixes https://github.com/flutter/flutter/issues/158109
This commit is contained in:
@@ -32,8 +32,8 @@ const List<StackFrame> expectedDebugStackFrames = <StackFrame>[
|
||||
StackFrame(
|
||||
number: -1,
|
||||
packageScheme: 'package',
|
||||
package: 'packages',
|
||||
packagePath: 'web_integration/stack_trace.dart',
|
||||
package: 'web_integration',
|
||||
packagePath: 'stack_trace.dart',
|
||||
line: 119,
|
||||
column: 3,
|
||||
className: '<unknown>',
|
||||
@@ -43,8 +43,8 @@ const List<StackFrame> expectedDebugStackFrames = <StackFrame>[
|
||||
StackFrame(
|
||||
number: -1,
|
||||
packageScheme: 'package',
|
||||
package: 'packages',
|
||||
packagePath: 'web_integration/stack_trace.dart',
|
||||
package: 'web_integration',
|
||||
packagePath: 'stack_trace.dart',
|
||||
line: 114,
|
||||
column: 3,
|
||||
className: '<unknown>',
|
||||
@@ -54,8 +54,8 @@ const List<StackFrame> expectedDebugStackFrames = <StackFrame>[
|
||||
StackFrame(
|
||||
number: -1,
|
||||
packageScheme: 'package',
|
||||
package: 'packages',
|
||||
packagePath: 'web_integration/stack_trace.dart',
|
||||
package: 'web_integration',
|
||||
packagePath: 'stack_trace.dart',
|
||||
line: 109,
|
||||
column: 3,
|
||||
className: '<unknown>',
|
||||
|
||||
Reference in New Issue
Block a user