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

730712 Коммитов

Автор SHA1 Сообщение Дата
Dan Minor 9cd711db66 Bug 1669573 - Replace kDateFormatMonthLong/kDateFormatWeekday with GetCalendarSymbol; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D93010
2020-10-15 12:19:52 +00:00
Dan Minor da71b8a478 Bug 1669573 - Call DeleteCache when changing locale in TestDateTimeFormat; r=zbraniecki
The formatters in mFormatCache are only valid for the locale in which they were
created. Currently the tests change mLocale directly but leave the cache in
place which can lead to incorrect test results depending upon which tests are
executed. This is not a problem outside of the tests because mLocale is normally
only set once during the call to Initialize() which will not change the current
locale once it is set.

Differential Revision: https://phabricator.services.mozilla.com/D93009
2020-10-15 12:19:47 +00:00
Dan Minor 18cf8b1d11 Bug 1669573 - Add DataTimeFormat::GetCalendarSymbol; r=zbraniecki
This adds a method to get the calendar symbol for a month or a weekday in long
or short form. We'll add more fields and styles in the future, the current patch
provides enough functionality to replace the selectors for kDateFormatMonthLong
and kDateFormatWeekday, which are currently used to retrieve display names by
calling FormatPRExplodedTime.

Differential Revision: https://phabricator.services.mozilla.com/D93008
2020-10-15 12:19:45 +00:00
Jonathan Kew ff9d999197 Bug 1667834 - Enable shared fontlist for early beta. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D91621
2020-10-15 12:19:19 +00:00
Butkovits Atila e5807896fb Backed out 4 changesets (bug 1665934) as requested by Harry. CLOSED TREE
Backed out changeset 342354dfd594 (bug 1665934)
Backed out changeset 56946d59bf0a (bug 1665934)
Backed out changeset 1b03418a14f6 (bug 1665934)
Backed out changeset 8c1edb639aa6 (bug 1665934)
2020-10-15 15:26:00 +03:00
Harry Twyford d0e8d7d1b3 Bug 1665934 - Part 3 - Add tab-to-search onboarding telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93113
2020-10-15 11:19:17 +00:00
Harry Twyford 7745e46508 Bug 1665934 - Part 2 - Add onboarding intervention for tab-to-search. r=fluent-reviewers,adw,flod
There are a couple of issues that still need to be resolved, but I think this is ready for review:
- This patch does not use the icon in the UX spec. I'm waiting on that icon and just using the engine icon in the meantime.
- We also don't have a spec for how the result should wrap at narrow window widths, so I put some placeholder behaviour in.
- It appears dynamic results are incapable of overriding the CSS for normal Urlbar classes unless !important is used, regardless of specificity. Thus a few rules in dynamic-tabToSearch.css use !important, which isn't ideal. It appears this is because dynamic result stylesheets are [loaded](https://searchfox.org/mozilla-central/rev/919607a3610222099fbfb0113c98b77888ebcbfb/browser/components/urlbar/UrlbarView.jsm#1783,1785,1802) as `AGENT_SHEET`s. Changing that value to AUTHOR_SHEET allows the dynamic result CSS to override the normal Urlbar classes without !important. This strikes me as a tough issue. dynamic-tabToSearch.css is an agent sheet since it's provided by the browser. I do wonder if its defensible to load it as an author sheet since it will usually be loaded by an extension/external developer (this might be a stretch :). I'm not well-versed enough in the technicalities here to really make a call, so I'm eager to hear if @dao or @adw have any thoughts on how to resolve this issue.

Differential Revision: https://phabricator.services.mozilla.com/D93015
2020-10-15 11:18:53 +00:00
Harry Twyford d4ab206e5b Bug 1665934 - Part 1.5 - Split _addDynamicStylesheet and _removeDynamicStylesheet out from UrlbarView into the file body. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93583
2020-10-15 11:18:23 +00:00
Harry Twyford 57a3c24a05 Bug 1665934 - Part 1 - Allow results to set their own resultSpan. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93112
2020-10-15 11:18:12 +00:00
Sebastian Hengst a224cf8fa0 Bug 1659183 - disable dom/base/test/test_window_close.html with fission disabled for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D93638
2020-10-15 11:20:11 +00:00
smolnar ac8b15e7f7 Backed out changeset 02b822f97e35 (bug 1670643) for causing failures on browser_modal_print. CLOSED TREE 2020-10-15 14:45:06 +03:00
smolnar ac9ded3781 Backed out changeset 2dff9d72e9ec (bug 1671136) for causing Document.cpp failures. CLOSED TREE 2020-10-15 14:42:40 +03:00
Valentin Gosu 99429ed4ed Bug 1671164 - Make sure lock is held when calling AddrHostRecord::Blocklisted r=necko-reviewers,dragana
Depends on D93491

Differential Revision: https://phabricator.services.mozilla.com/D93492
2020-10-15 11:06:09 +00:00
Valentin Gosu 1a306ee2c7 Bug 1671164 - Rename nsHostResolver::Blacklisted to Blocklisted r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D93491
2020-10-15 11:04:29 +00:00
Emilio Cobos Álvarez 72941695c0 Bug 1670643 - Ignore DOMWindowClose events fired at the preview browser. r=jfkthame
See the comment.

https://phabricator.services.mozilla.com/D90808 made it so that we
reused the print document (and thus <browser>) to do the actual print
job.

When a print job finishes, we call window.close(), which is used as a
signal to the front-end to clean up the <browser> element. Before that
patch we sent that signal to the browser created in printUtils.js, but
afterwards we send it to the preview window which causes this badness
when the event bubbles up.

Ignoring it effectively restores the previous behavior, so let's do it.

Differential Revision: https://phabricator.services.mozilla.com/D93499
2020-10-15 10:58:45 +00:00
Ben Delevingne ba70fdae23 Bug 1667634 - Order WS message column context menu consistently. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D93484
2020-10-15 10:36:58 +00:00
Andi-Bogdan Postelnicu b7e337ee5d Bug 1626532 - Make `dom/animation` buildable outside of `unified-build` environment. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D93635
2020-10-15 10:05:07 +00:00
Christian Holler 251b26aaf0 Bug 1656068 - Add temporary suppression. r=bwc
Depends on D93509

Differential Revision: https://phabricator.services.mozilla.com/D93510
2020-10-15 09:54:11 +00:00
Christian Holler ab8fa5ff8b Bug 1657739 - Add temporary suppression. r=bwc
Depends on D93508

Differential Revision: https://phabricator.services.mozilla.com/D93509
2020-10-15 09:54:21 +00:00
Christian Holler 5ea665d9a7 Bug 1664803 - Add temporary suppression. r=Gankro
Depends on D93507

Differential Revision: https://phabricator.services.mozilla.com/D93508
2020-10-14 19:34:38 +00:00
Christian Holler 962d75d4f2 Bug 1664535 - Temporary suppression for GC race. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D93507
2020-10-15 09:53:23 +00:00
Christoph Kerschbaumer b2d3948b7a Bug 1671136: Assert to not use doc.write in system privileged contexts or about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D93485
2020-10-15 08:22:29 +00:00
Marco Bonardo 4405a56b00 Bug 1667931 - Add a urlbar test searching a single word with a default POST engine. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93538
2020-10-14 19:59:26 +00:00
Csoregi Natalia e0eb861a18 Backed out 4 changesets (bug 1633712) for leaks. CLOSED TREE
Backed out changeset 03553b300b86 (bug 1633712)
Backed out changeset 19c8ea0b43df (bug 1633712)
Backed out changeset 6eaa4d12b58c (bug 1633712)
Backed out changeset 10f97f47c883 (bug 1633712)
2020-10-15 09:36:36 +03:00
Nicolas Chevobbe 4c0fda2660 Bug 1633712 - [devtools] Add a console message resource test for worker targets. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D88770
2020-10-15 05:18:58 +00:00
Nicolas Chevobbe 12e26edc41 Bug 1633712 - [devtools] Add test cases to browser_target_list_tab_workers and remove the fission fail-if. r=jdescottes.
Check that when removing iframes, we're notified about the worker unregistration,
and check that the target list works as expected when we have multiple iframes
on same origin (both remote and same-origin as main document).

