Commit graph

4897 commits

Author SHA1 Message Date
Sam Foster
08d2b6aa6d Bug 1618696 - Prevent overlapping show/hide of the ConfirmationHint. r=MattN
* Track and clear a timerID for the ConfirmationHint to avoid callbacks from one show() call interfering with a subsequent call.
* Tighten up waiting for and verifying the confirmation hint in browser_doorhanger_generated_password.js
* Pass in the correct browser when retrieving the anchorNode for the confirmation hint.

Differential Revision: https://phabricator.services.mozilla.com/D67398

--HG--
extra : moz-landing-system : lando
2020-03-18 23:05:57 +00:00
Sydney
01e6267b90 Bug 1587496 - Update nsIBrowserHandler users in browser.js to use new BrowserHandler lazy getter. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D67027

--HG--
extra : moz-landing-system : lando
2020-03-18 19:31:54 +00:00
Coroiu Cristina
0c837bbcd0 Backed out changeset 0453b0a0c49d (bug 1531289) for browser-chrome failures at uriloader/exthandler/tests/mochitest/browser_auto_close_window.js on a CLOSED TREE 2020-03-18 15:55:43 +02:00
Andrea Marchesini
c486efbb58 Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66454

--HG--
extra : moz-landing-system : lando
2020-03-18 12:08:24 +00:00
Dão Gottwald
976a235654 Bug 1610479 - Remove UrlbarInput's dependency on focusAndSelectUrlBar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D66954

--HG--
extra : moz-landing-system : lando
2020-03-16 15:53:32 +00:00
Marco Bonardo
2dc20c6432 Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66269

--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
Ed Lee
acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Dão Gottwald
7ba24289ce Bug 1539838 - Move SetPageProxyState into UrlbarInput. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D66288

--HG--
extra : moz-landing-system : lando
2020-03-12 18:15:58 +00:00
Theo Ottah
bb0e7503e5 Bug 1612650 - Shift clicking navigation buttons in private browser opens content in private window r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D65886

--HG--
extra : moz-landing-system : lando
2020-03-13 00:07:05 +00:00
Mike Conley
8ba260392e Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

Differential Revision: https://phabricator.services.mozilla.com/D65569

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 03:10:29 +00:00
Dorel Luca
6c6fc9f3dc Backed out changeset 9160f18bc24e (bug 1619992) for XPCshell failures in newtab/test/xpcshell/test_AboutNewTab.js
--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTab.js => browser/components/newtab/test/xpcshell/test_AboutNewTabService.js
2020-03-11 04:20:31 +02:00
Mike Conley
4cb59612e3 Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

Differential Revision: https://phabricator.services.mozilla.com/D65569

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 01:25:31 +00:00
Gijs Kruitbosch
703ed9959d Bug 1620613 - improve checks for the webrender + fission infobar, r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D66123

--HG--
extra : moz-landing-system : lando
2020-03-10 09:08:09 +00:00
Dão Gottwald
61b4e4cf7f Bug 1620626 - Move checkEmptyPageOrigin to BrowserUtils. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65861

--HG--
extra : moz-landing-system : lando
2020-03-09 15:52:06 +00:00
Dão Gottwald
1f136fd774 Bug 1610475 - Move URLBarSetURI to UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65535

--HG--
rename : browser/components/urlbar/tests/browser/browser_URLBarSetURI.js => browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js
extra : moz-landing-system : lando
2020-03-06 16:27:16 +00:00
Dale Harvey
3accbdadfa Bug 1615901 - Dont send Origin header with context menu searches. r=ckerschb,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D63630

--HG--
extra : moz-landing-system : lando
2020-03-06 14:18:34 +00:00
Dão Gottwald
2b154f8360 Bug 1610533 - Move losslessDecodeURI to UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65092

--HG--
extra : moz-landing-system : lando
2020-03-04 14:14:25 +00:00
Dão Gottwald
8cb5663fca Bug 1619916 - Remove ancient getWebNavigation helper function. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D65311

--HG--
extra : moz-landing-system : lando
2020-03-04 12:03:53 +00:00
Dão Gottwald
d5dc8413cf Bug 1619913 - Remove unused global constants from browser.js. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D65310

--HG--
extra : moz-landing-system : lando
2020-03-04 11:19:58 +00:00
David Teller
de37ecf1a7 Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827

--HG--
extra : moz-landing-system : lando
2020-03-02 19:29:17 +00:00
Dave Townsend
6b18fc8fb5 Bug 1617682: Add a menu option to uninstall an ssb. r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D63921

--HG--
extra : moz-landing-system : lando
2020-03-02 10:29:41 +00:00
Gijs Kruitbosch
3738af45a4 Bug 1618379 - remove Web Replay (recordExecution/replayExecution) remnants from browser code, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D64747

--HG--
extra : moz-landing-system : lando
2020-02-28 16:03:08 +00:00
Mihai Alexandru Michis
6ea754b170 Backed out changeset 22f74b61de35 (bug 1607366) for causing mochitest fission failures.
CLOSED TREE
2020-02-27 17:57:30 +02:00
David Teller
ebe25e677b Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827

--HG--
extra : moz-landing-system : lando
2020-02-27 13:59:23 +00:00
Dão Gottwald
65e9ed9d0a 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

--HG--
extra : moz-landing-system : lando
2020-02-25 15:59:35 +00:00
Kris Maglione
f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab
73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione
c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli
6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione
e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Andrew Osmond
772f973027 Bug 1608189 - Allow WebRender captures on beta/release if pref is set. r=jrmuizel,mconley
Differential Revision: https://phabricator.services.mozilla.com/D62916

--HG--
extra : moz-landing-system : lando
2020-02-25 15:23:31 +00:00
shindli
dba7079347 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
25f863ae92 Bug 1607366 - Display a warning when we're running Fission without WebRender;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61827

--HG--
extra : moz-landing-system : lando
2020-02-22 10:03:42 +00:00
Michael Kaply
8f1480c9ed Bug 1616832 - Don't run code after delayed startup. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D63491

--HG--
extra : moz-landing-system : lando
2020-02-20 15:38:33 +00:00
Dão Gottwald
4d610df268 Bug 1508171 - Remove gBrowser.initialBrowser. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63332

--HG--
extra : moz-landing-system : lando
2020-02-19 15:49:19 +00:00
Gijs Kruitbosch
766d80fdda 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

--HG--
extra : moz-landing-system : lando
2020-02-17 17:27:08 +00:00
Dão Gottwald
3d091ee473 Bug 1545046 - Hide the container label in the URL bar in small windows. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D62609

--HG--
extra : moz-landing-system : lando
2020-02-14 18:15:55 +00:00
Mike Conley
d8069ef65c 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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:17:12 +00:00
Nika Layzell
6ff27537b1 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

--HG--
extra : moz-landing-system : lando
2020-02-10 21:46:51 +00:00
Marco Bonardo
5af1f5f1ef Bug 1601052 - Merge openViewOnFocus and retained results features. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60668

--HG--
extra : moz-landing-system : lando
2020-01-31 08:30:34 +00:00
Oana Pop Rus
aace55be1b Backed out changeset cfb9cc9ee352 (bug 1607545) for node failures on a CLOSED TREE 2020-01-25 01:21:24 +02:00
Mike Conley
5a5b08df8c 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

--HG--
extra : moz-landing-system : lando
2020-01-24 21:08:30 +00:00
Kendall Werts
7f966c7fbf 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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:28:30 +00:00
Mike Conley
ea70cbeec9 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

--HG--
extra : moz-landing-system : lando
2020-01-22 21:24:19 +00:00
Neil Deakin
87bf897e88 Bug 1598919, move Browser:LoadURI into BrowserTabParent actor, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D54411

--HG--
extra : moz-landing-system : lando
2020-01-20 15:19:14 +00:00
Harry Twyford
cf63dc31df 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

--HG--
extra : moz-landing-system : lando
2020-01-16 15:22:47 +00:00
Harry Twyford
8ad4e1813a 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

--HG--
extra : moz-landing-system : lando
2020-01-14 16:28:46 +00:00
Dimi Lee
10c00c38cf 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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:27 +00:00
Dimi Lee
27d4d88bfe 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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:23 +00:00
Dão Gottwald
f536402657 Bug 1606069 - Enable openViewOnFocus for about:newtab and about:home. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D59548

--HG--
extra : moz-landing-system : lando
2020-01-13 19:18:16 +00:00