Commit Graph

21621 Commits

Author SHA1 Message Date
Michael Kaply
e45d30657d Bug 158968 - Implement kiosk mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41848
2019-10-04 19:47:56 +00:00
Dão Gottwald
f763cbe0b1 Bug 1586232 - Animate the megabar with transforms only r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48164
2019-10-04 18:33:15 +00:00
Emma Malysz
1152d5c153 Bug 1585727, ensure browser_preferences_usage.js is fission compatible r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D47945
2019-10-04 18:09:01 +00:00
Zibi Braniecki
5bfe4953b4 Bug 1586246 - Migrate autohide-context to Fluent using convert script. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D48171
2019-10-04 14:56:30 +00:00
Edouard Oger
a0bdc19049 Bug 1584293 - Refactor the FxA disconnect dialog. r=markh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D48098
2019-10-04 14:06:35 +00:00
Edouard Oger
82ee4e20aa Bug 1586075 - Add login failed avatar icon. r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D48117
2019-10-04 13:57:37 +00:00
Lina Cambridge
4c60104169 Bug 1583413 - Fetch the Send Tab target list from FxA, not Sync. r=markh,eoger
Instead of using the list of FxA devices from the Sync clients engine,
we now fetch the list of Send Tab devices from FxA. This works like
this:

* `FxAccountsDevice#getDeviceList` has been split up into
  `recentDeviceList` and `refreshDeviceList`.
* `recentDeviceList` synchronously returns the last fetched list, so
  that consumers like Send Tab can use it right away.
* `refreshDeviceList` is asynchronous, and refreshes the last fetched
  list. Refreshes are limited to once every minute by default, matching
  the minimum sync interval (Send Tab passes the `ignoreCached` option
  to override the limit if the user clicks the "refresh" button).
  Concurrent calls to `refreshDeviceList` are also serialized, to
  ensure the list is only fetched once.
* The list is flagged as stale when a device is connected or
  disconnected. It's still kept around, but the next call to
  `refreshDeviceList` will fetch a new list from the server.
* The Send Tab UI refreshes FxA devices in the background. Matching FxA
  devices to Sync client records is best effort; we don't do it if Sync
  isn't configured or hasn't run yet. This only impacts the fallback
  case if the target doesn't support FxA commands.

Differential Revision: https://phabricator.services.mozilla.com/D47521
2019-10-03 22:40:55 +00:00
Vijay Budhram
5bbd1a2229 Bug 1570568 - Update Fxa menu to reflect decoupling r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D46891
2019-10-03 18:04:56 +00:00
Mark Hammond
a9b3831b25 Bug 1581980 - change the text of many Sync notifications so they aren't Sync specific. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47853
2019-10-03 05:52:58 +00:00
Mark Hammond
291eea15b8 Bug 1585428 - update FxA toolbar heading from 'Manage Account' to 'Settings'. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47852
2019-10-03 05:36:16 +00:00
Brian Grinstead
1ce836b612 Bug 1514926 - Convert the arrowscrollbox binding to a Custom Element r=dao
This uses Shadow DOM slotting instead of XBL, and migrates styles from
using XBL anonymous traversal to using CSS Shadow Parts.

This also removes the basecontrol binding, since this was the last
binding to extend it.

Differential Revision: https://phabricator.services.mozilla.com/D43651
2019-10-03 04:21:15 +00:00
Dorel Luca
8ed3a683b3 Backed out changeset 5e221240fc1d (bug 1514926) for mochitest failures in browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js 2019-10-03 06:08:18 +03:00
Coroiu Cristina
16bac8e450 Backed out changeset 631ae4f7da71 (bug 1585428) for browser-chrome failures at browser/base/content/test/sync/browser_sync.js 2019-10-03 05:51:33 +03:00
Dorel Luca
efc96d3244 Backed out changeset 343178f58cf9 (bug 1581980) for Eslint failure on gecko/browser/components/BrowserGlue.jsm. CLOSED TREE 2019-10-03 04:47:43 +03:00
Mark Hammond
1b5bc1a4b6 Bug 1585428 - update FxA toolbar heading from 'Manage Account' to 'Settings'. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47852
2019-10-03 01:24:20 +00:00
Mark Hammond
0152d351a0 Bug 1581980 - change the text of many Sync notifications so they aren't Sync specific. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47853
2019-10-03 01:21:45 +00:00
Brian Grinstead
cf8e189da8 Bug 1514926 - Convert the arrowscrollbox binding to a Custom Element r=dao
This uses Shadow DOM slotting instead of XBL, and migrates styles from
using XBL anonymous traversal to using CSS Shadow Parts.

This also removes the basecontrol binding, since this was the last
binding to extend it.

Differential Revision: https://phabricator.services.mozilla.com/D43651
2019-10-02 22:57:39 +00:00
Dão Gottwald
27b72ab38f Bug 1577541 - Enable megabar pref by default in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D46595
2019-10-02 17:26:37 +00:00
Nihanth Subramanya
ca788ccf20 Bug 1582750 - Ensure descriptionHeightWorkaround is called for multiple consecutive content blocking events. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47817
2019-10-02 14:45:07 +00:00
Brian Grinstead
4a5e37e640 Bug 1550549 - Add test coverage for a http domain in page info security tab r=Gijs
This was missing coverage which would have caught a bug during the development
of the previous patch (https://phabricator.services.mozilla.com/D30537#inline-289837)

Depends on D30537

Differential Revision: https://phabricator.services.mozilla.com/D47660
2019-10-01 09:54:14 +00:00
Brian Grinstead
9741c9840b Bug 1550549 - Convert XUL textboxes to HTML inputs in pageInfo.xul r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D30537
2019-10-02 12:30:43 +00:00
James Teh
de5865bbad Bug 1576509: Add a function to announce a message to screen reader users. r=Gijs,yzen
Differential Revision: https://phabricator.services.mozilla.com/D47717
2019-10-02 05:53:52 +00:00
Mark Hammond
1b70b4f1c7 Bug 1584076 - Hide the 'Firefox Services' label when there are no services. r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D47720
2019-10-01 14:33:01 +00:00
Anny Gakhokidze
36e9818677 Bug 1582531 - Update fission annotations for mochitests, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47646
2019-10-01 14:24:15 +00:00
Johann Hofmann
40b79e96ce Bug 1584543 - Make checks for in-content functionality depend on documentURI instead of principal URI. r=ckerschb,Gijs
This is a necessary change that was done for Fluent access in bug 1573276. In almost all cases,
we want to rely on the principal for making security decisions, but the principal does not
store the original URI in cases where an about: page was sandboxed (it becomes a null principal URI),
and thus we need to use the documentURI here.

Differential Revision: https://phabricator.services.mozilla.com/D47582
2019-10-01 12:14:22 +00:00
Olli Pettay
5a6bd0eae3 Bug 1440900, try to ensure Browser:WebRTCGlobalIndicator is closed, r=johannh
Other tests in the file explicitly call closeStream. It seems to help with the issue, but this
is a bit guess fix, since I'm not at all familiar with the relevant code. Perhaps the test
should pass without explicit closeStream? If so, there should be a comment why.

Differential Revision: https://phabricator.services.mozilla.com/D47647
2019-09-30 18:28:29 +00:00
Nihanth Subramanya
2274ed8edd Bug 1582750 - Manually invoke descriptionHeightWorkaround() on protections panel the first time we show category items. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47651
2019-09-30 18:28:53 +00:00
Xidorn Quan
dbf9659edb Bug 1567355 - Admit that exiting fullscreen can fail on macOS. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47525
2019-09-30 12:35:45 +00:00
Tim Huang
9c0403b1d9 Bug 1578334 - Update the tooltip of the tracking protection icon when toggling the TP switch. r=nhnt11
In order to show a correct tooltip after toggling the TP switch. We
update the tooltip of the tracking protection icon when toggling the TP
switch right before the 500 ms waiting.

Differential Revision: https://phabricator.services.mozilla.com/D47587
2019-09-30 12:36:05 +00:00
Nihanth Subramanya
32681034e1 Bug 1583350 - Make the more info image full-width with no borders. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47437
2019-09-30 12:21:01 +00:00
Jonathan Kingston
70ec17fad1 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472
2019-09-30 00:55:02 +00:00
Andrew McCreight
8229be9f8b Bug 1579835, part 1b - Directly pass in remote type to E10SUtils.isWebRemoteType. r=mconley
Now that we only use a single field of the browser that gets passed in
to isWebRemoteType, I think it makes more sense to just pass in the
remote type directly.

Differential Revision: https://phabricator.services.mozilla.com/D47179
2019-09-26 22:16:28 +00:00
Andrew McCreight
a4614b9e72 Bug 1579835, part 1 - Make E10SUtils.isWebRemoteType use a simpler prefix approach. r=mconley
Nika said that any `web'-prefixed remote type should be valid, so this
function can be simplified. For instance, webLargeAllocation should
return true.

This removes the need for ownerGlobal, so a few wrappers can be
removed.

Differential Revision: https://phabricator.services.mozilla.com/D45374
2019-09-25 22:40:30 +00:00
Paul Zuehlcke
dcdba2d73e Bug 1402957 - Refactored remaining tests using nsIPermissionManager URI methods to principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47252
2019-09-27 09:48:53 +00:00
Mark Banner
05d71a249a Bug 1576158 - Display the private browsing engine on the private browsing page. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D47208
2019-09-27 14:54:38 +00:00
Anny Gakhokidze
9dd233aa38 Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347
2019-09-27 14:25:10 +00:00
Brian Grinstead
04bd4edc14 Bug 1583377 - Remove xul:page and replace consumers with xul:window r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D46869
2019-09-27 13:04:20 +00:00
Nihanth Subramanya
08301d0a1d Bug 1579209 - [Protections Panel] Use new STATE_COOKIES_LOADED_TRACKER for cookies category item visibility logic. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47323
2019-09-27 10:41:48 +00:00
Brindusan Cristian
86c996c000 Bug 1579285 - Fix prettier Eslint. r=me CLOSED TREE 2019-09-27 07:30:19 +03:00
Martin Thomson
ff059987d6 Bug 1579285 - Offer to enable TLS 1.0 on neterror page r=johannh
As we roll out the TLS 1.0 and 1.1 deprecation, sites that don't support TLS 1.2
will show the neterror page.  This adds a box to that page that shows in this
specific case.  That box explains what is going on and gives an option to
re-enable TLS 1.0.

As mentioned, this will show alongside an option to reset TLS-related
preferences if any overrides are active.

Hitting the button will set the new pref to 'true' and reload the page.

Once the override is engaged, the option won't show, but that option to reset
preferences will show (as this is a TLS-related preference).

The intent is to remove this affordance in March 2020 as we formally move to
having TLS 1.2 the minimum version.  All going to plan, this will only affect
prerelease channels, though anyone who has tweaked security.tls.version.* could
also see this.

Differential Revision: https://phabricator.services.mozilla.com/D45799
2019-09-27 01:26:06 +00:00
Martin Thomson
b4d67417ac Bug 1579270 - Disable TLS 1.0 and TLS 1.1 in Nightly, r=jcj
This flips the default for security.tls.version.min to 3 (TLS 1.2) for the
Nightly channel.

Having had this pref at this level for the last year, I can confirm that this
does break the occasional site, but it is quite rare.  The intent of this change
is to start making it more obvious when sites don't support TLS 1.2.

I'm asking for wider review because this is a disruptive change.

Differential Revision: https://phabricator.services.mozilla.com/D45627
2019-09-27 04:01:17 +00:00
Coroiu Cristina
ceeec89ab1 Backed out 4 changesets (bug 1579285, bug 1579270) for browser-chrome failures at browser/base/content/test/siteIdentity/browser_deprecatedTLSVersions.js on a CLOSED TREE
Backed out changeset 36d7cc55bd16 (bug 1579285)
Backed out changeset 26e3ed3c1592 (bug 1579285)
Backed out changeset 913652258fe6 (bug 1579285)
Backed out changeset 0781e60dd54c (bug 1579270)
2019-09-27 04:19:59 +03:00
Brindusan Cristian
fea59f1c51 Bug 1579285 - Fix ESlint. a=me CLOSED TREE 2019-09-27 03:50:33 +03:00
Martin Thomson
f34a2ef4fb Bug 1579285 - Offer to enable TLS 1.0 on neterror page r=johannh
As we roll out the TLS 1.0 and 1.1 deprecation, sites that don't support TLS 1.2
will show the neterror page.  This adds a box to that page that shows in this
specific case.  That box explains what is going on and gives an option to
re-enable TLS 1.0.

As mentioned, this will show alongside an option to reset TLS-related
preferences if any overrides are active.

Hitting the button will set the new pref to 'true' and reload the page.

Once the override is engaged, the option won't show, but that option to reset
preferences will show (as this is a TLS-related preference).

The intent is to remove this affordance in March 2020 as we formally move to
having TLS 1.2 the minimum version.  All going to plan, this will only affect
prerelease channels, though anyone who has tweaked security.tls.version.* could
also see this.

Differential Revision: https://phabricator.services.mozilla.com/D45799
2019-09-27 00:18:11 +00:00
Kris Maglione
3fffc768c7 Bug 1583386: Part 2 - Enable DocumentChannel in mochitest Fission runs. r=mattwoodrow,ahal
Differential Revision: https://phabricator.services.mozilla.com/D47009
2019-09-26 20:02:44 +00:00
Coroiu Cristina
92b7c5ae5c Backed out changeset f3c1becf9396 (bug 1237782) for browser-chrome failures at dom/tests/mochitest/ajax/offline/browser_disableAppcache.js on a CLOSED TREE 2019-09-26 23:05:07 +03:00
Jonathan Kingston
26c75555dc Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472
2019-09-26 19:03:04 +00:00
Sean Feng
dcfd220746 Bug 1467970 - Unsupport cross docGroup adoption r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43135
2019-09-14 00:09:44 +00:00
Kris Taeleman
eada624cb5 Bug 1582565 - Log transactions into readable format. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D46657
2019-09-26 16:43:05 +00:00
Christoph Kerschbaumer
6dec8a1a75 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950
2019-09-26 16:22:41 +00:00