Differential Revision: https://phabricator.services.mozilla.com/D88769
2020-10-15 05:19:23 +00:00
Nicolas Chevobbe 1e17daf388 Bug 1633712 - [devtools] Create WorkerTargets as soon as possible. r=ochameau,devtools-backward-compat-reviewers.
This patch adds support for dedicated worker targets in the Watcher actor.
Shared and Service workers are not handled yet.

In a similar manner to what we already have for frame targets, we add a worker-helper
file that will communicate with a JsWindowActor pair spawned on each document,
that will  manage workers (DevToolsWorkerParent/DevToolsWorkerChild).

For a given document, the DevToolsWorkerChild will enumerate the existing workers
related to it, as well as add an event listener to be notified when workers are
being registered and unregistered, and communicate that back to the DevToolsWorkerParent
on the main thread, so worker targets creation and destruction are notified by
the Watcher actor (via target-available-form and target-destroyed-form events).

When a worker is created, the DevToolsWorkerChild for the document the worker
was spawned from will create a WorkerTargetActor, that will live in the worker
thread (using worker-connector.js), passing it resources the Watcher is currently
listening for. It will also handle communication between the main thread and the
worker thread, when the watcher listen to new resources (or stop watching resources).

A WorkerTargetFront is created so the client can be notified about available
resources (via the resource-available-form event, emitted from the worker target).

Tests are added in the next patches of this queue.

Differential Revision: https://phabricator.services.mozilla.com/D85399
2020-10-15 05:17:52 +00:00
Nicolas Chevobbe 54da2bd313 Bug 1633712 - [devtools] Move shouldNotifyWindowGlobal and getAllRemoteBrowsingContexts to a util file. r=ochameau.
These functions will be used by the worker-helper.js module as well.

Differential Revision: https://phabricator.services.mozilla.com/D92751
2020-10-15 05:11:58 +00:00
alwu d63d47bb5a Bug 1667454 - part2 : add telemetry probe to record the number of times a user changes media control setting. r=preferences-reviewers,mossop,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92872
2020-10-15 05:11:40 +00:00
alwu 2a7f087237 Bug 1667454 - part1 : add a toggle button in preference page for media control. r=preferences-reviewers,fluent-reviewers,Gijs
Add a toggle button to allow user enable/disable media control feature, and here is the UX doc [1].

[1] https://docs.google.com/document/d/1Faayu4_PnIxTDScIiOI3tu20_A5av3kryCRy26J2WyQ/edit

Differential Revision: https://phabricator.services.mozilla.com/D91871
2020-10-14 20:04:41 +00:00
Christian Holler d105e402b1 no bug - TSan library excludes miss libdconfsettings. r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D93506
2020-10-14 19:35:24 +00:00
Christian Holler 02d1bd0904 Bug 1600572 - Remove suppression for fixed bug. r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D93505
2020-10-15 05:05:45 +00:00
Hiroyuki Ikezoe 9a755619ac Bug 1667978 - Use cupsEnumDests to filter out CUPS_PRINTER_DISCOVERED etc. r=AlaskanEmily
It looks like the combination of cupsGetDests and filtering
CUPS_PRINTER_DISCOVERED filters a certain type of printers which shouldn't be
filtered.

As I wrote [1], cupsEnumDests didn't filter out a printer which hadn't been
configured in the system, but the printer didn't make opening the print preview
window slow at all, so it would be better than the case where users can't use
printers at all.

[1] https://phabricator.services.mozilla.com/D90508#2928340

Differential Revision: https://phabricator.services.mozilla.com/D92892
2020-10-15 05:02:46 +00:00
Christian Holler 21004d88dc Bug 1606804 - Permanently suppress false positive deadlock in rkv. r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D93500
2020-10-14 19:39:57 +00:00
David Parks 5bf758ea20 Bug 1670800: Add accessibility tests for non-plugin object and embed elements r=eeejay
<object> and <embed> elements can handle a number of media-like resources, like images, videos, audio, PDFs.  This patch adds tests for all but video.  See bug 1670803 for video tests.

