Re: some errata in PDF

2007-09-04 Thread Lars T Hansen
On 9/5/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > On 8/26/07, Lars T Hansen <[EMAIL PROTECTED]> wrote: > > On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > > > http://developer.mozilla.org/es4/spec/spec.html > > > > > > Bottom of the page. > > > > > > I found that it was convenient for pr

Re: some errata in PDF

2007-09-04 Thread Garrett Smith
On 8/26/07, Lars T Hansen <[EMAIL PROTECTED]> wrote: > On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > > http://developer.mozilla.org/es4/spec/spec.html > > > > Bottom of the page. > > > > I found that it was convenient for printing. > > > > Am I'm reading another out-of-date spec? > > Very.

Re: some errata in PDF

2007-09-03 Thread Brendan Eich
On Sep 3, 2007, at 7:10 PM, Brendan Eich wrote: > On Sep 3, 2007, at 3:00 AM, Lars T Hansen wrote: > >> On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: >>> Back to "caller"... >>> "caller" is on the prototype in Mozilla. > > Not lately: > > js> function f(){ return f.hasOwnProperty('caller')}

Re: some errata in PDF

2007-09-03 Thread Brendan Eich
On Sep 3, 2007, at 3:00 AM, Lars T Hansen wrote: > On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: >> Back to "caller"... >> "caller" is on the prototype in Mozilla. Not lately: js> function f(){ return f.hasOwnProperty('caller')} js> f() This is a SpiderMonkey REPL based on code going int

Re: some errata in PDF

2007-09-03 Thread Lars T Hansen
On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > Back to "caller"... > "caller" is on the prototype in Mozilla. Not sure where it is in IE, > prototype or instance. > > On the instance in WebKit. > > Absent in Opera. Absent in ES3. Absent in ES4. function f() { // I wonder how my caller

Re: some errata in PDF

2007-09-03 Thread Lars T Hansen
On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > The > perfectly valid use case of trying to have a private constructor, will > not, unfortunately be accommodated by ES4; Now filed as bug 166 in the Trac. --lars ___ Es4-discuss mailing list Es4-d

Re: some errata in PDF

2007-08-26 Thread liorean
> > On 26/08/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > > > Missing: > > > Function.prototype.caller > On 8/25/07, liorean <[EMAIL PROTECTED]> wrote: > > Should this property really be on the prototype? On 26/08/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > It's useful for two cases: > 1. D

Re: some errata in PDF

2007-08-26 Thread Lars T Hansen
On 8/26/07, Lars T Hansen <[EMAIL PROTECTED]> wrote: > On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > > http://developer.mozilla.org/es4/spec/spec.html > > > > Bottom of the page. > > > > I found that it was convenient for printing. > > > > Am I'm reading another out-of-date spec? > > Very.

Re: some errata in PDF

2007-08-26 Thread Lars T Hansen
On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > http://developer.mozilla.org/es4/spec/spec.html > > Bottom of the page. > > I found that it was convenient for printing. > > Am I'm reading another out-of-date spec? Very. This is the baseline spec, derived from the ActionScript 3 spec, somew

Re: some errata in PDF

2007-08-26 Thread Garrett Smith
On 8/25/07, liorean <[EMAIL PROTECTED]> wrote: > On 26/08/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > > Missing: > > Function.prototype.caller > > Should this property really be on the prototype? It's useful for two cases: 1. Debugging 2. enforcing an entry point to a constructor. The second u

Re: some errata in PDF

2007-08-25 Thread liorean
On 26/08/07, Garrett Smith <[EMAIL PROTECTED]> wrote: > Missing: > Function.prototype.caller Should this property really be on the prototype? Even placing it on the Function instances alone seems a bad idea to me, since the value is per call and not per function object. But placing it on the Funct

some errata in PDF

2007-08-25 Thread Garrett Smith
PDF Spec: Pages 163 - 168 Methods are not alphebetized. Many methods missing. Page 163: Missing: Object.prototype.superclass ? Missing: Function.prototype.caller Function.prototype.name ? Duplicate: Function.prototype Missing: Array extras Array