New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate expression does not support scope
#1336
Labels
Comments
jacob314
added
the
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
label
Jun 10, 2021
annagrin
added
the
P1
A high priority bug; for example, a single project is unusable or has many test failures
label
Jun 10, 2021
Idea: modify the |
That is what the polyfill for |
annagrin
pushed a commit
to annagrin/webdev
that referenced
this issue
Jun 11, 2021
Support evaluate with scope by - wrapping the expression in a function with scope keys as parameters - compiling the wrapper - and using chrome's Runtime.callFunctionOn to evaluate the compiled call with arguments Will be followed up with a cleanup of try/catch additions and removals. Closes: dart-lang#1336
annagrin
pushed a commit
to annagrin/webdev
that referenced
this issue
Jun 15, 2021
Support evaluate with scope by - wrapping the expression in a function with scope keys as parameters - compiling the wrapper - and using chrome's Runtime.callFunctionOn to evaluate the compiled call with arguments Will be followed up with a cleanup of try/catch additions and removals. Closes: dart-lang#1336
annagrin
pushed a commit
to annagrin/webdev
that referenced
this issue
Jul 8, 2021
Support evaluate with scope by - wrapping the expression in a function with scope keys as parameters - compiling the wrapper - and using chrome's Runtime.callFunctionOn to evaluate the compiled call with arguments Will be followed up with a cleanup of try/catch additions and removals. Closes: dart-lang#1336
annagrin
pushed a commit
to annagrin/webdev
that referenced
this issue
Jul 13, 2021
Support evaluate with scope by - wrapping the expression in a function with scope keys as parameters - compiling the wrapper - and using chrome's Runtime.callFunctionOn to evaluate the compiled call with arguments Will be followed up with a cleanup of try/catch additions and removals. Closes: dart-lang#1336
annagrin
pushed a commit
to annagrin/webdev
that referenced
this issue
Jul 21, 2021
Support evaluate with scope by - wrapping the expression in a function with scope keys as parameters - compiling the wrapper - and using chrome's Runtime.callFunctionOn to evaluate the compiled call with arguments Will be followed up with a cleanup of try/catch additions and removals. Closes: dart-lang#1336
annagrin
pushed a commit
that referenced
this issue
Jul 21, 2021
* Support scope in ChromeProxyService.evaluate() Support evaluate with scope by - wrapping the expression in a function with scope keys as parameters - compiling the wrapper - and using chrome's Runtime.callFunctionOn to evaluate the compiled call with arguments Will be followed up with a cleanup of try/catch additions and removals. Closes: #1336 * Build * Minor fixes and rebuild * Addressed CR comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the optional scope parameter from the evaluate method.
https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#evaluate
It appears to be ignored on the web
Repro:
Evaluate expression
"object is Element || object is RenderObj"
where scope is
{'object', validInstanceRefId}
Result:
[ErrorRef id: 2062, kind: error, message: CompilationError: Getter not found: 'object'.
The text was updated successfully, but these errors were encountered: