chromium/third_party/blink/web_tests/http/tests/devtools/screen-orientation-override-expected.txt

Test screen orientation override.


Running: initial

Running: setWrongAngle1
error: Request Emulation.setDeviceMetricsOverride failed. {"code":-32602,"message":"Screen orientation angle must be non-negative, less than 360"}

Running: setWrongAngle2
error: Request Emulation.setDeviceMetricsOverride failed. {"code":-32602,"message":"Screen orientation angle must be non-negative, less than 360"}

Running: setWrongType
error: Request Emulation.setDeviceMetricsOverride failed. {"code":-32602,"message":"Invalid screen orientation type value"}

Running: setPortraitSecondary
angle: 180; type: portrait-secondary

Running: setLandscapePrimary
angle: 90; type: landscape-primary

Running: setPortraitPrimary
angle: 0; type: portrait-primary

Running: restoresAfterReload
Page reloaded.
angle: 0; type: portrait-primary

Running: setLandscapeSecondary
angle: 270; type: landscape-secondary

Running: clearOverride
Equals to initial: false. Expected: angle: 0; type: portrait-primary, actual: angle: 0; type: landscape-primary