Re: [feature] open certain domains into a private window

2015-06-24 Thread Frederik Braun
On 24.06.2015 10:09, Karl Dubost wrote:
 
 Le 23 juin 2015 à 20:57, Andreas Tolfsen a...@mozilla.com a écrit :
 Is it an option to register two browser handlers in the operating system for 
 Firefox? 
 
 nope. Because only Firefox knows based on your preferences which domains you 
 always want in a private mode silo. Imagine a series of Firefox silos (or 
 buckets), in this bucket I only accept these domains, subdomains. Each silo 
 is unable to communicate with another one. So you are sure that when you 
 surfing a certain domain there will be no spill of your data, tracking, etc.
 
 
 

This reminds me of the great work Sid and Monica (from Firefox Security
Engineering) have done on explaining the notion of Contextual Identity
(http://www.w2spconf.com/2013/papers/s1p2.pdf)
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: [feature] open certain domains into a private window

2015-06-24 Thread Karl Dubost

Le 23 juin 2015 à 20:57, Andreas Tolfsen a...@mozilla.com a écrit :
 Is it an option to register two browser handlers in the operating system for 
 Firefox? 

nope. Because only Firefox knows based on your preferences which domains you 
always want in a private mode silo. Imagine a series of Firefox silos (or 
buckets), in this bucket I only accept these domains, subdomains. Each silo is 
unable to communicate with another one. So you are sure that when you surfing a 
certain domain there will be no spill of your data, tracking, etc.



-- 
Karl Dubost, Mozilla
http://www.la-grange.net/karl/moz

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
For example.
custom-protocol://some-uri-path/test.html

I want the test.html works like

http://some-web-site/test.html
That I can navigate in the html page.

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道:
 On 6/24/15 1:10 PM, Yonggang Luo wrote:
  For example.
  custom-protocol://some-uri-path/test.html
  
  I want the test.html works like
  
  http://some-web-site/test.html
  That I can navigate in the html page.
  
 Check out nsIProtocolHandler
 
 Here is an implementation that directly forwards to http(s):
 
 http://mxr.mozilla.org/comm-central/source/calendar/base/src/calProtocolHandler.js
 
 Philipp

This is forwards to https, but I am forwards to resource://
That's really different.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Philipp Kewisch
On 6/24/15 1:10 PM, Yonggang Luo wrote:
 For example.
 custom-protocol://some-uri-path/test.html
 
 I want the test.html works like
 
 http://some-web-site/test.html
 That I can navigate in the html page.
 
Check out nsIProtocolHandler

Here is an implementation that directly forwards to http(s):

http://mxr.mozilla.org/comm-central/source/calendar/base/src/calProtocolHandler.js

Philipp
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: [feature] open certain domains into a private window

2015-06-24 Thread shine nelson
I don't know if this helps, but I use 2 Firefox Add-ons that do an almost
expected behavior (with respect to the request in this thread).

1. Profilist https://addons.mozilla.org/firefox/addon/profilist - creates
multiple profiles.
2. Private Tab https://addons.mozilla.org/firefox/addon/private-tab -
adds a Open in New Private Tab / Window context menu option that opens
the links in Private Tab / Window.

No, I didn't create these add-ons and am not trying to promote them for
more downloads. I'm only trying to help.

Hope these satisfies your expectations.

Cheers,
~ shine

On Wed, Jun 24, 2015 at 1:52 PM, Frederik Braun fbr...@mozilla.com wrote:

 On 24.06.2015 10:09, Karl Dubost wrote:
 
  Le 23 juin 2015 à 20:57, Andreas Tolfsen a...@mozilla.com a écrit :
  Is it an option to register two browser handlers in the operating
 system for Firefox?
 
  nope. Because only Firefox knows based on your preferences which domains
 you always want in a private mode silo. Imagine a series of Firefox silos
 (or buckets), in this bucket I only accept these domains, subdomains. Each
 silo is unable to communicate with another one. So you are sure that when
 you surfing a certain domain there will be no spill of your data, tracking,
 etc.
 
 
 

 This reminds me of the great work Sid and Monica (from Firefox Security
 Engineering) have done on explaining the notion of Contextual Identity
 (http://www.w2spconf.com/2013/papers/s1p2.pdf)
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: [feature] open certain domains into a private window

2015-06-24 Thread Nicholas Alexander
On Tue, Jun 23, 2015 at 9:46 PM, Aaron Klotz akl...@mozilla.com wrote:

 I would like to see this as an addition to tab queues: having an option in
 the toast to choose to open the link in a private tab.


This would be valuable, I think.  We have a (new) flag for opening all
links in PB mode; this should work with that.  Worth filing a ticket (if
there is not yet one).

Nick
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: [feature] open certain domains into a private window

2015-06-24 Thread Ehsan Akhgari

On 2015-06-23 8:57 PM, Andreas Tolfsen wrote:

On 23 Jun 2015, at 20:24, Karl Dubost kdub...@mozilla.com wrote:

Le 23 juin 2015 à 19:16, Eric Shepherd esheph...@mozilla.com a écrit :

I thought we had an open in new private window option when right clicking 
links. Not a total solution but helps.


My I'm reading an email with a link to Google Doc was assuming an email 
client (not webmail), could be IRC, or anything else outside of the browser.


Is it an option to register two browser handlers in the operating system for 
Firefox?  One for regular Firefox, and one for Firefox in private mode?


We already have that, but that won't help for Karl's use case.

The technical work involved in fixing what Karl is asking for is simple. 
 The UX we want to expose the feature through is the more interesting 
question IMO.


___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Nicholas Alexander
On Wed, Jun 24, 2015 at 5:53 AM, Yonggang Luo luoyongg...@gmail.com wrote:

 在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道:
  On 6/24/15 1:10 PM, Yonggang Luo wrote:
   For example.
   custom-protocol://some-uri-path/test.html
  
   I want the test.html works like
  
   http://some-web-site/test.html
   That I can navigate in the html page.
  
  Check out nsIProtocolHandler
 
  Here is an implementation that directly forwards to http(s):
 
 
 http://mxr.mozilla.org/comm-central/source/calendar/base/src/calProtocolHandler.js
 
  Philipp

 This is forwards to https, but I am forwards to resource://
 That's really different.


I'm quite sure I already told you about this, but
https://github.com/ncalexan/fennec-bootstrapper includes a bootstrapper://
protocol which does something quite similar: it handles bootstrapper://URI
like URI.  It does some things around privileges that I found necessary to
load http (and resource, I think) schemes in a privileged context.

Nick
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Please help test the low integrity NPAPI plugin sandbox for Flash on Windows

2015-06-24 Thread bowen
Hi all,

At the end of last week I landed patches that allow us to add running at low 
integrity to our potential sandbox policy for NPAPI processes on Windows.

I would be grateful if anyone who uses Nightly on Windows would test the Flash 
plugin running with our sandbox.

You can do this by setting the following pref:
dom.ipc.plugins.sandbox-level.flash=2

If the flash NPAPI process is already running, you'll need to restart for this 
to take affect.

I'm particularly interested in testing on 64-bit Firefox, but 32-bit will be 
useful as well.

On 32-bit, setting this pref will automatically turn off Flash's own protected 
mode.

Please file any issues you find to block bug 1123759.

Thanks,
Bob

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
2015-06-25 7:26 GMT+08:00 Nicholas Alexander nalexan...@mozilla.com:


 On Wed, Jun 24, 2015 at 5:53 AM, Yonggang Luo luoyongg...@gmail.com wrote:

 在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道:
  On 6/24/15 1:10 PM, Yonggang Luo wrote:
   For example.
   custom-protocol://some-uri-path/test.html
  
   I want the test.html works like
  
   http://some-web-site/test.html
   That I can navigate in the html page.
  
  Check out nsIProtocolHandler
 
  Here is an implementation that directly forwards to http(s):
 
 
  http://mxr.mozilla.org/comm-central/source/calendar/base/src/calProtocolHandler.js
 
  Philipp

 This is forwards to https, but I am forwards to resource://
 That's really different.


 I'm quite sure I already told you about this, but
 https://github.com/ncalexan/fennec-bootstrapper includes a bootstrapper://
 protocol which does something quite similar: it handles bootstrapper://URI
 like URI.  It does some things around privileges that I found necessary to
 load http (and resource, I think) schemes in a privileged context.
Yes, I've already done that, but resource is totally different from
http when I running


To getting resource act like http, we need do preferences work to
getting the bootstrap URI can load internally

pref(network.protocol-handler.expose.bootstrap, true);


 Nick



-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform