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