Re: B2G emulator issues

2014-04-08 Thread Karl Tomlinson
Randell Jesup writes: > 1) running on TBPL (AWS) the internal timings reported show the specific >test going from 30 seconds to 450 seconds with the patch. > 2) on my local system, the test self-reports ~10 seconds, with or >without the patch. > Note: the timer in question is nsITimer::TY

Re: Policy for disabling tests which run on TBPL

2014-04-08 Thread Karl Tomlinson
Aryeh Gregor writes: > On Tue, Apr 8, 2014 at 2:41 AM, Ehsan Akhgari wrote: >> What you're saying above is true *if* someone investigates the >> intermittent test failure and determines that the bug is not >> important. But in my experience, that's not what happens at >> all. I think many peopl

Re: Policy for disabling tests which run on TBPL

2014-04-09 Thread Karl Tomlinson
Gregory Szorc writes: > 2) Run marked intermittent tests multiple times. If it works all > 25 times, fail the test run for inconsistent metadata. We need to consider intermittently failing tests as failed, and we need to only test things that always pass. We can't rely on statistics to tell us a

Re: Recommendations on source control and code review

2014-04-13 Thread Karl Tomlinson
On Fri, 11 Apr 2014 13:29:01 -0700, Gregory Szorc wrote: > https://secure.phabricator.com/book/phabflavor/article/writing_reviewable_code > I would be thrilled if we started adopting some of the > recommendations such as more descriptive commit messages and many, > smaller commits over fewer, com

Re: Recommendations on source control and code review

2014-04-13 Thread Karl Tomlinson
I also added a link at https://developer.mozilla.org/en-US/docs/Developer_Guide/How_to_Submit_a_Patch#Creating_a_patch Benoit Girard writes: > I didn't know this existed. I filed bug 995763 to get this link added to > the 'review requested' email to hopefully increase visibility. > > > On Sat, A

Re: Recommendations on source control and code review

2014-04-13 Thread Karl Tomlinson
Joshua Cranmer 🐧. writes: > On 4/13/2014 4:42 PM, Robert O'Callahan wrote: >> Honestly, I think we're already pretty close to most of those >> recommendations, most of the time. Some experienced Mozillians are breaking up their large changes well, but some are not. And many less experienced cont

Re: Policy for disabling tests which run on TBPL

2014-04-15 Thread Karl Tomlinson
Thank you for putting this together. It is important. jmaher writes: > This policy will define an escalation path for when a single test case is > identified to be leaking or failing and is causing enough disruption on the > trees. > Exceptions: > 1) If this test has landed (or been modified) i

Re: Gecko style: Formatting function return type and specifiers

