[webkit-dev] Settings and Preferences in layout tests
eric at webkit.org
Wed Sep 26 14:00:14 PDT 2012
When overridePreferences was added back in the day:
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 <beidson at apple.com> wrote:
> On Sep 26, 2012, at 1:48 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> On Wed, Sep 26, 2012 at 1:44 PM, Simon Fraser <simon.fraser at apple.com>
>> 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.
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
More information about the webkit-dev