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

3790 Коммитов

Автор SHA1 Сообщение Дата
Erica Wright c3a8f6a26b Bug 1661756 - Add VPN Card and Banner r=prathiksha,flod,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D88633
2020-09-18 13:20:01 +00:00
Emma Malysz b94b50a7ae Bug 1660665, hide subdialog if user chooses to print using system dialog. r=jwatt,Gijs,mstriemer
When the user chooses to print using the system dialog, we should hide the print
UI. We are choosing to hide the dialog stack instead of closing the dialog because
the print preview browser still needs to be available if the user tries to print.
We close the window if the user cancels the system dialog or once we receive the
promise from PrintUtils.printWindow.

Differential Revision: https://phabricator.services.mozilla.com/D88096
2020-09-17 02:18:50 +00:00
Andreas Farre f9f96d23ca Bug 1662410 - Part 1: Fix usage of ChildSHistory.legacySHistory . r=peterv
ChildSHistory.legacySHistory isn't valid for content processes when
session history in the parent is enabled. We try to fix this by either
delegating to the parent by IPC or move the implementation partially
or as a whole to the parent.

Differential Revision: https://phabricator.services.mozilla.com/D89353
2020-09-16 14:51:01 +00:00
Luke Crouch 6821fc0acd Bug 1664360 also use Region.jsm for vpn region restriction r=baku
Differential Revision: https://phabricator.services.mozilla.com/D90287
2020-09-16 12:04:10 +00:00
Dan Mosedale 69be0466d9 Bug 1664120 - work around code coverage crashes, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D90184
2020-09-15 18:58:18 +00:00
Kirk Steuber 4724b9dd94 Bug 1659157 - Add testing for allowed app sources telemetry r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D89191
2020-09-09 17:35:32 +00:00
Kirk Steuber 6f0c1a1b97 Bug 1659157 - Collect allowed app install source data and submit to telemetry r=Gijs,chutten,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D89190
2020-09-10 20:16:04 +00:00
Nihanth Subramanya 0882288b45 Bug 1664873 - Add `doh-rollout` prefs to "important modified prefs" list in about:support. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D90221
2020-09-15 13:50:22 +00:00
Dão Gottwald 3bc9f5a61d Bug 1664502 - Disable canonical URL conversion for search shortcuts when using default top sites from remote settings. r=mikedeboer
Remote Settings still support search shortcuts for the time being but it's considered an obsolete feature that we don't intend to use.

Differential Revision: https://phabricator.services.mozilla.com/D90122
2020-09-15 08:38:42 +00:00
Luke Crouch 9cd7330a82 Bug 1664360 - introduce browser.privatebrowsing.vpnpromourl r=baku
Use browser.privatebrowsing.vpnpromourl pref to control the display and link
param value of the VPN promo in about:privatebrowsing.

Differential Revision: https://phabricator.services.mozilla.com/D89916
2020-09-14 09:29:44 +00:00
James Teh 5bb136ae5a Bug 1664086: Use Fluent to set aria-label for credit card list options in preferences. r=zbraniecki,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D89696
2020-09-11 06:13:36 +00:00
Mark Banner 1d79d8b04d Bug 1642995 - Move useDBForOrder to the search settings and rename it to useSavedOrder. r=daleharvey
"DB" refers to when the settings were stored in an sqlite file, I think we should drop that reference now.

Differential Revision: https://phabricator.services.mozilla.com/D89497
2020-09-11 19:56:39 +00:00
Michael Goossens 8c23b249e2 Bug 1662704 - Remove unused traces of MOZ_ALLOW_LEGACY_EXTENSIONS r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D89730
2020-09-10 15:12:33 +00:00
Sonia Singla 6a17dca89f Bug 1656291 - Enable all ESLint rules for remaining xhtml files in toolkit/content/tests/chrome/. r=Standard8
Depends on D87183

Differential Revision: https://phabricator.services.mozilla.com/D87961
2020-09-07 12:57:10 +00:00
Paul Bone 387c5f9ad3 Bug 1639095 - Re-remove allowLinkedWebInFileUriProcess r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D78457
2020-09-02 03:43:41 +00:00
Magnus Melin cce1abb752 Bug 1612380 - don't verify content signatures for Thunderbird. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D88541
2020-09-02 14:22:52 +00:00
Nathan Froyd cd9c808aae Bug 1656302 - remove interface name for URIFixup component definition; r=mccr8
See https://bugzilla.mozilla.org/show_bug.cgi?id=1656302#c7 for the explanation.

Differential Revision: https://phabricator.services.mozilla.com/D89030
2020-09-01 21:54:56 +00:00
pbz 32b7cf7c35 Bug 1661030 - Extended TabDialogBox with an option to persist dialogs across same origin location change. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88423
2020-09-02 14:24:58 +00:00
pbz 2a72e0a43c Bug 1661030 - Refactor SubDialog and TabDialogBox to support passing multiple window arguments. r=Gijs,preferences-reviewers
This also updates the behavior of the allowDuplicates check:
Instead of only checking if the top dialog is a duplicate, it will now check the whole stack and
skip the dialog open if a duplicate URL is found.
This fixes an issue where callers could alternate between dialogs to bypass the check.

Differential Revision: https://phabricator.services.mozilla.com/D88422
2020-09-02 14:24:47 +00:00
Bianca Danforth bbe50878af Bug 1659217 - Ensure formLike.rootElement correctly points to the nearest HTMLFormElement ancestor, if any, when a password field is inside a ShadowRoot. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D87335
2020-09-02 01:09:08 +00:00
Butkovits Atila 7b340f9684 Backed out 15 changesets (bug 1612824, bug 1661234, bug 1619926, bug 1612380, bug 1559530, bug 1642990) for Xpc failures. CLOSED TREE
Backed out changeset 426d017d7e46 (bug 1642990)
Backed out changeset 84ab4021d403 (bug 1559530)
Backed out changeset 82a8305543e5 (bug 1559530)
Backed out changeset 38832c1185b8 (bug 1559530)
Backed out changeset f16918c10a6b (bug 1661234)
Backed out changeset 3a13258fbd51 (bug 1661234)
Backed out changeset abf8d8b24845 (bug 1612824)
Backed out changeset 7dfeb065a385 (bug 1619926)
Backed out changeset bc9d3e210fe7 (bug 1619926)
Backed out changeset 786164c461ae (bug 1619926)
Backed out changeset d89793e9d17d (bug 1619926)
Backed out changeset d665885bc912 (bug 1619926)
Backed out changeset 9260b6620943 (bug 1619926)
Backed out changeset af69a4896f2f (bug 1619926)
Backed out changeset b9cd6b7047b9 (bug 1612380)
2020-09-01 21:03:23 +03:00
Magnus Melin f8c4782742 Bug 1612380 - don't verify content signatures for Thunderbird. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D88541
2020-09-01 12:51:08 +00:00
Mark Striemer d0e57cde18 Bug 1661361 - Show print tab modal while waiting on printer data r=Jamie,pbz
Show the print dialog as soon as the content is ready, rather than after
the printer and print settings have been retrieved, then focuses the first
form element.

Differential Revision: https://phabricator.services.mozilla.com/D88355
2020-09-01 02:26:04 +00:00
Sebastian Streich 4249a3907d Bug 1661846 - Fix SystemPrincipal handling in RemotePageAccessManager.jsm r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88768
2020-08-31 12:47:36 +00:00
Luca Greco 6d677ee9c2 Bug 1568597 - Make RemoteWorkerManager::GetRemoteType/MatchRemoteType fission-aware. r=asuth,nika
Differential Revision: https://phabricator.services.mozilla.com/D81373
2020-08-28 17:58:58 +00:00
Anny Gakhokidze bd0938ed77 Bug 1589102 - Part 3: Enable about:blank loads to take place via DocumentChannel, r=mattwoodrow
In process selection logic, ensure that we don't use the original URI for
about:blank and instead use the result principal. If the about:blank load has a
null principal, then revert to using the original URI.

