Re: Should MutationObserver ensure HTML file nodes are run through it before they're injected in DOM?

2014-04-18 Thread Jonas Sicking
On Fri, Apr 18, 2014 at 3:29 PM, Zibi Braniecki wrote: > Question: should mutationobserver's callback be run on those nodes before > firstPaint? Yes > Question 2: should mutationobserver's callback be run on those nodes before > they are injected into DOM? No. That would require them to fire

Re: ASSERTION: bad size recorded: 'aInstanceSize == 0 || entry->GetClassSize() == aInstanceSize

2014-04-18 Thread Kyle Huey
On Fri, Apr 18, 2014 at 4:56 PM, Neil wrote: > L. David Baron wrote: > >> Classes that use the NS_IMPL_ISUPPORTSn or NS_IMPL_ADDREF + >> NS_IMPL_RELEASE macros should use the fully qualified class name and not >> depend on being inside namespace declarations. >> > > One of our compilers complains

Re: ASSERTION: bad size recorded: 'aInstanceSize == 0 || entry->GetClassSize() == aInstanceSize

2014-04-18 Thread Neil
L. David Baron wrote: Classes that use the NS_IMPL_ISUPPORTSn or NS_IMPL_ADDREF + NS_IMPL_RELEASE macros should use the fully qualified class name and not depend on being inside namespace declarations. One of our compilers complains if you try to define something in a different namespace t

Re: ASSERTION: bad size recorded: 'aInstanceSize == 0 || entry->GetClassSize() == aInstanceSize

2014-04-18 Thread L. David Baron
On Saturday 2014-04-19 08:36 +0900, ISHIKAWA,chiaki wrote: > I see the following ASSERTION error about *800* times during > test run of |mach mochitest-plain| of full debug build of FF created > from M-C portion (./mozilla) of C-C source tree. > They look grave but test harness seems to pass the t

ASSERTION: bad size recorded: 'aInstanceSize == 0 || entry->GetClassSize() == aInstanceSize

2014-04-18 Thread ISHIKAWA,chiaki
I see the following ASSERTION error about *800* times during test run of |mach mochitest-plain| of full debug build of FF created from M-C portion (./mozilla) of C-C source tree. They look grave but test harness seems to pass the tests themsevles most of the time. ###!!! ASSERTION: bad size recor

Removing "[PID]" prefix from |make mozmill| warning/error/assertion lines?

2014-04-18 Thread ISHIKAWA,chiaki
Hi, I have been analyzing warning/error/assertion lines produced by full debug version of TB (comm-central). To facilitate the analysis I created a few scripts to process the error statistically. Staring 1Q of 2014, I think such lines are prefixed with "[pid] ". Now that probably is very good, bu

Re: Using rr to track down intermittent test failures

2014-04-18 Thread Robert O'Callahan
The Timelapse project is cool but this thread got derailed. We have a long list of future improvements to make to rr, and improving support for JS debugging is on that list. The point of this thread is that if you're debugging intermittent test failures and you don't need much JS debugging then yo

Should MutationObserver ensure HTML file nodes are run through it before they're injected in DOM?

2014-04-18 Thread Zibi Braniecki
I'm trying to use MutationObserver to do runtime localization of the nodes that are provided by an HTML file. I register the mutation observer on document at it's readyState=loading and in result all nodes that are in HTML files are reported to my callback. That's cool. Now, usually, firstPain

Re: PSA: Nightly 31 will become the next ESR

2014-04-18 Thread Chris Peterson
Just a friendly reminder: next week is your last opportunity to remove all those deprecated features that you don't want to support in ESR 31 until August 2015! :) https://wiki.mozilla.org/Enterprise/Firefox/ExtendedSupport:Proposal#Version_Numbers chris On 3/18/14, 1:40 PM, Chris Peterson

Re: Spring cleaning: Reducing Number & Footprint of HG Repos

2014-04-18 Thread Randell Jesup
>Additionally I've been setting up a host named hg-archive.mozilla.org with >a lower SLA to shelve repositories that have not been touched in many many >years. Deleting this old code from hg.m.o, even if it's available elsewhere >if an unpopular thing to do, so it's unsurprising I didn't receive mu

Re: Policy for disabling tests which run on TBPL

2014-04-18 Thread jmaher
I have made small edits thanks to Kyle and Karl, the official policy is posted on the Sheriffing wiki page: https://wiki.mozilla.org/Sheriffing/Test_Disabling_Policy ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/l

Re: Landing c-c-breaking changes that remove c-c-only code from m-c

2014-04-18 Thread ISHIKAWA, Chiaki
(2014/04/18 2:00), Ehsan Akhgari wrote: On 2014-04-17, 10:00 AM, Neil wrote: Henri Sivonen wrote: I am not done preparing the removal patches yet, but with my current patch queue I can already get 149 KB off of Android ARMv7 optimized apk size and 138 KB off of Android ARMv7 optimized libxul s

How to use the correct fonts on Firefox OS simulators?

2014-04-18 Thread Jan Keromnes
On Firefox OS devices, special fonts like "Fira Sans" and "Fira Mono" are used. On desktop environments (Simulator / B2G desktop), different fonts are used. We are trying to fix this in bug 992210, but we are not familiar with how fonts work in Firefox, and need some help. In Gaia, generic fon

Re: Intent to ship navigator.sendBeacon

2014-04-18 Thread Jonas Sicking
On Wed, Apr 16, 2014 at 7:52 AM, Benjamin Smedberg wrote: > On 4/16/2014 9:30 AM, Richard Barnes wrote: >> Allows pages to send a "beacon" HTTP request. Beacons are allowed a >> limited subset of HTTP (only a few content types), and the JS cannot receive >> the content of the response. However,