[webkit-dev] Determining platform in LayoutTests
ojan at chromium.org
Mon Mar 29 08:44:38 PDT 2010
On Sun, Mar 28, 2010 at 8:58 PM, Alexey Proskuryakov <ap at webkit.org> wrote:
> 28.03.2010, в 19:26, Sam Weinig написал(а):
> > One alternative, where applicable, is to make the behavior a runtime
> setting, and thus enable testing it on all platforms. Performance could get
> in the way of this.
> That's how we've been doing it for some selection-related tests, and that's
> definitely the best approach as far as testing is concerned. This way, all
> code paths get tested on all platforms.
There's a FIXME in the handful of tests that do this to expose the
editingBehavior setting and use that instead. That's clearly the right
solution in this case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev