Commit graph

4824 commits

Author SHA1 Message Date
Matt Woodrow
83f0f46289 Bug 1578624 - P7: Listen for keyword-uri-fixup events from the parent process in browser.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44763

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:51 +00:00
Narcis Beleuzu
3429292547 Backed out 11 changesets (bug 1578624) for bustages on WindowGlobalChild.h . CLOSED TREE
Backed out changeset 478897956ee0 (bug 1578624)
Backed out changeset ab9c09164df0 (bug 1578624)
Backed out changeset f461f10efa46 (bug 1578624)
Backed out changeset 9b958693a003 (bug 1578624)
Backed out changeset 3b8220a15051 (bug 1578624)
Backed out changeset 180407dc57a8 (bug 1578624)
Backed out changeset bb11892e2171 (bug 1578624)
Backed out changeset 4f5c28244290 (bug 1578624)
Backed out changeset 6c02bbe5c1c5 (bug 1578624)
Backed out changeset 1d762fdce921 (bug 1578624)
Backed out changeset 818bc6e20c7d (bug 1578624)

--HG--
extra : histedit_source : ea22e628bf35425402009e9af274602f342a7476
2019-10-09 08:52:25 +03:00
Matt Woodrow
d2a7eac05f Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-03 23:15:19 +00:00
Matt Woodrow
74cf18e268 Bug 1578624 - P7: Listen for keyword-uri-fixup events from the parent process in browser.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44763

--HG--
extra : moz-landing-system : lando
2019-10-04 02:02:33 +00:00
Harry Twyford
4ea53a93ad Bug 1586026 - Expand Megabar in window.focusAndSelectUrlbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48104

--HG--
extra : moz-landing-system : lando
2019-10-08 12:39:30 +00:00
Mark Banner
526c10a89d Bug 1578381 - Rename HomePage.init to delayedStartup to better describe when it gets called normally. r=mixedpuppy
Depends on D48169

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

--HG--
extra : moz-landing-system : lando
2019-10-07 17:05:09 +00:00
Michael Kaply
d3547ee818 Bug 158968 - Implement kiosk mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41848

--HG--
extra : moz-landing-system : lando
2019-10-04 19:47:56 +00:00
James Teh
d9d82b8278 Bug 1576509: Add a function to announce a message to screen reader users. r=Gijs,yzen
Differential Revision: https://phabricator.services.mozilla.com/D47717

--HG--
extra : moz-landing-system : lando
2019-10-02 05:53:52 +00:00
Mark Hammond
42b1e658e0 Bug 1584076 - Hide the 'Firefox Services' label when there are no services. r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D47720

--HG--
extra : moz-landing-system : lando
2019-10-01 14:33:01 +00:00
Sean Feng
660aac23aa Bug 1467970 - Unsupport cross docGroup adoption r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43135

--HG--
extra : moz-landing-system : lando
2019-09-14 00:09:44 +00:00
Emilio Cobos Álvarez
06edb6f970 Bug 1583941 - Use a per-window event to handle dark mode changes in LightweightThemeConsumer.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D47241

--HG--
extra : moz-landing-system : lando
2019-09-26 13:21:40 +00:00
Mark Hammond
7ec2097ae8 Bug 1582633 - allow an FxA user to be signed in without sync being enabled. r=eoger,lina
Differential Revision: https://phabricator.services.mozilla.com/D46572

--HG--
extra : moz-landing-system : lando
2019-09-25 06:51:18 +00:00
Vijay Budhram
9ebe6010d5 Bug 1575706 - Add account sub menu to fxa toolbar menu r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D45725

--HG--
extra : moz-landing-system : lando
2019-09-20 17:00:51 +00:00
Marco Bonardo
8d45311eb0 Bug 1582505 - OpenViewOnFocus should not open the view on the new tab page using a shortcut. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46491

--HG--
extra : moz-landing-system : lando
2019-09-19 21:20:34 +00:00
Gurzau Raul
5589deded8 Backed out changeset 4ce6c9d4041a (bug 1575706) for failing at browser_duplicateIDs.js on a CLOSED TREE. 2019-09-20 00:54:38 +03:00
Vijay Budhram
35c8f2a5ea Bug 1575706 - Add account sub menu to fxa toolbar menu r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D45725

--HG--
extra : moz-landing-system : lando
2019-09-19 19:27:02 +00:00
Jonathan Kingston
6c5244b7a9 Bug 1579444 - Remove offline storage usage prompt r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46075

--HG--
extra : moz-landing-system : lando
2019-09-17 16:21:45 +00:00
Bogdan Tara
7fd9d0c40e Backed out changeset d6a50efcae08 (bug 1579444) for ES lint failure on OfflineAppsChild.jsm CLOSED TREE 2019-09-17 18:42:36 +03:00
Jonathan Kingston
d2f8bed096 Bug 1579444 - Remove offline storage usage prompt r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46075

--HG--
extra : moz-landing-system : lando
2019-09-17 13:31:40 +00:00
prathiksha
474ef9a0f2 Bug 1561443 - Move _getErrorMessageFromCode from NetErrorChild.jsm to aboutNetError.js. r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D36542

--HG--
extra : moz-landing-system : lando
2019-09-17 09:49:59 +00:00
Tim Nguyen
e043df8d78 Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250

--HG--
rename : toolkit/content/widgets/autocomplete.xml => toolkit/content/widgets/autocomplete-input.js
extra : moz-landing-system : lando
2019-09-17 06:22:42 +00:00
Mihai Alexandru Michis
f9580519b8 Backed out changeset e859a5aebb5b (bug 1534455) for causing failures at test_bug437844.xul
--HG--
rename : toolkit/content/widgets/autocomplete-input.js => toolkit/content/widgets/autocomplete.xml
2019-09-17 07:51:36 +03:00
Tim Nguyen
5d8a3da397 Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250

--HG--
rename : toolkit/content/widgets/autocomplete.xml => toolkit/content/widgets/autocomplete-input.js
extra : moz-landing-system : lando
2019-09-17 01:35:25 +00:00
Marco Bonardo
fdfb9d4446 Bug 1578856 - browser.fixup.dns_first_for_single_words and the keyword-uri-fixup UI are broken. r=adw
In the Quantum Bar it's usually the urlbar code that decides whether a search
string should be visited or searched. if dns_first_for_single_words is set,
we can't make a final decision, because that depends on a dns lookup. For now
we don't want to duplicate the docshell code, also because we must keep the
old behavior functioning for cases where the urlbar value is set without input.

Similarly, when the docshell decides to search for a single word host, and a
dns lookup resolves it, it also shows a prompt asking the user if he meant to
visit it instead of searching. Because the urlbar skips the docshell decision
making, we must manually call the fixup prompt code from the urlbar.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:46:34 +00:00
Johann Hofmann
8847236f13 Bug 1573502 - Always use system principal as triggeringPrincipal for about:certificate. r=jkt
about:certificate is always trusted and we don't have to use the content principal in browser.js

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

--HG--
extra : moz-landing-system : lando
2019-09-16 09:06:00 +00:00
monikamaheshwari
9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Dão Gottwald
57f477c599 Bug 1580248 - Fix urlbar height and vertical alignment in compact mode. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D45555

--HG--
extra : moz-landing-system : lando
2019-09-11 22:44:41 +00:00
Dão Gottwald
137323d6a0 Bug 1577472 - Always use position:absolute for the megabar so it doesn't get reframed on focus r=harry
Differential Revision: https://phabricator.services.mozilla.com/D44864

--HG--
extra : moz-landing-system : lando
2019-09-10 14:48:28 +00:00
Paul Zuehlcke
00119452fc Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-10 10:57:07 +00:00
prathiksha
2a39a566d7 Bug 1553342 - Have Browser:CertExceptionError message exchanges happen over RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34581

--HG--
extra : moz-landing-system : lando
2019-09-05 20:04:03 +00:00
Coroiu Cristina
9683a17a37 Backed out changeset d2867a062f45 (bug 1574480) for browser-chrome failures at browser/base/content/test/general/browser_offlineQuotaNotification.js on a CLOSED TREE 2019-09-05 18:38:42 +03:00
Paul Zuehlcke
99bfbf1328 Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:55 +00:00
Emma Malysz
392fe89b3a Bug 1569738, make PageInfo fission compatible r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D42978

--HG--
extra : moz-landing-system : lando
2019-08-29 20:31:19 +00:00
Paul Zuehlcke
c4e3669f0f Bug 1558439 - Log warning to web console when add-on installation was blocked due to fullscreen. r=johannh,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D44161

--HG--
extra : moz-landing-system : lando
2019-08-30 16:34:08 +00:00
Mark Banner
511a7ababf Bug 1562929 - Use the default private search engine in the context menu. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D43771

--HG--
extra : moz-landing-system : lando
2019-08-29 14:43:43 +00:00
Mark Banner
4256dfcab4 Bug 1562926 - Use the default private search engine in the address bar. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D43244

--HG--
extra : moz-landing-system : lando
2019-08-29 14:43:43 +00:00
Johann Hofmann
c987315cec Bug 1468355 - Optimize checking for site data usage for the site identity panel. r=Gijs
The idea here is that we avoid updating all site data in SiteDataManager.jsm
just for checking a single host/origin and that we optimize performance by prioritizing
the most common data type (cookies) and synchronous lookups (AppCache) and returning
early if any data was found.

We will still refresh the site data list for clearing once the user clicks on "Clear Site Data".

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

--HG--
extra : moz-landing-system : lando
2019-08-28 21:45:30 +00:00
Andreas Farre
6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Drew Willcoxon
292a6bb2ce Bug 1575038 - Quantumbar: Record engagement event telemetry when openViewOnFocus is triggered without mouse clicks. r=dao
We need to start engagement event recording when the view opens due to `openViewOnFocus`. We already do for mouse clicks since we call `engagementEvent.start` from `_on_mousedown`. But we don't for the Ctrl/Command-L key shortcut. The shortcut command calls `openLocation` in browser.js, which calls `gURLBar.startQuery` but not `engagementEvent.start`.

Every time we call `engagementEvent.start`, we do it before calling `input.startQuery`. The one exception is in `input._on_drop` because there we just handle the dropped value directly instead of starting a new query with it.

The inverse is also mostly true, i.e., every time we call `input.startQuery`, we also call `engagementEvent.start`. The three exceptions are: in UITour (where it looks like we should be calling `urlbar.search` instead), in `UrlbarInput` after picking a keyword offer result, and in `openLocation` in browser.js (mentioned above). So really the only valid place is after picking a keyword entry.

So, it makes sense to move `engagementEvent.start()` into `input.startQuery` so that callers don't have to call it. I added an `event` param to `startQuery`, since `engagementEvent.start` needs one. I considered removing that need. It's possible, but then we would need a way to avoid calling `engagementEvent.start` in the keyword offer case, so `startQuery` would need something like a `suppressEngagementEvent` param. `event` basically functions as that, so I left it.

Another thing to point out about this patch is that I chose to record a "typed" value when the pageproxystate is invalid and the view opens due to `openViewOnFocus`. The view does not show the user's top sites in that case, so "topsites" seems wrong.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 14:50:42 +00:00
Mark Banner
a05a7163d5 Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop
This picks up various improvements, especially to how configurations are handled and some new rules.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 19:08:44 +00:00
Dão Gottwald
a25a70aaf0 Bug 1575563 - Improve Megabar input layout. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D42864

--HG--
extra : moz-landing-system : lando
2019-08-21 19:13:15 +00:00
Thomas Nguyen
bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Abdoulaye O. Ly
2071196eb3 Bug 1571080 - [Fission] Port form validation to JSWindowActor. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D40483

--HG--
rename : browser/modules/FormValidationHandler.jsm => browser/actors/FormValidationParent.jsm
extra : moz-landing-system : lando
2019-08-19 18:20:19 +00:00
Mike Conley
d64c589ac1 Bug 1568320 - Add a context menu to the Picture-in-Picture toggle to allow for easy hiding. r=NeilDeakin,JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D40305

--HG--
extra : moz-landing-system : lando
2019-08-13 18:29:29 +00:00
Cosmin Sabou
b26c339222 Backed out 6 changesets (bug 1572189, bug 1572773, bug 1568974, bug 1571710, bug 1568972) for eslint failure on content/pageinfo/security.js. CLOSED TREE
Backed out changeset d0162a59fb9f (bug 1572773)
Backed out changeset c2105d0d65aa (bug 1572189)
Backed out changeset 49b0496a73ed (bug 1571710)
Backed out changeset 1ba4647f9bb9 (bug 1568974)
Backed out changeset a33c6ef60d25 (bug 1568974)
Backed out changeset 168b4675c975 (bug 1568972)
2019-08-13 21:23:23 +03:00
dleblanccyr
fe443d7006 Bug 1568974 - Adds error warning to certificate viewer. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D39531

--HG--
extra : moz-landing-system : lando
2019-08-13 14:09:44 +00:00
Jared Wein
776e7c17fb Bug 1571567 - Fix no-fallthrough errors in /browser. r=MattN,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D40745

--HG--
extra : moz-landing-system : lando
2019-08-08 15:18:49 +00:00
Bogdan Tara
844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein
bfdcad7ada Bug 1571567 - Fix no-fallthrough errors in /browser. r=MattN,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D40745

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
Carolina
4e44eeedbe Bug 1570973 - Adds missing certificate chain information in about:certificate.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40635

--HG--
extra : moz-landing-system : lando
2019-08-08 00:58:40 +00:00
Moritz Birghan
899a70f4b9 Bug 1563849 - Get btoa(getDERString(cert)) from an API r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39970

--HG--
extra : moz-landing-system : lando
2019-08-06 09:03:38 +00:00
Tim Huang
e09b000a95 Bug 1567422 - Part 2: Update the tooltip of the tracking protection icon. r=johannh
This patch modify the way how tooltip works on the tracking protection
icon. We use <tooltip> instead of 'tooltiptext' attribute in order to
limit the width of the tooltip in 500px.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 06:01:17 +00:00
Mark Banner
f41a03f6cb Bug 1535049 - Disallow setting homepages to ignored urls. r=daleharvey,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40393

--HG--
rename : browser/modules/test/unit/test_HomePage.js => browser/modules/test/unit/test_HomePage_ignore.js
extra : moz-landing-system : lando
2019-08-05 21:52:59 +00:00
Mark Banner
a8f61c87b4 Bug 1535049 - If the homepage is referenced in the ignore list, reset it soon after startup or when the ignore list is updated. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D40392

--HG--
extra : moz-landing-system : lando
2019-08-05 21:52:43 +00:00
Kris Maglione
22592538f5 Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.

This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.

For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:33 +00:00
Zibi Braniecki
b87d8246a9 Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379

--HG--
extra : moz-landing-system : lando
2019-08-02 16:07:44 +00:00
Vijay Budhram
d9c1062c1c Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961

--HG--
extra : moz-landing-system : lando
2019-08-02 13:55:19 +00:00
Andreea Pavel
3b500e9fdd Backed out changeset 7a06c08bf267 (bug 1501886) for bc failures e.g. browser_window_menu_list.js on a CLOSED TREE 2019-08-02 05:44:47 +03:00
Zibi Braniecki
2a1b1da4ee Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379

--HG--
extra : moz-landing-system : lando
2019-08-01 14:21:13 +00:00
Andrei Oprea
061101f9e1 Bug 1561547 - Use Messaging System to badge the FxA accounts toolbar button r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D37879

--HG--
extra : moz-landing-system : lando
2019-07-31 19:39:34 +00:00
Paul Zuehlcke
5a377a3a37 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428

--HG--
extra : moz-landing-system : lando
2019-07-30 08:28:31 +00:00
Mihai Alexandru Michis
27acd9ae77 Backed out changeset f2b7c868c0a7 (bug 1562006) for browser chrome failures. CLOSED TREE 2019-07-29 23:37:58 +03:00
Vijay Budhram
d99505ac96 Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961

--HG--
extra : moz-landing-system : lando
2019-07-29 16:21:22 +00:00
Thomas Nguyen
180aa6b0a1 Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38381

--HG--
extra : moz-landing-system : lando
2019-07-29 10:13:45 +00:00
Csoregi Natalia
141bcffcc8 Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
Paul Zuehlcke
15afab0390 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428

--HG--
extra : moz-landing-system : lando
2019-07-29 08:37:55 +00:00
Daisuke Akatsuka
bbd3534237 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-29 06:23:09 +00:00
Bogdan Tara
05b45758c3 Backed out 2 changesets (bug 1407945) for failures on browser_tooltip.js CLOSED TREE
Backed out changeset 2ea007508cd3 (bug 1407945)
Backed out changeset 43553c5c7033 (bug 1407945)
2019-07-29 09:16:30 +03:00
Daisuke Akatsuka
756317c698 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-23 17:20:49 +00:00
Marco Bonardo
3a39214a77 Bug 1559136 - Add urlbar event telemetry behind a pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38521

--HG--
extra : moz-landing-system : lando
2019-07-25 12:39:02 +00:00
Bogdan Tara
f78b8d0022 Backed out changeset 3ecae0d7af5e (bug 1561547) for browser_startup_flicker.js failures CLOSED TREE 2019-07-24 19:22:24 +03:00
Andrei Oprea
ef6be7e743 Bug 1561547 - Use Messaging System to badge the FxA accounts toolbar button r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D37879

--HG--
extra : moz-landing-system : lando
2019-07-22 17:38:20 +00:00
Boris Zbarsky
edcc55e4e1 Bug 1568278 followup: fix incorrect 'let' usage on CLOSED TREE. r=bzbarsky 2019-07-23 22:00:12 -04:00
Boris Zbarsky
a818800ec5 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065

--HG--
extra : moz-landing-system : lando
2019-07-24 01:26:07 +00:00
Gijs Kruitbosch
fffc7f0c58 Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley
At a high level, this change does the following:
- move the pluginchild actor to be a JSWindowActorChild
- move the parent handling from browser-plugins into a JSWindowActorParent
- move the crash handling from ContentCrashHandlers.jsm to the parent actor,
  using a `PluginManager` object. It needs to talk to the actors (and vice
  versa), so this seemed a better fit than spreading actor implementation
  details to other JSMs.
- switch to using plugin IDs to identify plugins cross-process, instead of
  combinations of names or other properties of the plugin tag. As part of that,
  ensured plugin IDs are unique between "fake" plugins and the other ones.
- drop support for having a notification for more than 1 plugin. We only support
  Flash, in practice, so there didn't seem to be much point in the added
  complexity of trying to support more than 1 thing.

Some notes:
- the previous implementation mixes runIDs (for NPAPI plugin process "runs")
  and GMP pluginIDs when doing crashreporting. AFAICT there is no guarantee
  these don't conflict, so I've split them out to avoid issues. There's a
  pluginCrashID object I pass around instead that has either a runID or
  pluginID. Happy to rename some more for clarity.
- the previous implementation used `pluginInfo` and `plugin` for a bunch of
  different types of variables. I've tried to be consistent, where:
  * `pluginElement` is a DOM element for a plugin
  * `activationInfo` is a JS object used to track click to play state for a plugin
  * `plugin` is a plugintag as returned by the pluginhost service
  * `pluginCrashID` is an identifier for a crashed plugin (see previous point).
- I'm still using broadcastAsyncMessage to tell the content processes about
  gmp plugin crashes and plugin crash submission updates, because there's no
  guarantee the actors are instantiated (for gmp plugins) nor can the parent
  easily find out which actors to talk to (for either gmp or npapi plugins).
  Open to suggestions there, too. I think our best bet might be moving that to
  IPDL-based IPC within the GMP code, but that feels like a separate bug.

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

--HG--
rename : browser/base/content/browser-plugins.js => browser/actors/PluginParent.jsm
extra : moz-landing-system : lando
2019-07-23 22:04:40 +00:00
Cosmin Sabou
a4efa7bded Backed out 2 changesets (bug 1407945) for devtools failures on browser_tooltip.js.
Backed out changeset 1160c6868061 (bug 1407945)
Backed out changeset 359eec53f12e (bug 1407945)
2019-07-23 19:39:41 +03:00
Daisuke Akatsuka
7ddb98f9d5 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-23 13:59:23 +00:00
Andreea Pavel
148f85db1b Backed out changeset 9955fec84808 (bug 1561547) for failing bc at browser_sync.js on a CLOSED TREE 2019-07-20 13:06:16 +03:00
Andrei Oprea
0a88215f93 Bug 1561547 - Use Messaging System to badge the FxA accounts toolbar button r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D37879

--HG--
extra : moz-landing-system : lando
2019-07-19 12:21:33 +00:00
Sean Feng
49f3772d40 Bug 1551965 - Add telemetry for page reload key combinations r=bdekoz,Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D35035

--HG--
extra : moz-landing-system : lando
2019-07-17 14:04:31 +00:00
Dão Gottwald
6b7e2645f9 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 11:34:21 +00:00
Mihai Alexandru Michis
b7d205a80b Backed out changeset 3504c0b3f87c (bug 1513337) for marionette failures CLOSED TREE 2019-07-17 14:02:05 +03:00
Dão Gottwald
16f78d8e06 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 09:20:41 +00:00
Coroiu Cristina
0882dc9bf4 Backed out changeset cf34b2e8ac53 (bug 1513337) for test client failure 2019-07-17 12:12:21 +03:00
Dão Gottwald
9fce0b69a1 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 07:38:18 +00:00
Thomas Nguyen
b0fa7cedfe Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939

--HG--
extra : moz-landing-system : lando
2019-07-16 17:59:28 +00:00
Gijs Kruitbosch
5ae6f00741 Bug 1550637 - hide tooltip when the docshell navigate, don't show tooltips if the docshell is no longer active, r=nika,dao
Differential Revision: https://phabricator.services.mozilla.com/D35503

--HG--
extra : moz-landing-system : lando
2019-07-16 07:48:23 +00:00
Brindusan Cristian
ea007979ee Backed out changeset a7c14ebfcd4d (bug 1513337) for telemetry failures at test_event_ping.py. CLOSED TREE 2019-07-16 17:22:21 +03:00
Dão Gottwald
d4258708f3 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-16 10:26:04 +00:00
Carolina
9196c76343 Bug 1560538 - Opens a new tab to show the certificate. r=johannh,keeler
Not sure what to do in pippki.js, for the moment I put an incorrect id.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 12:32:43 +00:00
Alphan Chen
bd4a8d7302 Bug 1563171 - Move the sessionStore related functions from nsIXULBrowserWindow.idl r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37424

--HG--
extra : moz-landing-system : lando
2019-07-15 10:29:06 +00:00
Johann Hofmann
e0669dc2c5 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 21:36:58 +00:00
Dorel Luca
da86b02dc2 Backed out 3 changesets (bug 1562575) for Mochitest failures in browser/tools/mozscreenshots/controlCenter/browser_controlCenter.js. CLOSED TREE
Backed out changeset fce18a9477b0 (bug 1562575)
Backed out changeset c9b01b908020 (bug 1562575)
Backed out changeset de006229ba8f (bug 1562575)
2019-07-12 18:42:19 +03:00
Dão Gottwald
94076a2fc9 Bug 1565524 - Stop setting unused autocompletesearchparam attribute. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37847

--HG--
extra : moz-landing-system : lando
2019-07-12 11:53:39 +00:00
Johann Hofmann
0d0bc26e56 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 10:27:24 +00:00
Alphan Chen
02e1dcbe25 bug 1562889 - Convert content-sessionStore to C++: add browser epochs support r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D36606

--HG--
extra : moz-landing-system : lando
2019-07-11 09:46:14 +00:00
Dão Gottwald
9613076e75 Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540

--HG--
extra : moz-landing-system : lando
2019-07-11 07:48:42 +00:00
Andreea Pavel
5dae66b201 Backed out changeset c602dc47afce (bug 1564830) ES lint failure on a CLOSED TREE 2019-07-10 19:11:54 +03:00
Dão Gottwald
190d05c07e Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540

--HG--
extra : moz-landing-system : lando
2019-07-10 15:40:50 +00:00
harry
38c5e18846 Bug 1551232 - Removes legacy-urlbar binding and simplifies gURLBarHandler. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36231

--HG--
extra : moz-landing-system : lando
2019-07-09 21:29:53 +00:00