Commit Graph

5084 Commits

Author SHA1 Message Date
Dão Gottwald
30249a55f7 Bug 1620626 - Move checkEmptyPageOrigin to BrowserUtils. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65861
2020-03-09 15:52:06 +00:00
Dão Gottwald
8ecbcda93d Bug 1610475 - Move URLBarSetURI to UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65535
2020-03-06 16:27:16 +00:00
Dale Harvey
fdb5f2a723 Bug 1615901 - Dont send Origin header with context menu searches. r=ckerschb,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D63630
2020-03-06 14:18:34 +00:00
Dão Gottwald
e448aa56d9 Bug 1610533 - Move losslessDecodeURI to UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65092
2020-03-04 14:14:25 +00:00
Dão Gottwald
2770406313 Bug 1619916 - Remove ancient getWebNavigation helper function. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D65311
2020-03-04 12:03:53 +00:00
Dão Gottwald
27bbbeb075 Bug 1619913 - Remove unused global constants from browser.js. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D65310
2020-03-04 11:19:58 +00:00
David Teller
d8428a8cd2 Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827
2020-03-02 19:29:17 +00:00
Dave Townsend
30d2d9c9b5 Bug 1617682: Add a menu option to uninstall an ssb. r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D63921
2020-03-02 10:29:41 +00:00
Gijs Kruitbosch
726ca4d4e7 Bug 1618379 - remove Web Replay (recordExecution/replayExecution) remnants from browser code, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D64747
2020-02-28 16:03:08 +00:00
Mihai Alexandru Michis
c262844687 Backed out changeset 22f74b61de35 (bug 1607366) for causing mochitest fission failures.
CLOSED TREE
2020-02-27 17:57:30 +02:00
David Teller
eebb2cfe8b Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827
2020-02-27 13:59:23 +00:00
Dão Gottwald
e228cf233a Bug 1617899 - gBrowserInit._delayedStartup shouldn't call SessionStore in the middle of announcing that delayed startup has finished. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64088
2020-02-25 15:59:35 +00:00
Kris Maglione
27a6ede8fd Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 22:33:53 +00:00
Arthur Iakab
7dc57054cd Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione
9b4f095126 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 21:03:58 +00:00
Noemi Erli
5296ed257e Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione
0523739f93 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699
2020-02-25 19:39:25 +00:00
Andrew Osmond
6e819853ff Bug 1608189 - Allow WebRender captures on beta/release if pref is set. r=jrmuizel,mconley
Differential Revision: https://phabricator.services.mozilla.com/D62916
2020-02-25 15:23:31 +00:00
shindli
8ac77f4b72 Backed out changeset 3f52616a34d3 (bug 1607366) for causing bc failures in browser_startup_flicker.js CLOSED TREE 2020-02-25 15:52:14 +02:00
David Teller
59fdfc31ef Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827
2020-02-22 10:03:42 +00:00
Michael Kaply
e0c30e9fb5 Bug 1616832 - Don't run code after delayed startup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D63491
2020-02-20 15:38:33 +00:00
Dão Gottwald
96083649f7 Bug 1508171 - Remove gBrowser.initialBrowser. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63332
2020-02-19 15:49:19 +00:00
Gijs Kruitbosch
431519c506 Bug 1566786 - don't leave stop/reload button without an icon if the animation gets cancelled, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D63084
2020-02-17 17:27:08 +00:00
Dão Gottwald
c75f029c81 Bug 1545046 - Hide the container label in the URL bar in small windows. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D62609
2020-02-14 18:15:55 +00:00
Mike Conley
ec867e1cd1 Bug 1607545 - Don't record about_home_topsites_first_paint scalar unless the first windows initial tab is about:home. r=k88hudson
The test fix was reviewed by Ed Lee (edilee@mozilla.com) in https://phabricator.services.mozilla.com/D61401, and then
that change was rolled into this commit.

Differential Revision: https://phabricator.services.mozilla.com/D60416
2020-02-12 19:17:12 +00:00
Nika Layzell
df0aa71bb6 Bug 1602903 - Collect per-window useRemoteSubframes telemetry, r=mconley
This telemetry records, for each toplevel window, the relationship between the
actual fission-enabled status of the window, and the "fission.autostart" pref.

This takes the form of a categorized telemetry histogram with the following
keys:
 * EnabledByAutostart:  useRemoteSubframes == true   fission.autostart == true
 * EnabledByUser:       useRemoteSubframes == true   fission.autostart == false
 * DisabledByAutostart: useRemoteSubframes == false  fission.autostart == false
 * DisabledByUser:      useRemoteSubframes == false  fission.autostart == true

'DisabledByUser' helps indicate useful information such as how often fission
testers need to open non-fission windows due to breakage, while
'EnabledByAutostart' and 'EnabledByUser' helps give a better image of how many
people are testing fission.

Differential Revision: https://phabricator.services.mozilla.com/D61927
2020-02-10 21:46:51 +00:00
Marco Bonardo
9d3df78f60 Bug 1601052 - Merge openViewOnFocus and retained results features. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60668
2020-01-31 08:30:34 +00:00
Oana Pop Rus
f04ad5a61f Backed out changeset cfb9cc9ee352 (bug 1607545) for node failures on a CLOSED TREE 2020-01-25 01:21:24 +02:00
Mike Conley
13e07e0b12 Bug 1607545 - Don't record about_home_topsites_first_paint scalar unless the first windows initial tab is about:home. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D60416
2020-01-24 21:08:30 +00:00
Kendall Werts
aee64e5ed0 Bug 1606265 - Work on new tab containers menu popup. r=fluent-reviewers,Gijs,flod
Added right click on new tab button to open containers menu.
Removed long press and added option to enable left click in preferences menu.
Renamed privacy.userContext.longPressBehavior to privacy.userContext.newTabContainer.enabled

