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
|
1253
|
||||||
Changed: joel.einbinder@gmail.com Fri 14 May 2021 08:01:19 AM PDT
|
Changed: aslushnikov@gmail.com Fri 14 May 2021 21:37:19 PM PDT
|
||||||
|
@ -130,6 +130,11 @@ runtimeTypes.CallFunctionArgument = {
|
|||||||
value: t.Any,
|
value: t.Any,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
runtimeTypes.AuxData = {
|
||||||
|
frameId: t.Optional(t.String),
|
||||||
|
name: t.Optional(t.String),
|
||||||
|
};
|
||||||
|
|
||||||
const axTypes = {};
|
const axTypes = {};
|
||||||
axTypes.AXTree = {
|
axTypes.AXTree = {
|
||||||
role: t.String,
|
role: t.String,
|
||||||
@ -530,10 +535,7 @@ const Runtime = {
|
|||||||
events: {
|
events: {
|
||||||
'executionContextCreated': {
|
'executionContextCreated': {
|
||||||
executionContextId: t.String,
|
executionContextId: t.String,
|
||||||
auxData: {
|
auxData: runtimeTypes.AuxData,
|
||||||
frameId: t.Optional(t.String),
|
|
||||||
name: t.Optional(t.String),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
'executionContextDestroyed': {
|
'executionContextDestroyed': {
|
||||||
executionContextId: t.String,
|
executionContextId: t.String,
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
1262
|
1263
|
||||||
Changed: joel.einbinder@gmail.com Fri 14 May 2021 08:00:09 AM PDT
|
Changed: aslushnikov@gmail.com Mon 14 May 2021 21:37:09 PM PDT
|
||||||
|
@ -130,6 +130,11 @@ runtimeTypes.CallFunctionArgument = {
|
|||||||
value: t.Any,
|
value: t.Any,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
runtimeTypes.AuxData = {
|
||||||
|
frameId: t.Optional(t.String),
|
||||||
|
name: t.Optional(t.String),
|
||||||
|
};
|
||||||
|
|
||||||
const axTypes = {};
|
const axTypes = {};
|
||||||
axTypes.AXTree = {
|
axTypes.AXTree = {
|
||||||
role: t.String,
|
role: t.String,
|
||||||
@ -530,10 +535,7 @@ const Runtime = {
|
|||||||
events: {
|
events: {
|
||||||
'executionContextCreated': {
|
'executionContextCreated': {
|
||||||
executionContextId: t.String,
|
executionContextId: t.String,
|
||||||
auxData: {
|
auxData: runtimeTypes.AuxData,
|
||||||
frameId: t.Optional(t.String),
|
|
||||||
name: t.Optional(t.String),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
'executionContextDestroyed': {
|
'executionContextDestroyed': {
|
||||||
executionContextId: t.String,
|
executionContextId: t.String,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user