Commit Graph

18524 Commits

Author SHA1 Message Date
Brindusan Cristian
ebf53c20ba Backed out 3 changesets (bug 1440333) for firefox-functional-test failures on test_no_certificate.py on a CLOSED TREE
Backed out changeset 2dad70b2a723 (bug 1440333)
Backed out changeset c705b49c2bae (bug 1440333)
Backed out changeset 9906b468eb78 (bug 1440333)
2018-02-26 16:19:18 +02:00
Paolo Amadini
45594d8537 Bug 1440333 - Part 3 - Raise the ViewShown event after the main view is active. r=Gijs
This also adds a new "active" property that can be used by regression tests to determine whether they should still wait for the ViewShown event.

MozReview-Commit-ID: K25F09llooj
2018-02-26 13:18:22 +00:00
Paolo Amadini
0e4d420ef7 Bug 1440333 - Part 2 - Rename the "current" attribute to "visible". r=Gijs
MozReview-Commit-ID: EazXDT6JC3M
2018-02-23 15:54:08 +00:00
Paolo Amadini
7024e7015c Bug 1440333 - Part 1 - Remove the "in-transition" attribute. r=Gijs
This is made possible by a new workaround for a layout issue with panels that would prevent the main view from being displayed.

MozReview-Commit-ID: 3LGzq50QXt2
2018-02-25 20:37:55 +00:00
Cosmin Sabou
7b6a67b6a8 Bug 1417052 - Disable browser/components/extensions/test/browser/test-oop-extensions/browser_ext_omnibox.js for frequent failures. r=jmaher 2018-02-26 14:57:41 +02:00
Paolo Amadini
2721462de9 Bug 1437512 - Part 2 - Remove the "panelmultiview" binding. r=Gijs
MozReview-Commit-ID: H9R7ahkCr2U
2018-02-25 18:43:55 +00:00
Paolo Amadini
96c2add862 Bug 1437512 - Part 1 - Remove the "panelmultiview" binding construction. r=Gijs
MozReview-Commit-ID: 3oCvOe5th0B
2018-02-25 18:41:45 +00:00
Honza Bambas
df9b2e5d45 Bug 1152332 - Let connection proxy filters return the result asynchronously - update/introduce tests, r=michal 2018-02-08 05:49:00 +02:00
Peter Van der Beken
5fb60d9c57 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2017-11-23 16:27:27 +01:00
Johann Hofmann
09a13cb7f5 Bug 1436568 - Make "clear your recent history" a button instead of a link. r=nhnt11
MozReview-Commit-ID: 1KDXu9OtmHm
2018-02-19 23:02:33 +01:00
Johann Hofmann
4882434603 Bug 1432743 - Move cookie settings to the Site Data section and remove the cookies dialog from preferences. r=Gijs
After including cookies in the site data manager in bug 1421737, we would
like to move the cookies settings to the site data section to give them
more visibility and to unify site data and cookies.

Our UR has shown that our differentiation between site data and cookies
is not helpful to users and that they struggle with discovering the
cookie settings that are hidden in the "custom history" menu.

Since the cookie settings are quite powerful/potentially breaking,
we changed the top level preference from a checkbox to a radiogroup,
to be able to highlight the potential breakage associated with "deny".

This grouping is also recommended by the webstorage spec:
https://www.w3.org/TR/webstorage/#privacy

The cookies dialog is not removed yet, because it is still accessible from
Page Info, but bug 1348223 will likely remove it entirely.

MozReview-Commit-ID: Adisn70Ks2Q
2018-02-12 19:28:00 +01:00
shindli
21c3acd7c9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-23 11:46:00 +02:00
shindli
4f93afdfba Backed out changeset 6e3058771f18 (bug 1434706) for bc6 and X failures in browser/base/content/test/general/browser_contextmenu_input.js and services/fxaccounts/tests/xpcshell/test_accounts.js respectively on a CLOSED TREE 2018-02-23 10:25:56 +02:00
Edouard Oger
b7ef270fb8 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s
2018-02-15 11:24:44 +08:00
Michael Kaply
8084862d57 Bug 1433136 - Basic GPO Support. r=Felipe
MozReview-Commit-ID: 1V1aOK3ELZC
2018-02-21 19:49:09 -06:00
Doug Thayer
afbdc3b32b Bug 1433593 - Clean up usages of LoginHelper.maybeImportLogin r=MattN
In bug 1426721 we added a bulk interface for importing logins, which
works in a background thread. This patch cleans up the single-login
interface and updates the remaining usages to consume the bulk
interface.

