Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: test/inspector/sessions/runtime-command-line-api-expected.txt

Issue 2916803005: [inspector] Create InjectedScript per session in each context (Closed)
Patch Set: rebased Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/inspector/sessions/runtime-command-line-api-expected.txt
diff --git a/test/inspector/sessions/runtime-command-line-api-expected.txt b/test/inspector/sessions/runtime-command-line-api-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98583a530f5f4e1b7b2416c6ef2e787c56908b8b
--- /dev/null
+++ b/test/inspector/sessions/runtime-command-line-api-expected.txt
@@ -0,0 +1,211 @@
+Tests that multiple sessions do not share command line api.
+Setting $0 in 1
+Evaluating $0 in 1
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+}
+Evaluating $0 in 2
+{
+ id : <messageId>
+ result : {
+ result : {
+ type : undefined
+ }
+ }
+}
+Setting $0 in 2
+Evaluating $0 in 1
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+}
+Evaluating $0 in 2
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
+Setting $_ in 1
+Evaluating $_ in 1
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+}
+Evaluating $_ in 2
+{
+ id : <messageId>
+ result : {
+ result : {
+ type : undefined
+ }
+ }
+}
+Setting $_ in 2
+Evaluating $_ in 1
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+}
+Evaluating $_ in 2
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
+Inspecting in 1
+inspectRequested from 1
+{
+ method : Runtime.inspectRequested
+ params : {
+ hints : {
+ }
+ object : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+}
+Inspecting in 1 through variable
+inspectRequested from 1
+{
+ method : Runtime.inspectRequested
+ params : {
+ hints : {
+ }
+ object : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+}
+Inspecting in 2
+inspectRequested from 2
+{
+ method : Runtime.inspectRequested
+ params : {
+ hints : {
+ }
+ object : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
+Inspecting in 2 through variable
+inspectRequested from 2
+{
+ method : Runtime.inspectRequested
+ params : {
+ hints : {
+ }
+ object : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
+Inspecting in 2 through variable from 1
+inspectRequested from 1
+{
+ method : Runtime.inspectRequested
+ params : {
+ hints : {
+ }
+ object : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+}
+Disconnecting 1
+Evaluating $0 in 2
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
+Evaluating $_ in 2
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
+Inspecting in 2
+inspectRequested from 2
+{
+ method : Runtime.inspectRequested
+ params : {
+ hints : {
+ }
+ object : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
+Inspecting in 2 through variable from 1
+Inspecting in 2 through variable
+inspectRequested from 2
+{
+ method : Runtime.inspectRequested
+ params : {
+ hints : {
+ }
+ object : {
+ description : 17
+ type : number
+ value : 17
+ }
+ }
+}
« no previous file with comments | « test/inspector/sessions/runtime-command-line-api.js ('k') | test/inspector/sessions/runtime-remote-object.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698