Re: Fwd: A question about multithreading in gecko using javascript

2012-12-20 Thread David Rajchenbach-Teller
On 12/20/12 7:27 AM, Ray You wrote: > How can we start a real thread in gecko using javascript and use XPCOM > in it? > > Is dispatching events to /nsIStreamTransportService/ or > /nsIThreadManager.newThread(0) /the right way? I don't think this is supported anymore. As far as I can tell, if you

Re: Fwd: A question about multithreading in gecko using javascript

2012-12-20 Thread Neil
David Rajchenbach-Teller wrote: On 12/20/12 7:27 AM, Ray You wrote: How can we start a real thread in gecko using javascript and use XPCOM in it? Is dispatching events to /nsIStreamTransportService/ or /nsIThreadManager.newThread(0) /the right way? I don't think this is supported anym

Re: Integrating ICU into Mozilla build

2012-12-20 Thread Gervase Markham
On 03/12/12 19:32, Norbert Lindenberg wrote: As part of implementing the ECMAScript Internationalization API [1, 2] in SpiderMonkey, and as an aid in internationalizing other functionality in Mozilla products [3], I need to integrate the ICU library (International Components for Unicode [4]) into

Re: Tablet vs. Touch: decision

2012-12-20 Thread Gervase Markham
On 19/12/12 10:21, Gervase Markham wrote: On 18/12/12 18:51, Alex Keybl wrote: Agreed that major fallout is unlikely - do we have a list of the most heavily used mobile tablet sites to verify that this change will not cause severe web regressions though? I will consult the wonderful Mr. Mandel

Filing bugs for intermittent failures on TBPL - new keyword

2012-12-20 Thread Ed Morley
Hi all Bugs filed for intermittent failures (aka "random oranges") seen on our test automation have now been transitioned to using a new bugzilla keyword instead of the whiteboard annotation. This helps to reduce the load on bugzilla caused by TBPL's BzAPI calls, when it searches for bugs to su

Re: Integrating ICU into Mozilla build

2012-12-20 Thread Norbert Lindenberg
I'm working on a document discussing the issues and possible solutions, including some that haven't come up in the discussion yet. This will hopefully provide a basis for further discussion and decision. Thanks, Norbert On Dec 20, 2012, at 5:42 , Gervase Markham wrote: > On 03/12/12 19:32, No

Re: Fwd: A question about multithreading in gecko using javascript

2012-12-20 Thread Ray You
1. Can we call XPCOM in js-ctype code? 2. What about this code in DeviceStorage implementation? https://mxr.mozilla.org/mozilla-central/source/dom/devicestorage/nsDeviceStorage.cpp#1121 nsCOMPtrhttp://dxr.mozilla.org/search.cgi?tree=mozilla-central&string=nsIEventTarget>>target

Removing writable [Replaceable] properties

2012-12-20 Thread Jeff Walden
Gecko (not specs) has a concept of writable [Replaceable] attributes. It uses them for these properties: window.innerWidth window.innerHeight window.outerWidth window.outerHeight window.screenX window.screenY window.opener window.status window.name In our implementation, a wri

Re: Removing writable [Replaceable] properties

2012-12-20 Thread Boris Zbarsky
On 12/20/12 12:14 PM, Jeff Walden wrote: Setting it creates a shadowing property on window itself, using the exact value passed in. // Current Gecko alert(typeof window.screenX); // number window.screenX = "123"; alert(typeof window.screenX); // string, not number Er... no. If

Re: Removing writable [Replaceable] properties

2012-12-20 Thread Robert O'Callahan
Seems like a reasonable change to me, for the inner*, outer* and screen* properties. I don't know about the others. Rob -- Jesus called them together and said, “You know that the rulers of the Gentiles lord it over them, and their high officials exercise authority over them. Not so with you. Inst

Re: Removing writable [Replaceable] properties

2012-12-20 Thread Jeff Walden
On 12/20/2012 03:38 PM, Boris Zbarsky wrote: > On 12/20/12 12:14 PM, Jeff Walden wrote: >> Setting it creates a shadowing property on window itself, using the exact >> value passed in. >> >>// Current Gecko >>alert(typeof window.screenX); // number >>window.screenX = "123"; >>aler