[webkit-dev] Removing obsolete File attributes

Darin Fisher darin at chromium.org
Fri Feb 24 12:06:16 PST 2012


On Fri, Feb 24, 2012 at 12:00 PM, Maciej Stachowiak <mjs at apple.com> wrote:

>
> On Feb 24, 2012, at 11:52 AM, Darin Fisher wrote:
>
> As I mentioned in the bug, it is encouraging news that Mozilla has already
> removed these attributes (for a couple releases now).  I would like to see
> them go away too.
>
> There's unfortunately, the real possibility that there may be some
> existing webkit-specific or chrome-specific (extensions) content out there
> that is expecting these properties to exist.  I think we need to be a bit
> cautious since we've included these properties in webkit for such a long
> time (since 2008!).  Here's the revision that added them:
> http://trac.webkit.org/changeset/34702
>
>
> Is there a good way to quantify and/or mitigate this risk?
>

Well, we could certainly instrument a Chrome nightly build to measure
accesses made on these attributes, and see what that turns up.  I haven't
thought about it enough to decide what a good metric would be.  You
probably want to know the percentage of unique pages that depend on these
features.  It is probably easier to measure percentage of navigations that
resulted in a document that depended on these features.  That would
over-estimate usage if a page that needs these features is navigated to
frequently.

I'm concerned that it may be tricky to grep the repository of Chrome
extensions (or Google's index of the web) since "fileName" and "fileSize"
are likely to be very common terms.

-Darin



>
> Regards,
> Maciej
>
>
> -Darin
>
>
>
> On Fri, Feb 24, 2012 at 9:36 AM, Alexey Proskuryakov <ap at webkit.org>wrote:
>
>>
>> I'd like to remove old File object properties that are superseded in
>> current spec versions, and have been already removed from Firefox: <
>> https://bugs.webkit.org/show_bug.cgi?id=79383>.
>>
>> Would any ports want to keep these under a feature flag, or to have some
>> time to investigate possible consequences of the removal for port specific
>> content?
>>
>> - WBR, Alexey Proskuryakov
>>
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120224/6d7c2268/attachment.html>


More information about the webkit-dev mailing list