Re: indexedDB.open failing silently?

2017-09-12 Thread Jan Varga
I just tried to simulate the problem with newer/older firefox, but with given code snippet I get an error event instead of "undefined" It's probably something else ... On 12/09/17 15:56, Ben Kelly wrote: Can you have the user try in a fresh profile? I think this behavior might occur if they

Re: PBlob refactoring landed

2017-04-26 Thread Jan Varga
Thanks for this refactoring! Especially given that this code is quite complex and I remember the times when there's was only one guy who understood it (bent) Jan On 26/04/17 09:13, Andrea Marchesini wrote: Hi all, In the last month I have worked on the refactoring of PBlob code and today

Re: Heads Up: /storage upgraded from version 1.0 to 2.0

2017-03-07 Thread Jan Varga
been upgraded. IndexedDB is also used internally, so stuff that depends on it likely won't work too. There's bug 1246615 [2] where you can find a discussion related to this issue. [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1246615 Thanks, Robert On Tue, Mar 7, 2017 at 2:32 PM, Jan

Welcome new IndexedDB peer.

2016-11-23 Thread Jan Varga
Bevis Tseng has been fixing many crashes and correctness bugs in IndexedDB and he implemented most of IndexedDB v2 stuff. I've been doing IndexedDB reviews for him and I must say, I didn't find any big issues in his patches. He was always willing to address my comments. Andrew Overholt, Hsin-Yi

Heads Up: Snappy library upgraded

2016-10-25 Thread Jan Varga
Since the integration of bug 768074 [1] ​in Nightly, the new version of the library is used. The library is used in IndexedDB, DOM cache, etc. We are confident that the library is fully backwards-compatible and we have an xpcshell test that restores a profile created in FF 11 (the version when

Re: mach and ccache failure?

2016-08-20 Thread Jan Varga
Yes, it worked for me. On 21/08/16 10:30, ISHIKAWA,chiaki wrote: On 2016/08/20 10:03, Jan Varga wrote: I see the same problem on my mac, but I didn't investigate why it's not working anymore. Did ccacge ever work on the Mac to support two directories? (I mean the compilation result in one

Re: mach and ccache failure?

2016-08-19 Thread Jan Varga
I see the same problem on my mac, but I didn't investigate why it's not working anymore. On 20/08/16 08:48, zbranie...@mozilla.com wrote: On Friday, August 19, 2016 at 4:12:12 PM UTC-7, Xidorn Quan wrote: On Sat, Aug 20, 2016, at 08:45 AM, zbranie...@mozilla.com wrote: Both builds take

Re: Changes under /storage

2016-06-06 Thread Jan Varga
On 06/06/16 21:57, smaug wrote: On 06/06/2016 09:24 PM, Jan Varga wrote: On 06/06/16 17:30, smaug wrote: On 06/06/2016 02:25 PM, Jan Varga wrote: I landed a fix for bug 1195930 ( Use origin in QuotaManager) today, it's now on m-c. We had to do backwards-incompatible changes under /storage

Re: Changes under /storage

2016-06-06 Thread Jan Varga
On 06/06/16 17:30, smaug wrote: On 06/06/2016 02:25 PM, Jan Varga wrote: I landed a fix for bug 1195930 ( Use origin in QuotaManager) today, it's now on m-c. We had to do backwards-incompatible changes under /storage directory, so once a profile is used with newest nigthly, then any

Changes under /storage

2016-06-06 Thread Jan Varga
I landed a fix for bug 1195930 ( Use origin in QuotaManager) today, it's now on m-c. We had to do backwards-incompatible changes under /storage directory, so once a profile is used with newest nigthly, then any storage API controlled by Quota Manager (IndexedDB, DOM cache, asmjs cache) won't

Idle database maintenance

2016-03-01 Thread Jan Varga
Just a heads up that bug 1248550 landed on m-i today. It should fix many of the intermittent bugs/crashes/assertions related to idle maintenance and quota stuff. Please note that in theory you can see a little slowdown in indexedDB mochitests if the maintenance is triggered in the background

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

2015-07-07 Thread Jan Varga
+1 On 07/07/15 13:54, Honza Bambas wrote: I'm strongly against removing the prefix. I got used to this and it has its meaning all the time I inspect code (even my own) and doing reviews. Recognizing a variable is an argument is very very useful. It's important to have it and it's good we

Re: IndexedDB transactions are no longer durable by default, and other changes

2015-04-08 Thread Jan Varga
This is a good idea. On 08/04/15 21:30, Botond Ballo wrote: 2. The the schema version for all databases has changed, so once you open a database on trunk builds and it upgrades you will not be able to open that same database in an aurora/beta/release build. Have we considered issuing a

Re: I was using xulrunner to developing desktop application, so I want to storage the indexDB files in to customized place other than %AppData%/

2015-02-07 Thread Jan Varga
Take a look at this code: http://mxr.mozilla.org/mozilla-central/source/b2g/components/DirectoryProvider.js#61 B2G redirects it to /data/local You can do the same. Jan On 07/02/15 07:59, Yonggang Luo wrote: How to do that? Looking for ways to do that.

Re: Good ways to view Firefox compile errors in a terminal?

2015-01-13 Thread Jan Varga
Sublime Text has quite good support too. F4 navigates you to the next error, opens the file (if it's not opened) and moves the cursor to the error location. Jan On 13/01/15 17:52, Nick Fitzgerald wrote: For those of us using Emacs: I use M-x shell as my terminal, and when combined with

Re: [blink-dev] Fwd: [Bug 441414] Treerows need a way to hold richer content

2015-01-09 Thread Jan Varga
HTML5 spec used to have something like that called datagrid Here's some info: https://bugs.webkit.org/show_bug.cgi?id=26545 As a former contributor to XUL tree widget, I would love to see a similar widget in HTML5. Jan On 09/01/15 19:18, Philipp Kewisch wrote: I think the question is rather

Default storage

2014-11-28 Thread Jan Varga
Hi, Just a heads up that default storage has landed on m-c, bug 1083927. I'm posting to this list because there are some changes in the way how quota manager clients store data (mostly IndexedDB). Old structure: profile storage persistent temporary New structure: profile storage

Re: Opening windows hidden, showing windows lowered

2014-08-20 Thread Jan Varga
I remember that the Composer in Mozilla Suite was doing something like 1. and 2. for new mail windows. On 20/08/14 10:50, David Rajchenbach-Teller wrote: TL;DR I'm looking for: 1. an API to open a XUL window but keep it invisible; 2. an API to make an invisible XUL window visible, but behind

Re: Intent to implement: Ability to surpress default contextmenu items

2014-07-10 Thread Jan Varga
Something like this is actually in the spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html#context-menus When the user clicks the disclosure triangle, such a user agent would expand the context menu in place, to show the browser's own commands On

Re: Intent to implement: Ability to surpress default contextmenu items

2014-07-02 Thread Jan Varga
Just FYI, the current implementation in Gecko also checks the shift key, if it is pressed then custom context menu items won't show at all, just the UA items. On 02/07/14 14:36, Wesley Hardman wrote: The current context menu event does suffer from the same issue. If this is implemented,