Differential Revision: https://phabricator.services.mozilla.com/D58410
2020-01-23 22:28:30 +00:00
Mike Conley
49abd29c1d Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D53075
2020-01-22 21:24:19 +00:00
Neil Deakin
51231b52a5 Bug 1598919, move Browser:LoadURI into BrowserTabParent actor, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D54411
2020-01-20 15:19:14 +00:00
Harry Twyford
ad26a5478e Bug 1604798 - Re-focus Urlbar more reliably after exiting customize mode. r=dao
focusAndSelectUrlbar can fire after isCustomizing() is false but before customizeMode is fully exited. This means the Urlbar is refocused but then quickly loses focus after the main browser window is focused. By adding this additional check we can be sure that the browser focus event occurs before the Urlbar is refocused.

Differential Revision: https://phabricator.services.mozilla.com/D59715
2020-01-16 15:22:47 +00:00
Harry Twyford
5a5326e1f6 Bug 1606909 - Port Tips from the experiment behind a pref. r=adw,fluent-reviewers,flod
Top Sites must be disabled for this to work correctly. This is because we haven't defined the behaviour for when two restricting providers are active. Bug 1607797 must be resolved before this is preffed on.

Differential Revision: https://phabricator.services.mozilla.com/D59351
2020-01-14 16:28:46 +00:00
Dimi Lee
8b6ef12b45 Bug 1600878 - P3. Do not store contentBlockingEvent in RemoteSecurityUI.jsm r=timhuang,Ehsan
ContentBlockingEvents is now accessed via WindowGlobalActor::ContentBlockingEvents.
Updating and storing contentBlockingEvent in RemoteSecurityUI are no longer needed.

Depends on D55622

Differential Revision: https://phabricator.services.mozilla.com/D55623
2019-12-17 11:25:27 +00:00
Dimi Lee
e83925623c Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.

Depends on D55621

Differential Revision: https://phabricator.services.mozilla.com/D55622
2019-12-17 11:25:23 +00:00
Dão Gottwald
7f37f203cc Bug 1606069 - Enable openViewOnFocus for about:newtab and about:home. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D59548
2020-01-13 19:18:16 +00:00
Shane Caraveo
d8954b0e4d Bug 1544975 remove private window extension change notification r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D57716
2020-01-03 23:01:54 +00:00
Neil Deakin
05b7c143a8 Bug 1601301, rework webrtc permission granting UI around JSWindowActor, performing the work of determining the ultimate state for the tab icon and menu in the parent rather than the content process, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D56570
2020-01-10 15:09:59 +00:00
Dão Gottwald
126277c640 Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754
2020-01-07 11:00:30 +00:00
Andreea Pavel
8ce986283d Backed out changeset 564b928b0203 (bug 1607170) for crashing browser_newWindowDrop.js on a CLOSED TREE 2020-01-06 16:31:37 +02:00
Dão Gottwald
05be22ac1d Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754
2020-01-06 12:41:19 +00:00
Dave Townsend
7b961641a1 Bug 1603272: List installed site specific browsers in the app menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D57015
2019-12-23 18:58:03 +00:00
Vijay Budhram
f918b4fd31 Bug 1597994 - Update FxA menu manage account labels r=markh,flod
Differential Revision: https://phabricator.services.mozilla.com/D57548
2019-12-23 14:42:09 +00:00
Dão Gottwald
e8af28cbbd Bug 1605050 - Stop inconsistently accepting javascript: and data: URL drops on new-tab-button. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57762
2019-12-19 11:24:13 +00:00
Johann Hofmann
cdeb6cc6af Bug 1603511 - Optimize sending SiteProtection:ContentBlockingEvent events. r=nhnt11
These events were sent excessively on onStateChange. This patch makes it so that:

- we only listen to top-level document changes (we used to send all events from iframes)
- we don't send events unless there's tracking content on the page
- we only send a single event on tab switch instead of multiple

Differential Revision: https://phabricator.services.mozilla.com/D57006
2019-12-12 23:48:13 +00:00
Dão Gottwald
11f5289a58 Bug 1599544 - Remove the workaround hiding the initial browser. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D56718
2019-12-12 14:06:40 +00:00
Marco Bonardo
0c739f5127 Bug 1601450 - Further restrict the retained results behavior. r=dao
If the user types a full url, confirms it, and then focuses the urlbar, we should
not

When focusing the address bar after typing and confirming a page, we end up reopening
the view because the search string is the same. This causes unexpected noise and
selection problems (the url is not selected anymore).
This patch changes the behavior so we don't reopen on valid pageproxystate, that
seems to make sense considering the feature scope of restoring an abandoned search.

Additionally, make the keyboard shortcut not trying to reopen the view if it's
already open, to avoid messing up with the selection.

Finally, restore the appropriate allowAutofill status from the last context.
This may still cause us to not autofill something that was previously autofilled,
if 2 tabs contain the same exact search, but that's an edge case, so acceptable.

Differential Revision: https://phabricator.services.mozilla.com/D56635
2019-12-11 09:16:22 +00:00
Emma Malysz
ce4da4686b Bug 1601094, rename the remaining .xul files in browser/ to .xhtml r=marionette-reviewers,whimboo,mossop
Differential Revision: https://phabricator.services.mozilla.com/D55751
2019-12-11 00:27:19 +00:00
Jonathan Watt
39efd9f84e Bug 1602561. Make PrintUtils.printWindow() act on a BrowsingContext. r=Gijs
Factored out from patches to make printing work with Fission enabled.

Differential Revision: https://phabricator.services.mozilla.com/D56436
2019-12-10 21:59:02 +00:00