MozReview-Commit-ID: IziLXkO5dxQ
2018-02-15 10:26:44 -08:00
Marco Bonardo
506fe4efc1 Bug 1435711 - Remove controller support for tree autocomplete. r=Paolo
MozReview-Commit-ID: 5NJu2ILBP5h
2018-02-17 18:11:13 +01:00
Tooru Fujisawa
310388e29a Bug 1439472 - Skip browser/components/extensions/test/browser/browser_ext_popup_select.js on debug build. r=kmag 2018-03-05 08:41:33 +09:00
Andrew Swan
d3734cd97e Bug 1402850 Don't include runtime permissions in prompts for webextension updates r=zombie
MozReview-Commit-ID: 1cnNsWLVGmg
2017-11-08 17:14:11 -08:00
Adam Kasztenny
01b62940da Bug 1355166 - Remove remote newtab's dead code. r=ursula 2018-02-28 16:44:00 +02:00
Tooru Fujisawa
b5a1011eda Bug 1439472 - Wait for ViewShown event of extension panel before synthesizing mouse event. r=Paolo 2018-03-01 10:36:05 +09:00
Tooru Fujisawa
d6ffbd9546 Backed out changeset 1c928c9f81ca (bug 1439472) 2018-03-01 10:35:52 +09:00
Tooru Fujisawa
5e2ca5a908 Bug 1439472 - Wait for all transitions for arrow panel before operating on the content of the panel. r=Paolo 2018-03-01 10:28:45 +09:00
Shane Caraveo
cc9b7fb4c5 Bug 1398713 pass triggeringPrincipal when using browser.loadURI, r=Gijs,kmag 2018-02-28 17:32:01 -06:00
Cosmin Sabou
70c7e3026d Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-02-28 23:55:37 +02:00
Johann Hofmann
a5dedfad80 Bug 1441766 - Add a test for searching in the site data group. r=nhnt11
MozReview-Commit-ID: I0TrEXIaBzY
2018-02-28 15:48:15 +01:00
Johann Hofmann
7e9c99f303 Bug 1441766 - Fix search keywords for site data and cookies in about:preferences. r=nhnt11
When moving cookies to the site data section we forgot about some
searchkeywords which were left on the cookies exceptions dialog.

We also forgot to remove the status column label when removing the
status column.

Further, the search tooltip is not displayed correctly on the three
vertically aligned dialog buttons (it's always on the last button),
because we did not put each of them in its own hbox (which is just way
too easy to get wrong and needs a better mid term solution).

MozReview-Commit-ID: L6ZaocWsjYU
2018-02-28 10:04:21 +01:00
Johann Hofmann
9c60df2f9e Bug 1441198 - Part 2 - Fix side spacing and line breaking of items adjacent to the site data description in about:preferences. r=nhnt11
When adding more characters to the description in the site data section,
the display of the adjacent items breaks in two ways:

- The "Learn More" link is pushed to the next line while it should stay
  on the same line as the description. I didn't really find a way to fix
  this while using a XUL label, so I switched to an html:span which has
  the correct layout. I don't see any drawbacks with using a span here.

- The description text could in certain edge cases get too close to the
  "Clear Data" button. To fix that I added a new class which adds some padding.
  This isn't a problem in other parts of preferences except the history
  section (bug 1441138), where I also added this class.

MozReview-Commit-ID: FO5tEx19ZUm
2018-02-28 09:58:47 +01:00
Johann Hofmann
e09cdaaebb Bug 1441198 - Part 1 - Use correct copy for cookies and site data in about:preferences. r=nhnt11
This mostly changes "cookies" to "cookies and site data" and amends a few
other details.

MozReview-Commit-ID: 97xTSQPw2DA
2018-02-28 09:37:48 +01:00
Paolo Amadini
0d4fc0c2a2 Bug 1420939 - Add an asynchronous version of the description height workaround. r=Gijs
This prevents synchronous reflows when opening subviews. This also removes a superfluous invocation of the workaround while the panel is still hidden.

MozReview-Commit-ID: DohLjntVaPU
2018-02-27 22:02:55 +00:00
Paolo Amadini
e0207ede2f Bug 1428839 - Part 8 - Fix the sliding transition when views are reordered. r=Gijs
Views moved to a different panel and then moved back could be placed after the subviews they give access to, if the other subviews were not moved. The transition would be incorrect when these subviews are opened later.

MozReview-Commit-ID: 6JJa0p0McxL
2018-02-28 13:43:51 +00:00
Paolo Amadini
6fe953d651 Bug 1428839 - Part 7 - Reduce calls to _cleanupTransitionPhase. r=Gijs
The transition code now returns early if the panel was closed during an "await" statement.

Given that transitions can only be interrupted when closing the panel, and the _cleanupTransitionPhase method handles exclusively state related to the panel rather than the individual views, it is now possible to call the _cleanupTransitionPhase method only when the panel is hidden or at the end of a transition.

MozReview-Commit-ID: GYRKyyhJBPK
2018-02-27 22:56:15 +00:00
Paolo Amadini
958e4b9a52 Bug 1428839 - Part 6 - Remove previous workaround for the panel resizing at the end of the transition. r=Gijs
This was added in bug 1354141 and is not needed anymore.

MozReview-Commit-ID: 42oF7LpCa6R
2018-02-27 16:13:48 +00:00
Paolo Amadini
6e06c84d01 Bug 1428839 - Part 5 - Open the anchor when subview navigation starts and close it asynchronously afterwards. r=Gijs
The anchor state does not need to be cleaned up synchronously, so we can handle it seperately from the transition state.

MozReview-Commit-ID: 1CBP9OS5WmM
2018-02-27 15:52:07 +00:00
Paolo Amadini
bc4ac85924 Bug 1428839 - Part 4 - Avoid re-entrancy in PanelMultiView navigation functions. r=Gijs
We now use the "active" property of views to track whether navigation is possible. This has the advantage of being already handled correctly when views are moved to a different panel, and is in line with the purpose of the "active" state. The note about using the "popupshown" event for navigation has been updated accordingly.

Keyboard navigation is also linked to the "active" property now, so there is no need to track the state of the "_transitioning" property anymore.

Since the goBack and showSubView methods can only be called when the view is active, we don't need to check for attempts to start a transition while the panel is closed anymore.

MozReview-Commit-ID: 3KT3A5EwGFy
2018-02-27 15:33:33 +00:00
Paolo Amadini
9f32b9648e Bug 1428839 - Part 3 - Clean up view properties when opening them. r=Gijs
This allows the state to be handled correctly when views are moved to a different panel.

The "margin-inline-start" style property on the view stack is also reset unconditionally, allowing less state to be stored in the transition details object.

MozReview-Commit-ID: IpgnYsVvx0w
2018-02-27 15:35:42 +00:00
Paolo Amadini
a6a2c41f72 Bug 1428839 - Part 2 - Add a function to determine if a view is still open. r=Gijs
This makes the intent of the code clearer and hides the details of how the association is made.

MozReview-Commit-ID: C2L0vsjhxNO
2018-02-27 15:27:27 +00:00
Paolo Amadini
c079ccddc6 Bug 1428839 - Part 1 - Remove previous workaround for flickering at the end of the transition. r=Gijs
This was originally introduced in bug 1374749 but isn't needed anymore, and removing this allows making the _cleanupTransitionPhase method synchronous.

MozReview-Commit-ID: 6v78QoPXZoU
2018-02-27 15:17:29 +00:00
Paolo Amadini
002d8dded7 Bug 1441284 - Part 8 - Remove the "_mainView" and "_mainViewId" properties. r=Gijs
The null check for the "node" property can also be removed since the caller already checks it synchronously.

MozReview-Commit-ID: 7FaCdtWTz20
2018-02-27 14:17:10 +00:00
Paolo Amadini
47cfc52406 Bug 1441284 - Part 7 - Remove the "_ephemeral" property. r=Gijs
The "ephemeral" attribute was not actually used anymore, because it is redundant with the "viewCacheId" attribute.

MozReview-Commit-ID: 6zxf2DmcEfI
2018-02-26 19:50:19 +00:00
Paolo Amadini
18b972b572 Bug 1441284 - Part 6 - Do not move out subviews when the window is closing. r=Gijs
Since we control the code path that invokes the PanelMultiView destructor, it is now possible to call the _moveOutKids function only as needed, avoiding some unnecessary DOM modifications when the browser window is closing.

MozReview-Commit-ID: JTJQmhZKFOh
2018-02-26 19:47:29 +00:00
Paolo Amadini
c9ff157649 Bug 1441284 - Part 5 - Remove the "_panelViewCache" property. r=Gijs
MozReview-Commit-ID: IjTCdzr6gZ5
2018-02-26 19:36:12 +00:00
Paolo Amadini
37a89a3951 Bug 1441284 - Part 4 - Remove redundant calls before _moveOutKids and simplify the function. r=Gijs
The main view is already included in the children of the view stack, so the code that moves it out separately can be removed. The "mainview" attribute is already set to the correct value the next time the view is opened.

MozReview-Commit-ID: B8LMAxWvvTb
2018-02-26 19:14:31 +00:00
Paolo Amadini
6c9f8f1df2 Bug 1441284 - Part 3 - Remove the "showingSubView" property. r=Gijs
The value "single" for the "closemenu" attribute on panel buttons is unused, so the only consumer of the "showingSubView" property can be removed.

MozReview-Commit-ID: 2jf5YE4Uyd
2018-02-27 14:08:58 +00:00
Paolo Amadini
8b21862c39 Bug 1441284 - Part 2 - Remove the "_currentSubView" property. r=Gijs
MozReview-Commit-ID: Aua3V8hOT39
2018-02-26 18:43:43 +00:00
Paolo Amadini
c1a9933f89 Bug 1441284 - Part 1 - Remove the "current" property. r=Gijs
MozReview-Commit-ID: GyqI8N3JQ9O
2018-02-26 18:36:59 +00:00
Cosmin Sabou
41e1eb1c9b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-09 02:32:28 +02:00
Cosmin Sabou
83bfbe8ae5 Backed out 3 changesets (bug 1429150) for Android mochitest failures on RobocopTestRunner on a CLOSED TREE.
Backed out changeset dbdd43825f46 (bug 1429150)
Backed out changeset 23a86891fdaf (bug 1429150)
Backed out changeset 1f2d0e869605 (bug 1429150)
2018-02-09 00:39:23 +02:00
Narcis Beleuzu
0b4d4a6936 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-08 21:36:33 +02:00
Brindusan Cristian
abbb2ad09f Merge inbound to mozilla-central. a=merge 2018-02-08 21:02:00 +02:00