Sign in
webkit
/
WebKit
/
a36dd1c4bd8146169ac601fd378f4d14b5f88ac7
/
.
/
LayoutTests
/
fast
/
hidpi
/
resources
/
ensure-hidpi.js
blob: 5fe40bfef4d64d8dbd1d0f61571212a93a6aed2d [
file
] [
log
] [
blame
]
function
runTest
()
{
if
(!
window
.
testRunner
)
return
;
testRunner
.
waitUntilDone
();
testRunner
.
setBackingScaleFactor
(
2
,
scaleFactorIsSet
);
}
function
scaleFactorIsSet
()
{
testRunner
.
notifyDone
();
}
window
.
addEventListener
(
"load"
,
runTest
,
false
);