mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
browser(firefox): make Juggler types compliant with protocol viewer (#6626)
Protocol viewer can't handle anonymous objects since it's not clear how to refer to them.
This commit is contained in:
parent
50d24387b4
commit
debffa7476
@ -1,2 +1,2 @@
|
||||
1252
|
||||
Changed: joel.einbinder@gmail.com Fri 14 May 2021 08:01:19 AM PDT
|
||||
1253
|
||||
Changed: aslushnikov@gmail.com Fri 14 May 2021 21:37:19 PM PDT
|
||||
|
@ -130,6 +130,11 @@ runtimeTypes.CallFunctionArgument = {
|
||||
value: t.Any,
|
||||
};
|
||||
|
||||
runtimeTypes.AuxData = {
|
||||
frameId: t.Optional(t.String),
|
||||
name: t.Optional(t.String),
|
||||
};
|
||||
|
||||
const axTypes = {};
|
||||
axTypes.AXTree = {
|
||||
role: t.String,
|
||||
@ -530,10 +535,7 @@ const Runtime = {
|
||||
events: {
|
||||
'executionContextCreated': {
|
||||
executionContextId: t.String,
|
||||
auxData: {
|
||||
frameId: t.Optional(t.String),
|
||||
name: t.Optional(t.String),
|
||||
},
|
||||
auxData: runtimeTypes.AuxData,
|
||||
},
|
||||
'executionContextDestroyed': {
|
||||
executionContextId: t.String,
|
||||
|
@ -1,2 +1,2 @@
|
||||
1262
|
||||
Changed: joel.einbinder@gmail.com Fri 14 May 2021 08:00:09 AM PDT
|
||||
1263
|
||||
Changed: aslushnikov@gmail.com Mon 14 May 2021 21:37:09 PM PDT
|
||||
|
@ -130,6 +130,11 @@ runtimeTypes.CallFunctionArgument = {
|
||||
value: t.Any,
|
||||
};
|
||||
|
||||
runtimeTypes.AuxData = {
|
||||
frameId: t.Optional(t.String),
|
||||
name: t.Optional(t.String),
|
||||
};
|
||||
|
||||
const axTypes = {};
|
||||
axTypes.AXTree = {
|
||||
role: t.String,
|
||||
@ -530,10 +535,7 @@ const Runtime = {
|
||||
events: {
|
||||
'executionContextCreated': {
|
||||
executionContextId: t.String,
|
||||
auxData: {
|
||||
frameId: t.Optional(t.String),
|
||||
name: t.Optional(t.String),
|
||||
},
|
||||
auxData: runtimeTypes.AuxData,
|
||||
},
|
||||
'executionContextDestroyed': {
|
||||
executionContextId: t.String,
|
||||
|
Loading…
x
Reference in New Issue
Block a user