On 2014/08/11 02:34:05, falken wrote:
> I'm not positive, but it might be possible to remove these runPixelTests
> variables now that everything is a reftest.
Unfortunately it isn't, calling testRunner.dumpAsText() makes the test fail,
expecting "pass" but getting "image". Splitting runWithKeyDown into a separate
script would help, though, if you think it's worth it.
falken
2014/08/12 00:18:00
Ah, this is because not all users of full-screen-t
On 2014/08/11 11:22:08, philipj wrote:
> On 2014/08/11 02:34:05, falken wrote:
> > I'm not positive, but it might be possible to remove these runPixelTests
> > variables now that everything is a reftest.
>
> Unfortunately it isn't, calling testRunner.dumpAsText() makes the test fail,
> expecting "pass" but getting "image". Splitting runWithKeyDown into a separate
> script would help, though, if you think it's worth it.
Ah, this is because not all users of full-screen-tests.js are ref tests? I was
thinking it may be possible to delete the lines:
if (window.runPixelTests)
testRunner.dumpAsTextWithPixelResults();
else
testRunner.dumpAsText();
philipj_slow
2014/08/12 06:41:20
No, that can't be removed just yet. However, after
On 2014/08/12 00:18:00, falken wrote:
> On 2014/08/11 11:22:08, philipj wrote:
> > On 2014/08/11 02:34:05, falken wrote:
> > > I'm not positive, but it might be possible to remove these runPixelTests
> > > variables now that everything is a reftest.
> >
> > Unfortunately it isn't, calling testRunner.dumpAsText() makes the test fail,
> > expecting "pass" but getting "image". Splitting runWithKeyDown into a
separate
> > script would help, though, if you think it's worth it.
>
> Ah, this is because not all users of full-screen-tests.js are ref tests? I was
> thinking it may be possible to delete the lines:
> if (window.runPixelTests)
> testRunner.dumpAsTextWithPixelResults();
> else
> testRunner.dumpAsText();
No, that can't be removed just yet. However, after trust-event.js has landed
maybe I can convert some reftests to use that instead, getting rid of
runPixelTests.
Issue 457663002: Convert more fullscreen tests to reftests
(Closed)
Created 6 years, 4 months ago by philipj_slow
Modified 6 years, 4 months ago
Reviewers: falken
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 14