Also, remove an extra about:blank load when an nsFrameLoaderOwner is changing
remoteness to prevent races.

Differential Revision: https://phabricator.services.mozilla.com/D85081
2020-08-28 17:20:40 +00:00
Anny Gakhokidze 8b553ecfcf Bug 1589102 - Part 1: Enable about:srcdoc loads via DocumentChannel, r=mattwoodrow
This patch enables sandboxed srcdoc loads to take place via DocumentChannel,
and adds mechanisms for enabling unsandboxed ones.

Both unsandboxed srcdoc, and in subsequent patches, about:blank, loads require
that the triggering principal and the principal to inherit point to the same
instance if the load takes place in the same process as where we are inheriting
those principals from. We save those principals on a target browsing context before
we load the URI, and later, when we are deserializing LoadInfoArgs into
LoadInfo in the content process, we retrieve the saved principals if the
current load identifier of the target BC matches the load identifier saved
along with the principals.

We also need to make sure that during a process switch for about:srcdoc load,
we don't use the original URI for about:srcdoc to determine the remote type and
instead we use channel's result principal.

Differential Revision: https://phabricator.services.mozilla.com/D85079
2020-08-28 17:20:30 +00:00
pbz ffd9bba19b Bug 1660951 - Focus TabDialogBox top dialog when switching tabs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88437
2020-08-28 12:36:00 +00:00
Emilio Cobos Álvarez 27590dfe0b Bug 1661123 - Make LightWeightThemeConsumer.jsm sanitize colors faster. r=Gijs,jwatt
Instead of creating an element, flushing styles and getting the computed
value back just to receive, use the existing InspectorUtils.colorToRGBA.

With some refactoring, we can completely get rid of parsing rgba strings
in LightWeightThemeConsumer too, as a benefit. This should be much
faster.

This patch tweaks the InspectorUtils API to allow taking a document, so
that system colors keep working. We could probably get away without
supporting system colors, but it'd technically be a regression, and
since we want this patch to be uplifted, and it's easy, let's avoid
breaking changes.

Differential Revision: https://phabricator.services.mozilla.com/D88200
2020-08-27 12:33:11 +00:00
Bogdan Tara f22b74fc65 Backed out changeset 8fe9ffffccda (bug 1661123) for browser_ext_themes_experiment.js failures CLOSED TREE 2020-08-27 14:57:07 +03:00
Emilio Cobos Álvarez 4282f1752b Bug 1661123 - Make LightWeightThemeConsumer.jsm sanitize colors faster. r=Gijs,jwatt
Instead of creating an element, flushing styles and getting the computed
value back just to receive, use the existing InspectorUtils.colorToRGBA.

With some refactoring, we can completely get rid of parsing rgba strings
in LightWeightThemeConsumer too, as a benefit. This should be much
faster.

This patch tweaks the InspectorUtils API to allow taking a document, so
that system colors keep working. We could probably get away without
supporting system colors, but it'd technically be a regression, and
since we want this patch to be uplifted, and it's easy, let's avoid
breaking changes.

Differential Revision: https://phabricator.services.mozilla.com/D88200
2020-08-27 10:50:54 +00:00
Narcis Beleuzu 5a271cc4ef Backed out changeset 5d49fddb1af3 (bug 1661280) for bc failures on browser_advanced_update.js . CLOSED TREE 2020-08-26 21:12:41 +03:00
Sebastian Streich ac851926fe Bug 1661280 - Remove principal.uri in BrowserUtils.jsm r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82918
2020-08-26 15:27:50 +00:00
James Teh 4f869a9ad6 Bug 1660365: Fix a11y dialog role placement for the Print modal. r=Gijs
Previously, the browser dialogTemplate contained role="dialog" and the Print modal body had no role.
This caused screen readers to extraneously report "dialog, Print grouping".
Dialogs presented with commonDialog.xhtml (e.g. using Services.prompt.alertBC) did have the dialog role on the body, so screen readers would report "dialog, {dialogTitle} dialog".

