blob: b4baea9c1cda8bb62ae052575866d90451463ed3 [file] [log] [blame]
Tests CDP Emulation.addScreen() API with scale factor.
Added screen: {
screenInfo : {
availHeight : 300
availLeft : 800
availTop : 0
availWidth : 400
colorDepth : 24
devicePixelRatio : 2
height : 300
id : <string>
isExtended : true
isInternal : false
isPrimary : false
label : 2nd
left : 800
orientation : {
angle : 0
type : landscapePrimary
}
top : 0
width : 400
}
}
{
screenInfos : [
[0] : {
availHeight : 600
availLeft : 0
availTop : 0
availWidth : 800
colorDepth : 24
devicePixelRatio : 1
height : 600
id : <string>
isExtended : true
isInternal : false
isPrimary : true
label : 1st
left : 0
orientation : {
angle : 0
type : landscapePrimary
}
top : 0
width : 800
}
[1] : {
availHeight : 300
availLeft : 800
availTop : 0
availWidth : 400
colorDepth : 24
devicePixelRatio : 2
height : 300
id : <string>
isExtended : true
isInternal : false
isPrimary : false
label : 2nd
left : 800
orientation : {
angle : 0
type : landscapePrimary
}
top : 0
width : 400
}
]
}