Differential Revision: https://phabricator.services.mozilla.com/D93273
2020-10-15 05:04:00 +00:00
Cameron McCormack c529225214 Bug 1669368 - Use LookAndFeelCache to pass Gtk theme-derived scrollbar colors to content processes. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93467
2020-10-15 04:54:41 +00:00
Cameron McCormack 075e4a0192 Bug 1670853 - Unified build fix.
Differential Revision: https://phabricator.services.mozilla.com/D93628
2020-10-15 04:54:06 +00:00
Cameron McCormack 0534c6ad1a Bug 1670853 - Support scrollbar-color and scrollbar-width on cross-platform and Linux non-native theme. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93307
2020-10-15 04:54:41 +00:00
Cameron McCormack 76405ab8fe Bug 1670145 - Record telemetry on Gtk version and other theme related info. r=tdsmith,spohl
Differential Revision: https://phabricator.services.mozilla.com/D93051
2020-10-15 04:50:48 +00:00
Cameron McCormack e12bf6716b Bug 1670694 - Use larger minimum size for Gtk-like non-native theme scrollbar thumbs. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93281
2020-10-15 04:50:45 +00:00
Razvan Maries 8d3a29c27b Backed out 4 changesets (bug 1670694, bug 1670853, bug 1669368, bug 1670145) for build bustages on nsNativeBasicTheme.h. CLOSED TREE
Backed out changeset fcb1b57645e0 (bug 1669368)
Backed out changeset 6ac5b674c3b6 (bug 1670853)
Backed out changeset 913fd041e5dd (bug 1670145)
Backed out changeset 89504c0fb0cd (bug 1670694)
2020-10-15 07:45:35 +03:00
Cameron McCormack 76b30e3307 Bug 1669368 - Use LookAndFeelCache to pass Gtk theme-derived scrollbar colors to content processes. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93467
2020-10-15 00:24:09 +00:00
Cameron McCormack 7105217e53 Bug 1670853 - Support scrollbar-color and scrollbar-width on cross-platform and Linux non-native theme. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93307
2020-10-15 00:24:06 +00:00
Cameron McCormack 7f8dad291b Bug 1670145 - Record telemetry on Gtk version and other theme related info. r=tdsmith,spohl
Differential Revision: https://phabricator.services.mozilla.com/D93051
2020-10-15 00:23:57 +00:00
Cameron McCormack 67b7fe9431 Bug 1670694 - Use larger minimum size for Gtk-like non-native theme scrollbar thumbs. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93281
2020-10-15 00:24:03 +00:00
Andrew Osmond 90f11a9082 Bug 1668575 - Disable DMABUF with software WebRender. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D93623
2020-10-15 03:41:46 +00:00
Harry Twyford 92653cd047 Bug 1671218 - Enable update2 prefs on Release. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93586
2020-10-15 01:08:26 +00:00
Makoto Kato a01752f95a Bug 1658948 - Ace editor doesn't show software keyboard. r=masayuki
Actually software keyboard is opened by the following situations.
- Click event in editor
- Get new focus event.

Ace editor has small <textarea> element to handles some input events.
When clicking editable-like area (but this isn't ediable on Ace editor),
mousedown handler calls `event.preventDefault()` then set focus to
<textarea> element. So editor doesn't get click event and focus is still
keep in <textarea> element. At finally, we cannot open software keyboard
again since focus isn't changed.

So even if focus isn't changed, we should call SetInputContext to open
software keyboard.

Also, actually we doesn't have generic test code for notification of
software keyboard change (bug 1670539). I will add the test by bug 1670539.

Differential Revision: https://phabricator.services.mozilla.com/D93326
2020-10-14 02:27:22 +00:00
Doug Thayer f37363720f Bug 1668545 - Advance lateWriteChecksStage to 3 outside Nightly r=mconley
This is a fairly trivial change. It's been on Nightly for quite a while
now. This will in practice turn on late write checking for early beta, as
the IOInterposer is not active past that point. We will then analyze any
late write reports and see if anything new turns up which we haven't
already seen and classified as harmless in Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D93536
2020-10-14 21:11:22 +00:00
Agi Sferro c30d379838 Bug 1667471 - Add header filter to GeckoSession.loader. r=snorp,esawin
This allows apps to modify the header filtering behavior, and introduces a safe
default (CORS safelisted).

Deprecated `loadUri` methods still maintain the old behavior so that we don't
inadvertently introduce bugs in apps.

Differential Revision: https://phabricator.services.mozilla.com/D91983
2020-10-15 00:43:22 +00:00