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

AW: Re: Use of ES5 features in teatharness.js

From: Fritz, Kay, VF-DE <Kay.Fritz@vodafone.com>
Date: Tue, 1 Nov 2011 18:59:41 +0100
Message-ID: <0B1FD1F2439FB846A6BE4020881C040A0248FE2A@VF-MBX17.internal.vodafone.com>
To: <miketaylr@gmail.com>, <ayg@aryeh.name>
Cc: <jgraham@opera.com>, <public-html-testsuite@w3.org>, <public-test-infra@w3.org>
I think most mobile browser don't fully support ES5, please keep it in mind.

Kind regards
Kay 

Die gesetzlichen Pflichtangaben finden Sie unter http://www.vodafone.de/pflichtangaben 


________________________________

Von: Mike Taylor <miketaylr@gmail.com> 
An: Aryeh Gregor <ayg@aryeh.name> 
Cc: James Graham <jgraham@opera.com>; public-html-testsuite@w3.org <public-html-testsuite@w3.org>; public-test-infra@w3.org <public-test-infra@w3.org> 
Gesendet: Tue Nov 01 15:52:33 2011
Betreff: Re: Use of ES5 features in teatharness.js 




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 18:00:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 November 2011 18:00:34 GMT