Sign in
webkit
/
WebKit
/
8e29b3d7cb791dc7cac89a3f1ad250bef2d6f1cb
/
.
/
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
);