To fix this, remove role="dialog" from dialogTemplate.
Instead, SubDialog now sets role="dialog" on the dialog document when it loads.
Now, screen readers report just "Print dialog" and "{dialogTitle} dialog", respectively.

Differential Revision: https://phabricator.services.mozilla.com/D87977
2020-08-24 12:07:50 +00:00
Razvan Maries b6c5d1394b Backed out 3 changesets (bug 1568597) for perma failures on sharedworker-classic.https.html. CLOSED TREE
Backed out changeset 07523f6e8341 (bug 1568597)
Backed out changeset ed846f54fe7d (bug 1568597)
Backed out changeset 0c69ed659f23 (bug 1568597)
2020-08-25 22:34:41 +03:00
Sebastian Streich 7defa66497 Bug 1655945 - Remove principal.uri in RemotePageAccessManager.jsm r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82917
2020-08-25 13:58:49 +00:00
Luca Greco 74b570aff1 Bug 1568597 - Make RemoteWorkerManager::GetRemoteType/MatchRemoteType fission-aware. r=asuth,nika
Differential Revision: https://phabricator.services.mozilla.com/D81373
2020-08-25 10:21:55 +00:00
Neil Deakin 3bcbd15d51 Bug 1614761, move refresh blocking handling from framescript to an actor, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87206
2020-08-25 10:21:38 +00:00
Mark Striemer 596793feda Bug 1654962 - Size tab modal print UI to available window size r=Gijs,sfoster,emalysz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86037
2020-08-24 21:00:36 +00:00
Jared Wein 2421d68d38 Bug 1660558 - Handle any exception thrown when trying to load Subprocess due to unsupported platforms. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87954
2020-08-24 11:09:56 +00:00
Mihai Alexandru Michis 3e266b539c Backed out changeset 80e6be24260d (bug 1654962) for causing bc failures in browser_modal_print.js
CLOSED TREE
2020-08-21 17:47:07 +03:00
Mark Striemer 223bb33a6c Bug 1654962 - Size tab modal print UI to available window size r=Gijs,sfoster,emalysz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86037
2020-08-21 13:55:15 +00:00
DesWurstes 041dc6bfcd Bug 1020254 - PDFParent should set the find clipboard. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D85140
2020-08-21 07:37:19 +00:00
Aichi Chang 3779c26fd0 Bug 1659002 - Fix passing region data to notifyObservers. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D87271
2020-08-20 18:14:05 +00:00
Mark Striemer e075211be5 Bug 1653317 - Use TabDialogBox for tab modal print UI r=Gijs,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86597
2020-08-19 20:04:52 +00:00
Barret Rennie 180c194eae Bug 1655138 - Collect telemetry of average number of unique origins per tab r=mconley,jesup
Whenever a top level document load finishes, if it has been five minutes since
the last time we have done so, we record telemetry about the ratio of unique
site origins loaded to the number of loaded tabs. This telemetry is split
across several different histograms, so that it can be used to approximate a
unique origins vs loaded tab count curve.

Differential Revision: https://phabricator.services.mozilla.com/D85072
2020-08-18 21:11:12 +00:00
Jared Wein 950b013178 Bug 1361712 - Show environment variables in about:support. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86995
2020-08-17 14:37:29 +00:00
Kris Maglione 0c976d908a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
pbz 1058f2522e Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-17 10:26:22 +00:00
pbz 34285950d0 Bug 1650795 - Update PopupNotifications to check suppressed state on tab switch. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83630
2020-08-17 10:25:59 +00:00