When overridePreferences was added back in the day:
http://trac.webkit.org/changeset/39212

The contract was that DRT would call resetDefaults between tests.  I
don't know what the current status of resetToDefaults implementations
in other ports or in non-WK1 architectures.

On Wed, Sep 26, 2012 at 3:53 PM, Brady Eidson <[email protected]> wrote:
>
> On Sep 26, 2012, at 1:48 PM, Ryosuke Niwa <[email protected]> wrote:
>
> On Wed, Sep 26, 2012 at 1:44 PM, Simon Fraser <[email protected]>
> wrote:
>>
>>
>>  First, direct calls on testRunner that just set preferences should be
>> migrated to internals.settings or testRunner.overridePreference calls, I
>> think (I don't know if either is preferred).
>
>
> I support the idea of unifying the approaches and just use
> internals.settings. However, the last time I checked, Alexey had some
> concerns about using internals due to settings may not be properly
> propagated to WebKit2 layer. Has this concern been addressed?
>
>
> In general I prefer the overridePreference() calls whenever they exist.
>
> internals.settings are not exposed in any real-world product whereas
> preferences exist in each platform's WebKit-layer API that they expose to
> their embedders in some form.
>
> ~Brady
>
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to