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