blob: 2a14c74cfd2f3f1dca238402e4558c84dc60af7b [file] [log] [blame]
function isGtk()
{
return navigator.userAgent.includes("WebKitTestRunnerGTK");
}
function isEfl()
{
return navigator.userAgent.includes("WebKitTestRunnerEFL");
}
function videoCanvasPixelComparisonTolerance()
{
if (isGtk() || isEfl())
return 6;
return 2;
}