[webkit-dev] window.internals abuse

Dana Jansens danakj at chromium.org
Wed Mar 13 10:15:58 PDT 2013


On Wed, Mar 13, 2013 at 12:42 PM, Simon Fraser <simon.fraser at apple.com>wrote:

> https://bugs.webkit.org/show_bug.cgi?id=80046 (landed in
> http://trac.webkit.org/changeset/114081) added
> internals. setBackgroundBlurOnNode().
>
> I consider this to be abuse of the Internals object. As shown by the
> location of the files (Source/WebCore/*testing*/Internals.*), the
> Internals interface is intended for testing, not adding API to toggle
> features in WebCore for non-test code.
>

Sorry, but I think this is based on a misunderstanding. That function is
used for enabling the feature in layout tests in order to verify it is
working. It is not used in non-test code.

- dana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130313/a1a0ce3f/attachment.html>


More information about the webkit-dev mailing list