Re: Intent to implement and ship: same-site cookies

2018-04-10 Thread Jan Odvarko
On Tue, Apr 10, 2018 at 4:25 AM, Francois Marier wrote: > We intend to ship same-site cookies in Firefox 61. This new cookie > attribute allows sites to prevent cross-site requests from using those > cookies which provides a mechanism for web sites to protect themselves >

Re: Intent to implement and ship: same-site cookies

2018-04-10 Thread Jan Odvarko
On Tue, Apr 10, 2018 at 4:25 AM, Francois Marier wrote: > We intend to ship same-site cookies in Firefox 61. This new cookie > attribute allows sites to prevent cross-site requests from using those > cookies which provides a mechanism for web sites to protect themselves >

Re: New Developer Tools Feature: prettifying JSON

2015-04-16 Thread Jan Odvarko
On Wed, Apr 15, 2015 at 8:01 PM, Boris Zbarsky bzbar...@mit.edu wrote: How does our XML prettyprinter manage this? I seem to recall it force-loads an XBL binding that provides all the scriptability. Yes, there is XBL [1] that implements expand/collapse and XSLT [2] transforming the document.

Re: New Developer Tools Feature: prettifying JSON

2015-04-16 Thread Jan Odvarko
On Thu, Apr 16, 2015 at 10:30 AM, Frederik Braun fbr...@mozilla.com wrote: Running our code in someone else's origin sounds undesired indeed. Not only because of CSP: What if someone puts this in a frame (or a popup) and interacts with this JSON viewer? Why iteration with a frame with the

Re: New Developer Tools Feature: prettifying JSON

2015-04-16 Thread Jan Odvarko
Thanks for the link, looks interesting indeed! Honza On Thu, Apr 16, 2015 at 3:23 AM, Karl Dubost kdub...@mozilla.com wrote: Jan, Le 16 avr. 2015 à 01:54, Jan Odvarko odva...@gmail.com a écrit : One of the new features we'd like to have in DevEdition 40 is related to JSON rendering

Re: New Developer Tools Feature: prettifying JSON

2015-04-16 Thread Jan Odvarko
On Thu, Apr 16, 2015 at 4:36 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 4/16/15 4:37 AM, Jan Odvarko wrote: We are obviously trying to avoid C++ code in devtools Sure. We can add scriptable APIs as needed. For example, we already have one for adding anonymous content, right?. Yes

New Developer Tools Feature: prettifying JSON

2015-04-15 Thread Jan Odvarko
One of the new features we'd like to have in DevEdition 40 is related to JSON rendering. Dev folks deal with JSON a lot these days and we want to make the work easier by rendering JSON as an expandable tree that allows easy inspection and filter/search. One option to make this is implementing a

Re: nsIStreamConverter e10s

2015-04-15 Thread Jan Odvarko
On Fri, Apr 10, 2015 at 4:42 PM, Jan Odvarko odva...@gmail.com mailto:odva...@gmail.com wrote: I created a (JS) component that implements nsIStreamConverter (JSON - HTML), but it doesn't seem to work in e10s. Is this suppose to work? Is there a bug for this? Honza

RE: Telemetry additions: count histograms keyed histograms

2014-11-06 Thread Jan Odvarko
I updated the documentation accordingly: https://developer.mozilla.org/en- US/docs/Mozilla/Performance/Adding_a_new_Telemetry_probe Nice! Note that the page needs to be yet updated since registerAddonHistogram has different order of arguments now:

RE: XUL splitmenu

2013-09-07 Thread Jan Odvarko
I see, thanks for the update Honza -Original Message- From: gavin.sh...@gmail.com [mailto:gavin.sh...@gmail.com] On Behalf Of Gavin Sharp Sent: Saturday, September 07, 2013 2:55 AM To: Jan Odvarko Cc: dev-platform Subject: Re: XUL splitmenu As I commented in bug 770316

RE: DevTools: how to get list of mutation observers for an element

2013-09-05 Thread Jan Odvarko
Should I file a bug for this? Yes, please. CC me Done https://bugzilla.mozilla.org/show_bug.cgi?id=912874 Honza -Original Message- From: smaug [mailto:sm...@welho.com] Sent: Wednesday, September 04, 2013 9:21 PM To: Jan Odvarko Subject: Re: DevTools: how to get list of mutation

XUL splitmenu

2013-09-05 Thread Jan Odvarko
Two questions about splitmenu element: #1) I wanted to displya a check-box in front of the splitmenu element, but setting type=checkbox and checked=true doesn't help. Shouldn't this just work? Is this a bug? #2) It looks like that the splitmenu element doesn't work on OSX. Correct? Honza

RE: swapDocShells

2013-07-24 Thread Jan Odvarko
] On Behalf Of Boris Zbarsky Sent: Tuesday, July 23, 2013 5:21 PM To: dev-platform@lists.mozilla.org Subject: Re: swapDocShells On 7/23/13 10:38 AM, Jan Odvarko wrote: Is the method removed? No. -Boris ___ dev-platform mailing list dev-platform

swapDocShells

2013-07-23 Thread Jan Odvarko
Firebug started throwing an exception (since Friday last week) swapDocShells is not a function ... every time it's detached. Is the method removed? If yes, are there any alternatives? Honza ___ dev-platform mailing list

Block cookies from sites I haven't visited

2013-06-27 Thread Jan Odvarko
Firefox 22 introduced a new cookie feature that allows to block cookies from not-visited sites. Blog post here: https://brendaneich.com/2013/06/the-cookie-clearinghouse/ This change includes also different default value for network.cookie.cookieBehavior preference, which is now: 3 ==