Skip to content

Enable evaluating in Chrome Console #3405

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

Merged
merged 1 commit into from
Jan 9, 2017
Merged

Conversation

KristinaKoeva
Copy link

Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file

Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file
@KristinaKoeva KristinaKoeva added this to the 2.5.0 milestone Jan 4, 2017
@ns-bot
Copy link

ns-bot commented Jan 4, 2017

Please sign CLA at http://www.nativescript.org/cla

@ns-bot ns-bot added the cla: no label Jan 4, 2017
@vchimev
Copy link
Contributor

vchimev commented Jan 5, 2017

build

@vchimev
Copy link
Contributor

vchimev commented Jan 5, 2017

ci/jenkins/build — PASSed.

@KristinaKoeva
Copy link
Author

@vchimev So everything is green now, right ? Would somebody review this PR and merge it, because otherwise we would not be able to evaluate in the Chrome Dev Tools Console.

@vchimev
Copy link
Contributor

vchimev commented Jan 6, 2017

@KristinaKoeva, yes, unit tests passed. Ping @hshristov for a review.

@enchev enchev added cla: yes and removed cla: no labels Jan 9, 2017
@enchev enchev merged commit 6b2b05a into master Jan 9, 2017
@enchev enchev deleted the KristinaKoeva/EvaluateInConsole branch January 9, 2017 09:01
zh-m pushed a commit that referenced this pull request Jan 9, 2017
Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file
vakrilov pushed a commit that referenced this pull request Aug 18, 2017
Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file
vakrilov pushed a commit that referenced this pull request Aug 18, 2017
Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file
@lock
Copy link

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants