Граф коммитов

62219 Коммитов

Автор SHA1 Сообщение Дата
Alphan Chen d12fbd8633 Bug 1474130 - Implement ScrollPosition/Privacy/DocCapability listeners in C++ r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D23057

--HG--
extra : moz-landing-system : lando
2019-05-04 10:42:52 +00:00
monikamaheshwari bb5ca39415 Bug 1530335 Use the same date/time format everywhere on cert error pages r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27875

--HG--
extra : moz-landing-system : lando
2019-05-06 06:13:58 +00:00
Emilio Cobos Álvarez e34df76e27 Bug 1547489 - Make sure to target something inside the cross-origin iframe in browser_bug734076.js. r=mconley
This test is already somewhat racy. At least locally, I could see the
background-image test fail sometimes in chaos mode. This is because we don't
wait for the background-image to load. But that's a different bug in any case.

Anyway, this failure happens because we're sending an event to the <iframe>,
but the context menu code expects the target of the event to be a node inside
the cross-origin iframe, in order for this check to work:

https://searchfox.org/mozilla-central/rev/b4e790d05f5a146d186c238bac5601a553581d23/browser/actors/ContextMenuChild.jsm#1036

Since <iframe> is cross-origin, stuff in it may not have been laid out yet.
This will also be a problem with fission, afaict, where that check wouldn't
even be possible, I think. If stuff there hasn't been laid out, the thing
getting the event (the contextmenu's target) is the <iframe>, rather than the
content document's target.

Make sure to target content under the subframe for now. This change is a bit
subtle, in the sense that what ensures stuff is getting laid out after this
change is the getBoundingClientRect() calls in:

https://searchfox.org/mozilla-central/rev/b4e790d05f5a146d186c238bac5601a553581d23/testing/mochitest/tests/SimpleTest/AsyncUtilsContent.js#75

However we rely on those all over the place already (even before my change), so
I think this is the easiest / better test fix for now.

With Fission we'll probably need to change how those context-menu checks work so
that they work when targeting the <iframe> or forward to the nested child
process or something.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 19:02:40 +00:00
Luca Greco 2448c9bc05 Bug 1544928 - Allow to optionally report an extension on addon uninstall. r=flod,jaws,mstriemer
Depends on D29121

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

--HG--
extra : moz-landing-system : lando
2019-05-06 18:38:23 +00:00
Luca Greco f4aba799d0 Bug 1544928 - Add Report extension in browserAction context menu. r=flod,jaws,mstriemer
Depends on D27294

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

--HG--
extra : moz-landing-system : lando
2019-05-06 18:38:19 +00:00
Dorel Luca eee26c0f73 Backed out changeset 036a4b9e8426 (bug 1549146) for Browser-Chrome failures in browser/components/preferences/in-content/tests/browser_connection_dnsoverhttps.js
--HG--
extra : rebase_source : 893653016a284b37ad1449f9f0f29c50ba2ff745
2019-05-06 21:02:00 +03:00
phoenixabhishek 16e544aca5 Bug 1543041 - Port bug 1355073 to quantumbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D29838

--HG--
extra : moz-landing-system : lando
2019-05-06 16:36:28 +00:00
Brian Grinstead c531d65bf7 Bug 1543607 - Store the tabbrowser scrollbox button width when tabs are closed with the mouse so it can be used on underflow to keep the close button under the mouse r=dao
The button is already hidden when underflow fires, so the clientWidth is 0. Instead,
store it during _lockTabSizing so we know how much space to fill when tabs are being closed
by the mouse, to allow the close button to remain underneath the mouse cursor.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 15:42:13 +00:00
Andreea Pavel afb105189c Backed out changeset b821fc0de45c (bug 1543684) for failing browser_354894_perwindowpb.js on a CLOSED TREE 2019-05-06 19:52:40 +03:00
Andreea Pavel e9c2024ba3 Backed out 9 changesets (bug 1546980, bug 1546123, bug 1546248, bug 1542262) backed out for not being reviewed by a proper peer on a CLOSED TREE
Backed out changeset b3f31aa87d0d (bug 1546248)
Backed out changeset c372247f4432 (bug 1546123)
Backed out changeset 56f4b0058107 (bug 1546980)
Backed out changeset 2209fbf12d8b (bug 1542262)
Backed out changeset cb165c7bea67 (bug 1546248)
Backed out changeset 75766279872a (bug 1546248)
Backed out changeset 6c8b944ef465 (bug 1546248)
Backed out changeset 0258f553e721 (bug 1546248)
Backed out changeset afb54f703345 (bug 1546248)
2019-05-06 19:41:37 +03:00
Jared Wein 4b2e98dfe6 Bug 1549146 - Resize the subdialog after showing/hiding the Custom textbox to make sure scrollbars appear if necessary. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D30068

--HG--
extra : moz-landing-system : lando
2019-05-06 15:42:33 +00:00
Mike de Boer aeb8dbf5af Bug 1543684 - When a session is set to resume anyways, skip analyzing previous crashes and always restore immediately. r=dao
I also made a few gratuitous code formatting cleanups. I hope you don't mind.
We are unable to properly analyze shutdown crashes and deduce the right action
to take when that happened. This leads to surprising occurrences of the
'about:sessionrestore' page shown, especially when a full restore is expected
anyway.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 15:32:10 +00:00
Rob Wu cc4b53e47a Bug 1546248 - Put HTML discopane behind separate pref r=mstriemer
Require `extensions.htmlaboutaddons.discover.enabled` to be enabled
before the HTML-based discopane is shown. This allows the feature
to be turned on and/or off independent of the other HTML views.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 10:41:22 +00:00
Rob Wu acb77d2f29 Bug 1546248 - Add discopane to about:addons HTML view r=mstriemer,flod
The api_response.json test file is the response from
https://addons-dev.allizom.org/api/v4/discovery/?lang=en-US
It has not been modified, except for being prettified using `json_pp`.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 10:41:10 +00:00
ffxbld 193d49c8b1 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D30017

--HG--
extra : moz-landing-system : lando
2019-05-06 13:28:03 +00:00
Dale Harvey 0b3e8675a7 Bug 1549122: Duct tape to prevent deadlock when search extensions upgraded on startup. r=mikedeboer a=Aryx
Differential Revision: https://phabricator.services.mozilla.com//D30004

--HG--
extra : rebase_source : 6637570bb828dfc86b1d0abfbafbd1cfdd12c9d8
extra : amend_source : 4803b6d8220d7d07a8a4f9562d4297090099a183
2019-05-06 13:06:34 +02:00
Erica Wright cdc02f4c8b Bug 1548626 - Delay showing the Privacy-UI onboarding by 30 min for new users. r=johannh
Wait 30 min after a new profile is created before showing the onbording.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 00:37:05 +00:00
Paul Zuehlcke 15881e3dff Bug 1412561 - Block addon installation prompts in fullscreen mode. r=johannh,aswan
Differential Revision: https://phabricator.services.mozilla.com/D27734

--HG--
extra : moz-landing-system : lando
2019-05-03 21:44:24 +00:00
Jonathan Kingston cb55df3ae6 Bug 1549168 - Remove use of principal SerializationHelper in browser.js and replace with E10S.serializePrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D29958

--HG--
extra : moz-landing-system : lando
2019-05-05 13:43:10 +00:00
Ed Lee 0ce3de9a83 Bug 1548952 - Add offline fallback, request timeouts and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D29909

--HG--
rename : browser/components/newtab/bin/vendor-react.js => browser/components/newtab/bin/vendor.js
extra : moz-landing-system : lando
2019-05-04 05:36:06 +00:00
Coroiu Cristina 7bb82fa0dc Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-05-06 00:42:50 +03:00
Coroiu Cristina 6f634e87e9 Merge inbound to mozilla-central a=merge on a CLOSED TREE 2019-05-06 00:38:28 +03:00
Mihai Alexandru Michis e329bc4d67 Merge mozilla central to mozilla inbound on a CLOSED TREE 2019-05-04 01:00:29 +03:00
Dão Gottwald 090bb68c30 Bug 1548860 - Set a11y focus in the UrlbarView when arrowing down and remove it on backspace. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D29664

--HG--
extra : moz-landing-system : lando
2019-05-03 18:32:15 +00:00
Tom Prince 22b9d981e5 Bug 1537999: Revert changes to beta locales for 68.0.
This partially backouts the changes from 1002276e26e2.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 20:04:21 +00:00
Michael Kaply e669c78390 Bug 1546973 - Add download related policies. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D29277

--HG--
extra : moz-landing-system : lando
2019-05-03 17:53:32 +00:00
Ryan VanderMeulen 8ad3d924cf Bug 1548887 - Update pdf.js to version 2.2.160. r=bdahl
--HG--
extra : rebase_source : 22fb8adc0d17677cdd3ef356934dbf3dc9d0962d
2019-05-03 13:33:32 -04:00
Andrea Marchesini f8565bf748 Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Nihanth Subramanya 9e383c7916 Bug 1547237 - Read fxmonitor l10n manifest lazily to avoid main-thread IO during startup. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D28990

--HG--
extra : moz-landing-system : lando
2019-05-02 21:16:44 +00:00
Sam Foster a0bed7fa3e Bug 1545242 - Add DNS-over-HTTPS resolver picker to the connections prefs UI. r=flod,johannh
* Create new network.trr.resolvers pref which is a JSON array of objects with a name and url representing each resolver
* Add menulist to represent the resolver choices, and a "custom" option to use the network.trr.custom_uri as the trr.uri value

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:15:45 +00:00
Drew Willcoxon c901619704 Bug 1545742 - Quantumbar: Remove the proper nsIController on uninit and customize start so that left/right arrow and home/end keys work after exiting customize mode. r=mak
When UrlbarInput.uninit is called after customize mode ends, uninit calls this.inputField.controllers.removeControllerAt(0), which is supposed to remove the input's CopyCutController inserted in the constructor. But the controller at index 0 at that point is not the CopyCutController. Instead it's some built-in controller that supports these commands (at least these): cmd_charPrevious, cmd_charPrevious, cmd_beginLine, cmd_endLine. (Verified by adding logging to nsXULControllers::GetControllerForCommand.) That's why arrow left/right and home/end don't work after ending customize mode.

The problem is that this.inputField.controllers in the constructor and this.inputField.controllers in uninit (when customize mode ends) are not the same. I wasn't able to track down why, but I'm guessing that the textbox or something in its state is being reset or cloned when customized mode ends or maybe right after it starts. The CopyCutController isn't in the controllers array at all on uninit. (Verified by adding support for cmd_adw and iterating through the controllers array, looking for a controller supporting cmd_adw.)

Note that urlbarBindings.xml has a try-catch around removeController(), I'm guessing for what turns out to be this reason: https://searchfox.org/mozilla-central/rev/7944190ad1668a94223b950a19f1fffe8662d6b8/browser/base/content/urlbarBindings.xml#190

However, CopyCutController *is* in the controllers array when customize mode starts. So I added a new gURLBarHandler.customizeStart method that calls a new UrlbarInput.removeCopyCutController method.

Other things I tried or thought of doing:

Call gURLBarHandler._reset on customize start instead of end. Problem with that is that the UrlbarInput ends up getting immediately recreated because some other parts of the browser access gURLBar at that time. (Of course I replaced the `gURLBar = this.urlbar` assignment in _reset with another lazy getter definition.)

Just don't worry about removing CopyCutController at all. That seems bad because then we'd leak it, unless the controller is removed or the controllers array is emptied at some point by XUL, and I'm not at all certain about that. (Although I guess this is effectively what awesomebar does, given the link above!)

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:03:00 +00:00
Johann Hofmann 4fce19c76a Bug 1546988 - Enable recording additional event telemetry on user interaction with permission prompts in Nightly. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29797

--HG--
extra : moz-landing-system : lando
2019-05-03 15:21:28 +00:00
Andrei Oprea f4df559d4d Bug 1548815 - Bookmark Panel message not at full width on windows r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D29820

--HG--
extra : moz-landing-system : lando
2019-05-03 13:48:13 +00:00
Dorel Luca 1b163e4dfb Merge mozilla-central to autoland. CLOSED TREE 2019-05-03 16:09:46 +03:00
Dorel Luca 38b93d753b Merge mozilla-inbound to mozilla-central. a=merge 2019-05-03 16:01:03 +03:00
Simon Fraser 9a2d762b1f Bug 1537999 add WNP list for 67.0 r=flod a=release
Differential Revision: https://phabricator.services.mozilla.com/D29813

--HG--
extra : moz-landing-system : lando
2019-05-03 12:52:56 +00:00
Julian Descottes 7b911e7022 Bug 1539456 - part2: Remove WebIDE toolbar button r=ntim,Ola
Depends on D29219

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

--HG--
extra : moz-landing-system : lando
2019-05-03 08:40:49 +00:00
Nika Layzell 6eb2084136 Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley
This patch introduces a new type of content process, which has a dynamic name.
This type of content process is labeled as `webIsolated=${SITE_ORIGIN}` and is
used within fission-enabled windows.

To enable this, additional information about the fission status of the target
window must be passed into E10SUtils. This was done by updating every call site
manually to pass an extra boolean. A better solution perhaps should be used in
the future.

With this patch enabled, we now perform process switches, but only when
navigating to HTTP URIs. If we navigate to a non-HTTP URI in an iframe with
fission enabled, it will not behave correctly. This must be done in a
follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 21:31:57 +00:00
Chris Peterson 3efc860351 Bug 1511434 - Part 3: resistFingerprinting: Spoof Android OS version 8.1 (Oreo). r=tjr
Google hasn't released new Android OS market share data since 2018-10-26 [1], but StatCounter reports [2] that Android 8.1 (Oreo) is currently the most common OS version (at about 19%). However, Android 9 (Pie) is quickly rising (currently at 11%) and appears likely to overtake 8.1 later this year.

[1] https://developer.android.com/about/dashboards/
[2] http://gs.statcounter.com/android-version-market-share/mobile/worldwide/#monthly-201803-201904

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

--HG--
extra : rebase_source : bd18cada4a2acc6fb795c521bb8a7c3325253612
2019-04-29 16:46:12 -07:00
Coroiu Cristina 4b5438daa1 Bug 1540911 - Fix lint error r=me on a CLOSED TREE 2019-05-03 09:35:35 +03:00
Julien Cristau e89c321210 Bug 1540911: configure whatsnew page for DevEdition 68. r=nthomas,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D29794

--HG--
extra : moz-landing-system : lando
2019-05-03 05:18:07 +00:00
Bogdan Tara 386d23bfe7 Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Bogdan Tara 31e861116c Backed out changeset 0ef6e3e9552d (bug 1548626) for browser_contentBlocking.js failures 2019-05-03 05:03:30 +03:00
Andrea Marchesini 138cee6dea Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:51 +00:00
Bogdan Tara a3eab309d8 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html crashes CLOSED TREE
Backed out changeset fc0ae629221a (bug 1510569)
Backed out changeset 97f6ac273b5d (bug 1510569)
2019-05-03 03:48:15 +03:00
Erica Wright e6f13e5d86 Bug 1548626 - Delay showing the Privacy-UI onboarding by 30 min for new users. r=johannh
Wait 30 min after a new profile is created before showing the onbording.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 23:17:12 +00:00
Barret Rennie c28096b98d Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 23:35:02 +00:00
Myk Melez 926c25f9a4 Bug 1547877 - enable configuration of new Notification Store implementation r=mossop,lina
Differential Revision: https://phabricator.services.mozilla.com/D29305

--HG--
rename : dom/notification/NotificationDB.jsm => dom/notification/new/NotificationDB.jsm
rename : dom/notification/NotificationDB.jsm => dom/notification/old/NotificationDB.jsm
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Johann Hofmann 910be2ccef Bug 1547013 - Enable automatically fixing MitM errors by default. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29764

--HG--
extra : moz-landing-system : lando
2019-05-02 22:08:44 +00:00
Ehsan Akhgari 782c6b7440 Bug 1548432 - Part 2: Ignore cookie name-value-pair strings without a "=" character; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29619

--HG--
extra : moz-landing-system : lando
2019-05-02 17:12:55 +00:00