2014-05-18 Thread Karl Tomlinson
Birunthan Mohanathas writes: > For top-level function definitions, the recommended style is: > > template > static inline T > Foo() > { > // ... > } The main reasons for having the function name at the start of a new line, I assume, was to help some tools (including diff

Re: B2G, email, and SSL/TLS certificate exceptions for invalid certificates

2014-05-28 Thread Karl Tomlinson
Thanks for the overview of a real problem, Andrew. (I recall having to add an exception for a "Mozilla Root CA" to access email at one time.) Andrew Sutherland writes: > I propose that we use a certificate-observatory-style mechanism to > corroborate any invalid certificates by attempting the con

Re: Depending on libnotify

2014-07-06 Thread Karl Tomlinson
Philip Chee writes: > On 02/07/2014 18:13, David Rajchenbach-Teller wrote: > We had libnotify support but this was removed from the tree on the > grounds that it didn't suit our needs. I don't think those were the grounds. AIUI it was just that people didn't want to put effort into a lower prior

Re: Getting rid of already_AddRefed?

2014-08-12 Thread Karl Tomlinson
Aryeh Gregor writes: > The compiler is required to use the move constructor (if one exists) > instead of the copy constructor when constructing the return value of > a function, and also when initializing an object from the return value > of a function, or assigning the return value of a function.

Re: treating B2G device tests as tier 1

2014-10-15 Thread Karl Tomlinson
Jonas Sicking writes: > But any type of regression is cause for backout. While I agree regressions are bad, this isn't the usual process. If it were, then I wouldn't bother filing bugs, but merely back out the offending change. There is some kind test for whether the regression costs more than

Re: Removing unused Perl scripts from the tree

2014-10-27 Thread Karl Tomlinson
Nicholas Nethercote writes: > UNSURE > -- > ./layout/mathml/updateOperatorDictionary.pl > - appears to be in fairly recent use This was used to generate an in-tree file from an external spec. It is reasonably likely that there will be future changes to the spec, in which case the script will

Re: [RFC] We deserve better than runtime warnings

2014-11-20 Thread Karl Tomlinson
L. David Baron writes: >> On 20/11/14 17:56, Boris Zbarsky wrote: >> > Ah, we can't. We can whitelist the number of assertions in a mochitest >> > (or a number range if the number is not quite stable), but not the text >> > of the assertion. > > On Thursday 2014-11-20 18:05 +0100, David Rajchenba

Re: Unified compilation is going to ride the train

2014-12-01 Thread Karl Tomlinson
On Fri, 28 Nov 2014 00:46:07 -0800, L. David Baron wrote: > On Friday 2014-11-28 10:12 +0900, Mike Hommey wrote: >> The downside from doing so, though, is that non-unified build *will* >> be broken, and code "purity" (right includes in the right sources, >> mostly) won't be ensured. Do you think th

Re: PSA: Flaky timeouts in mochitest-plain now fail newly added tests

2014-12-26 Thread Karl Tomlinson
On Fri, 19 Dec 2014 18:58:53 -0500, Ehsan Akhgari wrote: > On 2014-12-19 4:40 PM, Nils Ohlmeier wrote: >>> On Dec 19, 2014, at 6:56 AM, Ehsan Akhgari wrote: >>> Logging sufficiently is almost always enough to not have to >>> use these timers, as those tests have demonstrated in >>> practice.

Re: Getting rid of already_AddRefed?

2014-12-26 Thread Karl Tomlinson
> On Tue, Dec 23, 2014 at 1:21 AM, Ehsan Akhgari > wrote: >> Are there good use cases for having functions accept an >> nsRefPtr&? If not, we can outlaw them. Aryeh Gregor writes: > Do we have a better convention for an in/out parameter that's a > pointer to a refcounted class? editor uses thi

Re: SpiderMonkey and XPConnect style changing from |T *p| to |T* p|

2015-03-29 Thread Karl Tomlinson
Bobby Holley writes: > On Fri, Mar 27, 2015 at 2:04 PM, Mats Palmgren wrote: > > So let's change the project-wide coding rules instead to allow 99 >> columns as the hard limit, but keep 80 columns as the recommended >> (soft) limit. >> > > I think we should avoid opening up a can of worms on the

Re: Can we make try builds default to a different profile than Nightly/Aurora/Beta/Release builds?

2015-04-16 Thread Karl Tomlinson
On Wed, 8 Apr 2015 20:40:12 -0700, Nicholas Alexander wrote: > On Wed, Apr 8, 2015 at 4:06 PM, Mike Hommey wrote: > >> If >> running nightly screws up profiles for older versions, that's a serious >> problem imho. >> > > Really? Presumably not every forward DB migration can be reverted without >

Re: Proposal to alter the coding style to not require the usage of 'virtual' where 'override' is used

2015-04-29 Thread Karl Tomlinson
Ehsan Akhgari writes: > On 2015-04-27 9:54 PM, Trevor Saunders wrote: >> On Mon, Apr 27, 2015 at 09:07:51PM -0400, Ehsan Akhgari wrote: >>> On Mon, Apr 27, 2015 at 5:45 PM, Trevor Saunders >>> wrote: >>> I believe we have some cases in the tree where a virtual function doesn't override

Re: Proposal to alter the coding style to not require the usage of 'virtual' where 'override' is used

2015-04-29 Thread Karl Tomlinson
Ehsan Akhgari writes: > I think there's a typo of some sort in the question, but if you > meant "every overriding function must be marked with override", > then yes, that is the change I'm proposing, but the good news is > that you can now run clang-tidy on the entire tree and get it to > rewrite

Re: Proposal to alter the coding style to not require the usage of 'virtual' where 'override' is used

2015-05-07 Thread Karl Tomlinson
Ehsan Akhgari writes: >> This seems similar to the compiler warning situation. >> Usually at least, I don't think we should automatically modify the >> code in line with how the compiler reads the code just to silence >> the warning. Instead the warning is there to indicate that a >> programmer n

Re: Proposal to alter the coding style to not require the usage of 'virtual' where 'override' is used

2015-05-07 Thread Karl Tomlinson
Ehsan Akhgari writes: > On 2015-05-07 5:53 PM, Karl Tomlinson wrote: >> Ehsan Akhgari writes: >> >>>> This seems similar to the compiler warning situation. >>>> Usually at least, I don't think we should automatically modify the >>>> c

Re: PSA: New C++11 features made available by dropping support for gcc-4.6 in Gecko 38

2015-05-12 Thread Karl Tomlinson
Ehsan Akhgari writes: > On Monday, May 11, 2015, Xidorn Quan wrote: > >> On Tue, May 12, 2015 at 7:29 AM, Ehsan Akhgari > > wrote: >> >>> On 2015-04-30 7:57 AM, Xidorn Quan wrote: I guess we probably should forbid using any expression with side effect for member initializers.

Re: Intent to implement and ship: document.execCommand("cut"/"copy")

2015-05-25 Thread Karl Tomlinson
> On 2015-05-23 5:02 AM, Jesper Kristensen wrote: >> It would be nice of you could also support paste. Ehsan Akhgari writes: > Handling paste is a difficult topic, and I definitely don't have a > good answer yet. > > Prompting for paste has two issues: > 2. The synchronous nature of the execComm

Re: what is new in talos, what is coming up

2015-06-03 Thread Karl Tomlinson
Thanks, Joel. I've benefited from being able to use perf.html#/comparechooser and will look forward to the performance discussion. jma...@mozilla.com writes: > 2) compare-talos is in perfherder > (https://treeherder.mozilla.org/perf.html#/comparechooser), other instances of > compare-talos have

Re: The War on Warnings

2015-06-03 Thread Karl Tomlinson
Martin Thomson writes: > I guess that most of these are as a result of actual problems, > even if they are minor. The ones that are actual problems would be the ones that are harder to resolve. In my experience, however, when I've seen many of one kind of warning, investigation has revealed that

Re: The War on Warnings

2015-06-04 Thread Karl Tomlinson
Nicholas Nethercote writes: > Do warnings (as opposed to NS_ASSERTION) do anything in tests? I don't > think they do. If that's right, a warning is only useful if a human > looks at it and acts on it, and that's clearly not happening for a lot > of these. Warnings in tests don't do anything but l

Re: what is new in talos, what is coming up

2015-06-04 Thread Karl Tomlinson
William Lachance writes: > Hi Karl, > > On 2015-06-04 12:30 AM, Karl Tomlinson wrote: >> jma...@mozilla.com writes: >> >>> >We will deprecate those instances of compare-talos next quarter >>> >completely. >> The treeherder version seems to rand

Re: Extra commit metadata on hg.mozilla.org

2015-06-04 Thread Karl Tomlinson
Gregory Szorc writes: > hg.mozilla.org now displays extra metadata on changeset pages. e.g. > https://hg.mozilla.org/mozilla-central/rev/dc4023d54436. Read more at > http://gregoryszorc.com/blog/2015/06/04/changeset-metadata-on-hg.mozilla.org/ Thank you, Gregory. I'm sure that will be *very* use

Re: Voting in BMO

2015-06-11 Thread Karl Tomlinson
I would like to vote for voting. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Shutdown hangs are very common

2015-07-06 Thread Karl Tomlinson
Vladan D. writes: > Should fixing shutdown hangs be higher priority? _exit() after profile-before-change notification would be the many-holes-with-one-plug bug to prioritize. https://wiki.mozilla.org/XPCOM_Shutdown https://bugzilla.mozilla.org/show_bug.cgi?id=662444 _

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-06 Thread Karl Tomlinson
Jeff Gilbert writes: > we should have a good reason or > two for making our choice. No such reason is detailed in the style guide. I find the 'a' prefix useful to tell me that this variable has the value that was provided to the function. (I'm assuming that the prefix is used with this convention

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-07 Thread Karl Tomlinson
Jeff Gilbert writes: > It can be a burden on the hundreds of devs who have to read and understand > the code in order to write more code. Some people find the prefix helps readability, because it makes extra information immediately available in the code being examined, while you are indicating th

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-07 Thread Karl Tomlinson
Jeff Gilbert writes: > I work with a number of these, but after a page or two, why is it at all > relevant which vars were args? For information flow? Should we mark locals > that purely derive from args as `aFoo` as well? Long functions (which have > poor readability anyway) generally have so muc

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-07 Thread Karl Tomlinson
Jeff Gilbert writes: > On Tue, Jul 7, 2015 at 5:41 PM, Karl Tomlinson wrote: > >> Some people find the prefix helps readability, because it makes >> extra information immediately available in the code being >> examined, while you are indicating that this is a significant

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-08 Thread Karl Tomlinson
Bobby Holley writes: > On Wed, Jul 8, 2015 at 3:52 AM, Gabor Krizsanits > wrote: > >> The priority is to automatically rewrite our source with a unified style. >>> foo -> aFoo is reasonably safe, whereas aFoo->foo is not, at least with >>> the >>> current tools. So we either need to combine the r

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-08 Thread Karl Tomlinson
Bobby Holley writes: > On Wed, Jul 8, 2015 at 4:45 PM, Karl Tomlinson wrote: > >> I think we could relax the 'a' prefix requirement to be a >> convention used when identifying the variable as a parameter is >> useful. My opinion is that this is useful for mos

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-14 Thread Karl Tomlinson
Tom Tromey writes: > It was mentioned elsewhere in this thread that some code assigns to > arguments. The style guide should clarify that parameters named aFoo should not be assigned to. Otherwise that defeats the purpose. Non-const references are the exception. If these are really needed, the

Re: Intent to implement HTMLMediaElement.srcObject partially

2015-07-19 Thread Karl Tomlinson
> AFAIK there is no webkitSrcObject, and Chrome/Opera use: > > video.src = URL.createObjectURL(stream); > > which works, but as I understand it leaves blobs around to be > garbage collected. In Gecko, object URLs from MediaStreams are currently not auto-revoked, so the MediaStream will not be

large memory allocations / resource consumption in crashtests?

2015-07-27 Thread Karl Tomlinson
Sometimes it would be nice to check in crashtests that use, or attempt to use large memory allocations, but I'm concerned that checking in these crashtests could disrupt subsequent tests because there is then not enough memory to test what they want to test. Is anything done between crashtests to

Re: large memory allocations / resource consumption in crashtests?

2015-07-27 Thread Karl Tomlinson
Thanks everyone. That gives me some ideas on how to clean up after the page. I figure that then any OOM issues will at least be in the vicinity of the test doing the large allocation. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://

Re: Allowing web apps to delay layout/rendering on startup

2015-07-30 Thread Karl Tomlinson
James Burke writes: > On Thu, Jul 30, 2015 at 1:28 PM, Jeff Muizelaar > wrote: >> Can't you just make everything display:none until you're ready to show it? > > Just using display: none seems like it will run into the same problem > that prompted bug 863499, where the browser did some render/pai

Re: Plan for Sunsetting MozReview

2018-09-05 Thread Karl Tomlinson
Martin Thomson writes: > On Wed, Sep 5, 2018 at 4:42 PM Mark Banner wrote: >> A couple of things that may help with the scrolling & finding, that >> people may or may not have found yet... > > The keyboard shortcuts are more accessible (type ? to see the list > [1]), though in my experience they

Re: C++ method definition comments

2019-01-29 Thread Karl Tomlinson
Ehsan Akhgari writes: > On Mon, Jan 28, 2019 at 6:27 PM Ryan Hunt wrote: > >> [...] >> >> So for converting from C-style to C++-style, that would be: >> >> /* static */ void Foo::Bar() { >> ... >> } >> >> // static >> void Foo::Bar() { >> ... >> } >> >> [...] >> >> My one concern would be the p

Re: C++ method definition comments

2019-01-29 Thread Karl Tomlinson
Ehsan Akhgari writes: > On Mon, Jan 28, 2019 at 2:58 PM Jeff Gilbert wrote: > >> I would much rather revert to: >> /*static*/ void >> Foo::Bar() >> >> The Foo::Bar is the most relevant part of that whole expression, which >> makes it nice to keep up against the start of the line. >> > > The clang

Re: C++ method definition comments

2019-01-30 Thread Karl Tomlinson
Ehsan Akhgari writes: > What tool do you use which has difficulty showing function names in diffs > right now? It seems to work fine for me both in git and hgweb... It's cases like these that are truncated earlier due to putting the return type before the function name: % hg export 9f7b93f5c4f8

precedence of Mozilla, Google, and clang-format styles for C++ code

2019-07-21 Thread Karl Tomlinson
Near the top of https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style there is > New code should try to conform to these standards, so it is as > easy to maintain as existing code. [...] > > This article is particularly for those new to the Mozilla > codebase [...]" Before

non-const reference parameters in new and older code

2019-07-21 Thread Karl Tomlinson
https://google.github.io/styleguide/cppguide.html#Reference_Arguments has a simple rule to determine when reference parameters are permitted: "Within function parameter lists all references must be const." This is consistent with Mozilla's previous coding style: "Use pointers, instead of references

NotNull and pointer parameters that may or may not be null

2019-07-22 Thread Karl Tomlinson
Google style requires pointers for parameters that may be mutated by the callee, which provides that the potential mutation is visible at the call site. Pointers to `const` types are permitted, but recommended when "input is somehow treated differently" [1], such as when a null value may be passed

Intent to ship: AudioWorklet

2020-04-15 Thread Karl Tomlinson
As of this week I intend to turn on AudioWorklet by default for all platforms. It has been developed behind the "dom.audioworklet.enabled" and "dom.worklet.enabled" preferences. Status in other browsers is: Chrome, Opera: shipping. Edge, Webkit: not shipping, intentions unknown. Product: Adam St

Re: PSA: Staying in control of Phabricator comments, and avoiding a footgun

2020-08-18 Thread Karl Tomlinson
Thank you for highlighting those, Jonathan. "Show Older Inlines" "Disabled" sounds like something to avoid like the plague. I wonder whether global configuration to remove that setting is available ... I find the "Collapse" operation on inline comments useful to track remaining relevant comments

Re: PSA: Staying in control of Phabricator comments, and avoiding a footgun

2020-08-18 Thread Karl Tomlinson
Karl Tomlinson writes: > "Show Older Inlines" "Disabled" sounds like something to avoid > like the plague. I wonder whether global configuration to remove > that setting is available ... My comment was rash. The setting can actually be very useful (at least tempor

Re: New XPIDL attribute: [infallible]

2012-08-26 Thread Karl Tomlinson
On Fri, 24 Aug 2012 12:20:58 -0700, Justin Lebar wrote: >> inline int32_t GetFoo() { >>int32_t result = 0; >>nsresult rv = GetFoo(&result); >>MOZ_ASSERT(NS_SUCCEEDED(rv)); >>return result; >> } > > so that we never return uninitialized memory in release builds. 0 may > or may no

I/O effect on builds [was Moving Away from Makefile's]

2012-08-29 Thread Karl Tomlinson
> On 8/22/12 6:10 AM, Robert Kaiser wrote: >> [...] >> esp. given that basic file I/O is often costly (from watching my CPU >> usage, a lot of the build time is spent in I/O wait when using spinning >> disks - SSDs improve that hugely). On Wed, 22 Aug 2012 12:29:24 -0700, Gregory Szorc wrote: >

Re: Compiling XULrunner 15.0.1 on linux slackware: ld error about VERSION script?

2012-09-20 Thread Karl Tomlinson
delen...@gmail.com writes: > When trying to build, after ./configure, I get > > gcc -shared -Wl,-z,defs -Wl,-soname -Wl,libnssutil3.so > -Wl,--version-script,/home/fab/test/linuxmint-Cinnamon-bd02368/gjs-1.33.14/xulrunner-15.0.1/security/nss/lib/util/nssutil.def > [...] > /usr/bin/ld:/home/fab

Re: try: -p all considered harmful?

2012-10-02 Thread Karl Tomlinson
Ben Hearsum writes: > On 09/29/12 12:58 AM, Kannan Vijayan wrote: >> 1. A patch that is expected to succeed, but you want to run it through >> try to verify. > >> For "optimistic" pushes, we expect that the patch goes from green => >> green. For "pessimistic" pushes we expect a listing of all ora

Re: mach has landed

2012-10-02 Thread Karl Tomlinson
On Fri, 28 Sep 2012 11:44:56 -0700, Gary Kwong wrote: >> http://blog.johnford.org/new-mac-builders-ssds-j-settings/ > > Quoted from that blog: > > "I did find that it is better to set the -j setting too high than > it is to set it too low." > > -Gary Better in terms of build time, which is the ri

Re: Proposal to remove support for the -t all trychooser syntax

2012-10-02 Thread Karl Tomlinson
Ehsan Akhgari writes: > Over in bug 796087, I'm proposing for us to remove the -t all try server > flag. The rationale is that the set of Talos tests vary greatly and most > of the people who test performance are only interested in a subset of Talos > tests. Frequently enough people change code

Re: Planning to turn off Talos tdhtml

2012-10-16 Thread Karl Tomlinson
jmaher writes: > In our continuing effort on the Auotmation and Tools team to make Talos tests > useful and make sure we know and care about what we are measuring, we have > realized that the tdhtml tests are not providing us any value. Are you able to expand on the reasons why these don't provid

Re: Freetype autohinter (was Re: Proposed W3C Charter: Web Fonts Working Group)

2012-10-16 Thread Karl Tomlinson
On 2012-10-16 9:42 AM, Henri Sivonen wrote: > (Aside: In a way, it's rather sad how much engineering effort is put > into compressing TrueType hints, when the reason for sending TrueType > hints over the wire is that Microsoft's font rasterizer's are so > backwards that they still need hints even t

Re: discontinuing (some) automated regression emails

2012-10-18 Thread Karl Tomlinson
Nathan Froyd writes: > - Trace Malloc tests (all of them); it's not clear how useful these > tests are, given the pageload we run them with and the availability > of tools like about:memory. I'd like to receive notifications if these results change. If the results are changing for the small p

Re: deadlock while flash plugin calls posturlnotify

2012-10-24 Thread Karl Tomlinson
LANGLOIS Olivier writes: > xulrunner: 16.0.1 Is this a regression? i.e. Do you know whether it worked differently in previous versions? > and the plugin-container thread stack is: > > #1 0xb7f9a915 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 > #2 0xb5aa4b5f in PR_WaitCondVar

Re: Proposal for reorganizing test directories

2012-10-30 Thread Karl Tomlinson
Henrik Skupin writes: > differences like 'mochitest' vs. 'mochitests'. The right usage would be > 'mochitest' and it would apply to the other frameworks too. It would be useful to have different names to distinguish between tests and implementation for the tests. I don't know whether that is an

Re: Synchronous loading of data: URLs

2012-12-05 Thread Karl Tomlinson
Neil writes: > Ah, so that explains the fallback flash I experience on a site I > frequent that makes heavy use of a downloaded symbol font. It is > irksome because the fallback content is ASCII text ;-) Just in case others read and want to copy this behaviour, sites should not be encoding symbo

Re: Freetype autohinter (was Re: Proposed W3C Charter: Web Fonts Working Group)

2012-12-12 Thread Karl Tomlinson
On Wed, 17 Oct 2012 11:31:15 -0700, Jonas Sicking wrote: > It sounds to me that it's not generally true that autohinters can replace > hinting. At least not yet. > > What would be interesting is if we could enable an autohinter in Firefox > and use that in cases when we are sent a font which doesn

Re: NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID

2012-12-26 Thread Karl Tomlinson
BTW, everyone, please don't use NS_ENSURE_* unless you really want all developers to be told if the test fails. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Running mousemove events from the refresh driver

2013-02-18 Thread Karl Tomlinson
Robert O'Callahan writes: > How about this idea: after processing a WM_MOUSEMOVE event, go into an > "anti-flood" state where WM_MOUSEMOVE is ignored. After we service the > Gecko event queue, exit the anti-flood state. The general approach sounds good. I expect "ignored" will have to be "ignore

Re: Running mousemove events from the refresh driver

2013-02-18 Thread Karl Tomlinson
Robert O'Callahan writes: > On Tue, Feb 19, 2013 at 11:47 AM, Karl Tomlinson wrote: > >> Robert O'Callahan writes: >> >> > How about this idea: after processing a WM_MOUSEMOVE event, go into an >> > "anti-flood" state where WM_MOUSEMOVE

<    1   2