Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion JSAPI organization

Received: by 10.66.85.168 with SMTP id i8mr380714paz.21.1353002573933;
        Thu, 15 Nov 2012 10:02:53 -0800 (PST)
Path: s9ni13500pbb.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 15 Nov 2012 12:02:53 -0600
Message-ID: <50A52E4D.5020201@mit.edu>
Date: Thu, 15 Nov 2012 10:02:53 -0800
From: Jeff Walden <jwalden+...@mit.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2
MIME-Version: 1.0
Newsgroups: mozilla.dev.tech.js-engine
To: Boris Zbarsky <bzbar...@mit.edu>
Subject: Re: JSAPI organization
References: <b57f32fd-9d57-4364-8f84-dbfb51c4e730@googlegroups.com> <keKdneXwVu_0bhLNnZ2dnUVZ_rKdnZ2d@mozilla.org> <9MOdnSpJ-sB6JzzNnZ2dnUVZ_qidnZ2d@mozilla.org> <A8ednQ63Ge1U2TnNnZ2dnUVZ_hednZ2d@mozilla.org> <50A4542C.2080108@mit.edu> <Y_-dnasRt9LXHznNnZ2dnUVZ_jSdnZ2d@mozilla.org>
In-Reply-To: <Y_-dnasRt9LXHznNnZ2dnUVZ_jSdnZ2d@mozilla.org>
Lines: 6
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 71.202.165.226
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-weS7UNQSXJAqfHj0/cVjgEvfkFS9bC9F3UMTOhoYlSexbYvQWacssZEHB80D/6ktU7scppM7Noj2VKn!PsUAgQkClV5nNT2nJ9PgHWvo1h1JT11wHo/l+B3mJKoZHgiWCXtx8sO2rQHKI/8=
X-Complaints-To: abuse@mozilla.org
X-DMCA-Complaints-To: ab...@mozilla.org
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 2155
X-Original-Bytes: 2094
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 11/14/2012 09:48 PM, Boris Zbarsky wrote:
> Um.  At that point we'd have one JSContext for all windows, period.  So I certainly hope we would not be limited to creating globals to right after we created the JSContext...  I feel like I'm just misunderstanding something.

Overreading, perhaps.  :-)  You wouldn't at all be limited to then, just that the ordinary course of using the JSAPI would have you create your runtime, then create the global, then go to town with it, no other fuss necessary.  Embeddings that wanted more global objects could of course create them basically any time they wanted after the runtime was created.

Jeff