Handlers on 91

58 views
Skip to first unread message

Dimas Streich (UTIC ICS Girona)

unread,
Aug 24, 2021, 5:41:02 AM8/24/21
to Enterprise Working Group Mailing List (enterprise@mozilla.org)
I'm testing Firefox 91 (portable edition, no ESR) with the same policies.json we are using on our production Firefox 78 ESR.

I've file association configured in policies.json like this:

"Handlers": {
      "mimeTypes": {
        "application/x-java-jnlp-file": {
          "action": "useSystemDefault",
          "ask": false
        }
      },
      "extensions": {
        "jnlp": {
          "action": "useSystemDefault",
          "ask": false
        }
      },
      "schemes": {
        "rv": {
          "action": "useSystemDefault",
          "ask": false
        }
      }
    },

But when I try to open a jnlp file this alert appears now:


And when I try to open rv this alert appears too:


Is the policy handlers not working like in the past 78 ESR version?
--

Dimas Streich Colomeda
Unitat de Tecnologies de la Informació i Comunicació

Departament de Salut | Generalitat de Catalunya
Av.França s/n | 17007 Girona 
dstreich....@gencat.cat | http://www.hospitaltrueta.cat
Instagram | Twitter | YouTube

Aquest missatge s'adreça exclusivament a la persona destinatària i pot contenir informació privilegiada o confidencial. Si no sou la persona destinatària indicada, us recordem que la utilització, divulgació i/o còpia sense autorització està prohibida en virtut de la legislació vigent. Si heu rebut aquest missatge per error, us demanem que ens ho feu saber immediatament per aquesta via i que el destruïu.

Dimas Streich (UTIC ICS Girona)

unread,
Aug 24, 2021, 7:37:26 AM8/24/21
to enter...@mozilla.org
Maybe the alert with jnlp files is related to not using the ESR version, but the alert with the RV appears in the 91.0.1 ESR version too 🤔😔
--
You received this message because you are subscribed to the Google Groups "enter...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise+...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/enterprise/a0630729-bc4c-9c68-0f75-73f1580e76d0%40gencat.cat.

Mike Kaply

unread,
Aug 24, 2021, 10:19:20 AM8/24/21
to Dimas Streich (UTIC ICS Girona), Mozilla.org
The new dialog you are seeing can be removed with this policy.


This was added in Firefox 84


You might want to glance at the Firefox for enterprise readmes here:


Since most of the policy changes were in ESR78 as well, I didn't do one big README for ESR91.

Mike Kaply

Dimas Streich (UTIC ICS Girona)

unread,
Aug 25, 2021, 4:51:57 AM8/25/21
to Mike Kaply, Mozilla.org
Thx Mike, it works!
Is there any summarized page with all the changes between latest 78 ESR version and the new 91 ESR? As you said the policy AutoLaunchProtocolsFromOrigins was already present in 78 but not this new dialog, and I can't see it in the 91 ESR release notes.

Thx

Mike Kaply

unread,
Aug 25, 2021, 6:15:42 PM8/25/21
to Dimas Streich (UTIC ICS Girona), Mozilla.org
On Wed, Aug 25, 2021 at 3:51 AM Dimas Streich (UTIC ICS Girona) <dstreich....@gencat.cat> wrote:
Thx Mike, it works!
Is there any summarized page with all the changes between latest 78 ESR version and the new 91 ESR? As you said the policy AutoLaunchProtocolsFromOrigins was already present in 78 but not this new dialog, and I can't see it in the 91 ESR release notes.

We did do an ESR specific release notes where I tried to summarize the major changes between 78 and 91:


Unfortunately that AutoLaunchProtocolsFromOrigins was just a miss by me where I thought that new function had gone in before 78. I should have marked it as 84+ only (note it was never referenced in any release notes)

Mike

James Pearson

unread,
Aug 27, 2021, 9:21:49 AM8/27/21
to Mike Kaply, Mozilla.org
It's a bit annoying that you can't use hostname/domain wildcards with AutoLaunchProtocolsFromOrigins ...

Is that likely to change to at least apply to selected domains?

Thanks

James Pearson
________________________________________
From: enter...@mozilla.org <enter...@mozilla.org> on behalf of Mike Kaply <mka...@mozilla.com>
Sent: 24 August 2021 15:19
To: Dimas Streich (UTIC ICS Girona)
Cc: Mozilla.org
Subject: Re: [Mozilla Enterprise] Handlers on 91


The new dialog you are seeing can be removed with this policy.

https://github.com/mozilla/policy-templates/blob/master/README.md#autolaunchprotocolsfromorigins<

This was added in Firefox 84

https://bugzilla.mozilla.org/show_bug.cgi?id=1565574

You might want to glance at the Firefox for enterprise readmes here:

https://support.mozilla.org/en-US/products/firefox-enterprise/whats-new-firefox-enterprise

Since most of the policy changes were in ESR78 as well, I didn't do one big README for ESR91.

Mike Kaply

On Tue, Aug 24, 2021 at 6:37 AM Dimas Streich (UTIC ICS Girona) <dstreich....@gencat.cat<mailto:dstreich....@gencat.cat>> wrote:
Maybe the alert with jnlp files is related to not using the ESR version, but the alert with the RV appears in the 91.0.1 ESR version too 🤔😔

El 24/8/2021 a les 11:40, Dimas Streich (UTIC ICS Girona) ha escrit:
I'm testing Firefox 91 (portable edition, no ESR) with the same policies.json we are using on our production Firefox 78 ESR.

I've file association configured in policies.json like this:

"Handlers": {
"mimeTypes": {
"application/x-java-jnlp-file": {
"action": "useSystemDefault",
"ask": false
}
},
"extensions": {
"jnlp": {
"action": "useSystemDefault",
"ask": false
}
},
"schemes": {
"rv": {
"action": "useSystemDefault",
"ask": false
}
}
},

But when I try to open a jnlp file this alert appears now:

[cid:17b78848fce3ca49bf81]

And when I try to open rv this alert appears too:

[cid:17b78848fd0a397183d2]

Is the policy handlers not working like in the past 78 ESR version?
--

Dimas Streich Colomeda
Unitat de Tecnologies de la Informació i Comunicació

Mike Kaply

unread,
Aug 30, 2021, 5:10:27 PM8/30/21
to James Pearson, Mozilla.org
If you specify https://foo.com, it should enable everything under https://foo.com

I just tested by adding https://google.com and popups were enabled for https://gmail.google.com

It uses our existing permissions infrastructure, so it should work the same.

Mike

James Pearson

unread,
Aug 31, 2021, 5:04:00 AM8/31/21
to Mike Kaply, Mozilla.org
Thanks - that works

I guess I didn't appreciate what the term 'origins' means :-)

James Pearson
________________________________________
From: enter...@mozilla.org <enter...@mozilla.org> on behalf of Mike Kaply <mka...@mozilla.com>

Sent: 30 August 2021 22:10
To: James Pearson


Cc: Mozilla.org
Subject: Re: [Mozilla Enterprise] Handlers on 91

If you specify https://foo.com

I just tested by adding https://google.com and popups were enabled for https://gmail.google.com

It uses our existing permissions infrastructure, so it should work the same.

Mike

Reply all
Reply to author
Forward
0 new messages