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