W3C home > Mailing lists > Public > public-test-infra@w3.org > October to December 2011

Re: Use of ES5 features in teatharness.js

From: Mike Taylor <miketaylr@gmail.com>
Date: Tue, 1 Nov 2011 10:52:33 -0400
Message-ID: <CAEsC=nTOcS2nrGUEC7naiJpJude8n7KOonMq+GOXjPmmobyaag@mail.gmail.com>
To: Aryeh Gregor <ayg@aryeh.name>
Cc: James Graham <jgraham@opera.com>, public-html-testsuite@w3.org, public-test-infra@w3.org
On Mon, Oct 31, 2011 at 4:49 PM, Aryeh Gregor <ayg@aryeh.name> wrote:

> On Mon, Oct 31, 2011 at 4:21 PM, James Graham <jgraham@opera.com> wrote:
> > Will anyone have a problem if we start using ES5 features in
> testharness.js?
> > It will allow more precise testing of some WebIDL stuff. I think all
> > browsers ship ES5 implementations these days so there shouldn't be a
> problem
> > with compatibility.
>
> As far as I'm aware, released versions of Opera do not have full
> support for ES5.  E.g.,
>
> data:text/html,<!doctype html><script>alert("keys" in Object)</script>
>
> alerts "false" in Opera 11.50 (although "true" in recent
> Chrome/Firefox), and "Check For Updates" tells me this is the latest
> version.  Object.keys is defined in ES5:
>
> http://es5.github.com/#x15.2.3.14


Opera Next has full ES5.1 support: http://www.opera.com/browser/next/
Received on Tuesday, 1 November 2011 14:53:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 November 2011 14:53:14 GMT