Re: Intent to unship: cross-context @@hasInstance in IDL interfaces

2021-03-05 Thread Peter Van der Beken via dev-platform
Note that for now code running with system principals still has the hasInstance hook, so instanceof will still return true there if the platform object and its interface's prototype object are from different realms. We do plan to align to the behaviour from the spec everywhere in the near futur

Fission Newsletter #4

2019-12-09 Thread Peter Van der Beken via dev-platform
It's been two months since the last newsletter and there have been quite some accomplishments for Fission. Fission Milestones M4, M4.1 and M5 Fission M4 milestone aimed to get Mochitests running and successfully passing with Fission enabled. https://arewefissionyet.com/m4/?original shows the

Re: PSA: Chrome-only WebIDL interfaces no longer require DOM peer review

2018-03-09 Thread Peter Van der Beken via dev-platform
On 09/03/2018 00:06, Kris Maglione wrote: There are different costs to WebIDL and XPIDL bindings. WebIDL bindings have more cost in terms of compiled code size. XPIDL have greater costs in terms of performance and runtime memory. It's not that simple. In terms of runtime memory for example, XP

Re: Still-supported cases of out-of-tree XPCOM code?

2017-11-15 Thread Peter Van der Beken via dev-platform
It might be because this is a legacy 'embedded WebExtension' addon signed by Mozilla. It doesn't get disabled in 57 because it's signed by Mozilla. But we really should just load the WebExtension instead of using the legacy addon code imho. On 15/11/2017 10:04, Henri Sivonen wrote: > I don't q

nsWrapperCache::SetIsDOMBinding is no more

2014-10-08 Thread Peter Van der Beken
When implementing a class inheriting from nsWrapperCache and using DOM bindings it used to be the case that one needed to call SetIsDOMBinding() from the constructor. This is no longer necessary, and nsWrapperCache::SetIsDOMBinding has been removed. We've added a private nsWrapperCache::SetIsN

DOM Bindings Meeting - Monday @ 12:30 PM PST

2014-05-05 Thread Peter Van der Beken
Our (somewhat) weekly DOM bindings meetings continue on Monday May 5th at 12:30 PM PDT. Meeting details: * Monday, May 5th, 2014, 12:30 PM PDT (3:30 PM EDT/9:30 PM CEST) * Dial-in Info: - Vidyo room: Boris Zbarsky (https://v.mozilla.com/flex.html?roomdirect.html&key=DXThGJaiHtX3) - In office

Re: NS_New$THING vs. new $THING

2012-10-09 Thread Peter Van der Beken
On 08/10/12 04:14, Boris Zbarsky wrote: On 10/7/12 4:13 PM, Ehsan Akhgari wrote: Nice! Can you please share some info on when you can avoid inheriting from nsISupports and whether we can make the cycle collector aware of such objects? Basically, the rules are as follows: 1) You need to eith