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

733683 Коммитов

Автор SHA1 Сообщение Дата
Kent Tamura 62c403c4bb Bug 1674753 [wpt PR 26358] - Fix a null pointer dereference in TextAreaIntrinsicBlockSize(), a=testonly
Automatic update from web-platform-tests
Fix a null pointer dereference in TextAreaIntrinsicBlockSize()

crrev.com/814173 accidentally changed a runtime
|inner_editor->GetLayoutBox()| check to a DCHECK though it can be
nullptr if content-visibility:auto is specified.

Bug: 1143620
Change-Id: I26a7f6cad906ef629ef0353bc0538cabbc1be620
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513849
Auto-Submit: Kent Tamura <tkent@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823089}

--

wpt-commits: 9429cf82a611bcd563df2f672ac4362b518bb47f
wpt-pr: 26358
2020-11-06 12:14:03 +00:00
Koji Ishii 30edf8aca7 Bug 1674713 [wpt PR 26354] - Fix justification when hyphenation points are at end of nodes, a=testonly
Automatic update from web-platform-tests
Fix justification when hyphenation points are at end of nodes

r819319 crrev.com/c/2476354 added |NGInlineItem.is_hyphenated|
as the flag to indicate whether it is hyphenated or not, but
failed to update |ApplyJustify|. This patch changes it to use
the flag instead of |hyphen_shape_result|.

Bug: 1141755
Change-Id: I49303b54c22c419a2dcf804cf40e4ec3b1a1f4ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2511151
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823039}

--

wpt-commits: e77eef74c0b20028b8d86260ef81ffe1f9688027
wpt-pr: 26354
2020-11-06 12:14:02 +00:00
Stephen McGruer 401a2f17c7 Bug 1674706 [wpt PR 26314] - [wptrunner] Make reftests obey the 'www' file-flag., a=testonly
Automatic update from web-platform-tests
[wptrunner] Make reftests obey the 'www' file-flag. (#26314)

Follow up to https://github.com/web-platform-tests/wpt/pull/26263
--

wpt-commits: 50135913e9e3488b85399c9e0a99ffec89491d28
wpt-pr: 26314
2020-11-06 12:14:02 +00:00
Gerald Squelart e7313b8f47 Bug 1674737 - Use SpliceableJSONWriter::UniqueStringElement in DeserializeAfterKindAndStream - r=gregtatum
Unique strings are used to encode all markers' 'name' field, SpliceableJSONWriter::UniqueStringElement can be used for that (instead of a caller-provided callback, which was necessary before UniqueJSONStrings was de-duplicated).

Differential Revision: https://phabricator.services.mozilla.com/D95513
2020-11-06 11:29:11 +00:00
Gerald Squelart 7e48b598df Bug 1674737 - Make SpliceableJSONWriter optionally point at a UniqueJSONStrings, with pass-through functions - r=gregtatum
Some markers (e.g., Screenshot) use unique strings in their data.

The UniqueJSONStrings used during streaming is attached to the SpliceableJSONWriter, and StreamJSONMarkerData can use pass-through functions UniqueStringProperty() and UniqueStringElement().

Differential Revision: https://phabricator.services.mozilla.com/D95512
2020-11-06 11:28:42 +00:00
Gerald Squelart 5f4f178337 Bug 1674737 - Use SpliceableJSONWriter instead of JSONWriter when streaming markers - r=gregtatum
Some markers (e.g., GC major/minor/slice) need to splice JSON strings in their data.
So now, instead of JSONWriter, StreamJSONMarkerData functions will be given a mozilla::baseprofiler::SpliceableJSONWriter.

Differential Revision: https://phabricator.services.mozilla.com/D95511
2020-11-06 11:28:33 +00:00
Gabriele Svelto e452abab1c Bug 1655476 - Scrape symbols for Windows graphics drivers r=marco DONTBUILD
This adds symbol servers from Intel, AMD and NVidia. Unfortunately not all
symbols are available there, we still have to manually download those that
aren't.

Differential Revision: https://phabricator.services.mozilla.com/D95854
2020-11-06 11:02:03 +00:00
Gabriele Svelto 4b85e11596 Bug 1675263 - Refactor the scripts used to scrape Microsoft and Apple system symbols r=marco DONTBUILD
This patch changes a few different things:
- The Docker image used for both scrapers are now based off of our standard
  Debian 10 image instead of an old Ubuntu one
- Both images were changed to make it easy to work with them when an
  interactive task is used
- The python packages used by the scripts had their versions pinned and
  cryptographic hashes have been recorded so that they can be verified before
  running the task
- The dump_syms version used on Windows was bumped to include fixes that allow
  us to scrape public symbols from DLLs and EXEs that have no PDB file available
- The maximum open file limit of the Window scraper was bumped up to cope with
  runs where we gather plenty of symbols in one go
- Similarly the maximum number of symultaneous connections to a single symbol
  server has been limited to 4 to avoid being throttled
- The macOS Python tools were modified to work with Python 3

Differential Revision: https://phabricator.services.mozilla.com/D95853
2020-11-06 11:02:25 +00:00
Harry Twyford 162add7d39 Bug 1675622 - Show tab-to-search onboarding results more frequently in Firefox 83. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D96114
2020-11-06 09:46:35 +00:00
Itiel 7fb34265a7 Bug 1675599 - Make "OK" button in the Select Helper Application dialog the default button r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D96097
2020-11-06 09:14:57 +00:00
Razvan Maries e8fb159ca9 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2020-11-06 11:37:38 +02:00
Razvan Maries a5d9abfda1 Merge autoland to mozilla-central a=merge 2020-11-06 11:32:19 +02:00
Razvan Maries ad08fd8438 Backed out 2 changesets (bug 1669503) for crashing in mozilla::MP3TrackDemuxer::GetNextFrame. a=backout DONTBUILD
Backed out changeset 863ecb9b15d5 (bug 1669503)
Backed out changeset d5cbc458d318 (bug 1669503)
2020-11-06 11:28:35 +02:00
Razvan Maries 78b884f32d Backed out changeset 905f54a1dfed (bug 1666734) for perma failures on test_get_printer_paper_sizes.html. CLOSED TREE 2020-11-06 08:01:06 +02:00
Timothy Nikkel 7e80528f10 Bug 1674935. Collect and notify scroll frame in nsDisplayListBuilder not in ContainerState. r=mattwoodrow
Scroll frames can appear in multiple containers.

Notifying the scroll frame causes it to clear it list of scroll updates. So we lose the scroll updates prematurely.

Previously https://phabricator.services.mozilla.com/D88650 moved the notify from happening the first time the scroll frame was encountered in a container to when the container is finished.

This patch moves this handling out of the container state and into nsDisplayListBuilder.

The bug could still happen for webrender. I'll fix that in another bug to reduce scope and risk.

Differential Revision: https://phabricator.services.mozilla.com/D95926
2020-11-06 05:46:24 +00:00
Narcis Beleuzu ba9ddd45c5 Backed out 3 changesets (bug 1675639) for Bpgo bustages. CLOSED TREE
Backed out changeset 9a7b394ca845 (bug 1675639)
Backed out changeset 270207ea42c1 (bug 1675639)
Backed out changeset 3d38566d80c6 (bug 1675639)
2020-11-06 03:32:33 +02:00
Mike Hommey 767eea09f0 Bug 1675477 - Remove MozillaDeveloper*Path from Info.plist. r=firefox-build-system-reviewers,haik,mhentges
They cause differences between the x86-64 and arm64 halves of a
universal build, and are not necessary in release builds.

As a side effect, we now end up normalizing Info.plist contents.

Differential Revision: https://phabricator.services.mozilla.com/D96015
2020-11-05 20:24:26 +00:00
Jean-Yves Avenard bd9b1e07c0 Bug 1673192 - Don't attempt to launch the RDD process when it's not needed. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D96147
2020-11-06 00:45:34 +00:00
Gijs Kruitbosch 7d0a4e99b9 Bug 1432604 - use the last-used folder for new bookmarks, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D94880
2020-11-05 21:08:10 +00:00
Gijs Kruitbosch c4136e1973 Bug 1425290 - also default bookmark properties (for keyword search bookmarks and multiple tab bookmarks) to the new default parent, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D95231
2020-11-06 00:37:09 +00:00
Gijs Kruitbosch bbab3fdc92 Bug 1425290 - use the new default bookmark location pref for 'bookmark this link' and 'bookmark this frame', r=mak
Differential Revision: https://phabricator.services.mozilla.com/D94879
2020-11-05 21:08:09 +00:00
Gijs Kruitbosch 543bac450b Bug 1665389 - create bookmarks on the toolbar by default, r=mak,jaws
This adds a pref containing a parent GUID, a lazy pref getter that validates
that GUID (asynchronously), and starts using the pref from the
PlacesCommandHook.

It also sets the future default (toolbar) into firefox.js, and overrides
that on the default branch when the new 2020 bookmarks pref is not set.

Finally, it sets the pref to the unfiled default for existing profiles
with a migration. If we end up delaying shipping, we'll need to
update that migration - but I don't see a way around that.

Differential Revision: https://phabricator.services.mozilla.com/D94500
2020-11-05 21:08:40 +00:00
Nicolas Chevobbe 2e2dfdc264 Bug 1673641 - [devtools] Fix browser_browser_toolbox_evaluation_context.js failure on beta simulation. r=ladybenko.
The test was failing on Beta because we weren't setting the devtools.webconsole.input.context
pref, which is true only on Nightly.
This patch flip this pref in the test, which seems to make the test pass.

Differential Revision: https://phabricator.services.mozilla.com/D96061
2020-11-05 17:04:10 +00:00
Mihai Alexandru Michis 2122917797 Bug 1674722 - Fix lint failure in js/moz.configure a=lint-fix
CLOSED TREE
DONTBUILD
2020-11-06 09:59:55 +02:00
Butkovits Atila 44cba455b5 Backed out 2 changesets (bug 1660336) for bustages on hwcontext_vaapi.h. CLOSED TREE
Backed out changeset 1e094ee6647f (bug 1660336)
Backed out changeset a7089f76921f (bug 1660336)
2020-11-06 09:41:25 +02:00
Masayuki Nakano 6109e35d9e Bug 1579934 - Make `WhiteSpaceVisibilityKeeper::MergeFirstLineOf*()` stop handling their job if calling `DeleteInvisibleASCIIWhiteSpace()` makes the descendant block position changed r=m_kato
They join first line of a descendant block element into the line at the other
block contains the descendant block.  First of all of their jobs, they call
`DeleteInvisibleASCIIWhiteSpace()` to clean up unnecessary whitespaces at
the other block.  At this time, the point which tells whether the descendant
element is contained in the other block may become invalid if script runs
and it causes changing the DOM tree.  Therefore, they should check the
given point is still valid after calling `DeleteInvisibleASCIIWhiteSpace()`
because `AutoTrackDOMPoint` requires valid point.

Differential Revision: https://phabricator.services.mozilla.com/D95987
2020-11-06 06:38:49 +00:00
Martin Stransky e2223e1b92 Bug 1660336 Implement DMABufSurfaceWrapper and VAAPIDisplayHolder as templates, r=jya
Implemented DMABufSurfaceWrapper and VAAPIDisplayHolder as a versioned class templates
as they are going to be used by both system ffmpeg and bundled ffvpx decoders.

Differential Revision: https://phabricator.services.mozilla.com/D90555
2020-11-06 06:54:00 +00:00
Martin Stransky 06de9a615d Bug 1660336 Add VP8/VP9 VAAPI HW decode code to bundled ffvpx and build it with MOZ_WAYLAND target, r=jya
- Update in-tree ffvpx library with VP8/VP9 VAAPI HW decode code from FFmpeg 4.2.
- Enable VP8/VP9 VAAPI HW decode on MOZ_WAYLAND target.

Differential Revision: https://phabricator.services.mozilla.com/D90554
2020-11-05 16:08:34 +00:00
Lars T Hansen b50158f16e Bug 1674722 - Fix moz.configure setup for cranelift. r=rhunt
We want to enable cranelift on aarch64 hardware except on Windows (due
to ABI issues) and on x64 with the aarch64 simulator, but not on x64
in general (because it is immature).

Add a test case to ensure that cranelift is not enabled where we do
not expect it to be.

Differential Revision: https://phabricator.services.mozilla.com/D96058
2020-11-06 07:11:48 +00:00
Erik Nordin d9f598b6bf Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily
This patch adds a new checkbox to the print UI for two-sided printing.
The checkbox is only visible if the currently selected printer supports
two-sided printing.

Notable Changes:
  - Add new section and checkbox for two-sided printing.
  - Add new getter to settings proxy for supportsDuplex.
  - Add new setter/getter to settings proxy for printDuplex.
  - Add new test for no duplex with PDF printer.
  - Add new test for toggle duplex in portrait orientation.
  - Add new test for toggle duplex in landscape orientation.
  - Add new test for toggle orientation with duplex checked.
  - Correctly set duple mode in GTK print settings.

Depends on D94026

Differential Revision: https://phabricator.services.mozilla.com/D93621
2020-11-06 06:33:27 +00:00
Mike Hommey 53fee2f4c4 Bug 1675437 - Use preprocessor to create Info.plist files. r=firefox-build-system-reviewers,mhentges
While we're in the vicinity, change the manual preprocessing of
Info.plist.in to uses of the preprocessor.

Differential Revision: https://phabricator.services.mozilla.com/D96014
2020-11-05 15:03:47 +00:00
Mike Hommey ead183252e Bug 1675437 - Avoid using iconv to create InfoPlist.strings. r=firefox-build-system-reviewers,mhentges
Since python creates little-endian utf-16 consistently whether
cross-compiling from Linux or compiling natively on macOS, we could
write a small script that essentially replaces iconv. On the other hand,
we're also doing some manual preprocessing on the InfoPlist.strings.in
files, and we might as well use the preprocessor for that.

So, we augment the preprocessor to allow an explicit output encoding
other than utf-8, and use the preprocessor instead of `sed | iconv`.

Differential Revision: https://phabricator.services.mozilla.com/D96013
2020-11-05 15:07:30 +00:00
Mike Hommey 60c444155f Bug 1675437 - Add application name to the crash reporter bundle display name. r=Gijs
Back in bug 382762, it was originally set to contain the application
name, and the Makefile parts have remained, but the application name was
removed in later iterations because back then, the crash reporter would
be shipped with XulRunner and that would be a problem for XulRunner
apps.

XulRunner is long dead, so we can go back to the original idea.

The real motive behind this is that InfoPlist.strings.in needs to be
converted to UTF-16 at build time, and that while we currently do that
with iconv, we want to change that, and a convenient way to do so is to
use the preprocessor, but then the preprocessor doesn't like that this
specific InfoPlist.strings.in doesn't have any preprocessing directives,
so this adds one.

Differential Revision: https://phabricator.services.mozilla.com/D96012
2020-11-05 11:08:22 +00:00
Matt Woodrow e05d3c80f8 Bug 1673983 - Preload d3d11 attachments for CompositorD3D11 if we might use it with software WebRender. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95980
2020-11-06 00:02:07 +00:00
Matt Woodrow ec72f3a124 Bug 1673983 - Support using D3D11 textures as external compositor surfaces with D3D11 compositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95800
2020-11-06 00:01:54 +00:00
Matt Woodrow 979882e86f Bug 1673983 - Add RenderTextureHostSWGL support to D3D11 RenderTextureHosts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95799
2020-11-06 00:01:36 +00:00
Matt Woodrow 603d0db408 Bug 1673983 - Add D3D11 RenderCompositor for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95797
2020-11-06 00:00:47 +00:00
Andrey Bienkowski 9985e57c16 Bug 1675094 Replace executeSoon() with waitForTick() in accessible/tests/browser r=Jamie,yzen
Differential Revision: https://phabricator.services.mozilla.com/D95779
2020-11-05 18:27:40 +00:00
Narcis Beleuzu 46929ae82f Backed out 2 changesets (bug 1673664, bug 1673662) for Documentation failure on glean.py
Backed out changeset 430caac2467d (bug 1673662)
Backed out changeset 0bae1f5facda (bug 1673664)
2020-11-06 01:35:59 +02:00
Harry Twyford 6af06ad706 Bug 1674485 - Restore URL heuristic icon after unselecting a one-off. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95537
2020-11-05 22:17:20 +00:00
Emilio Cobos Álvarez 2bb4bb83ef Bug 1675639 - Shrink custom property maps before making them immutable. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D96132
2020-11-05 23:24:13 +00:00
Emilio Cobos Álvarez 34c14ecd28 Bug 1675639 - Update indexmap. r=boris
New versions have shrink_to_fit().

Depends on D96130

Differential Revision: https://phabricator.services.mozilla.com/D96131
2020-11-05 23:23:27 +00:00
Emilio Cobos Álvarez c545098f4e Bug 1675639 - Don't waste string space before making values immutable. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D96130
2020-11-05 23:09:11 +00:00
Jared Wein fb60475439 Bug 1674160 - Don't show the bookmarks toolbar if there are no visible toolbarbuttons or toolbaritems. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95539
2020-11-05 23:00:55 +00:00
Jared Wein 7465d643ed Bug 1003364 - Add Bookmarks Toolbar view options to the context menu of the Bookmarks Toolbar. r=mak,Gijs
This patch doesn't show the view options when right-clicking on folders or bookmarks within the toolbar, and also doesn't include an item to enter Customize mode to keep the menu from growing too large.

Differential Revision: https://phabricator.services.mozilla.com/D95798
2020-11-05 23:00:47 +00:00
Mats Palmgren a5415dec54 Bug 1674594 - Remove the obsolete nsMathMLmfencedFrame and associated pref and tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95451
2020-11-05 22:36:43 +00:00
Niklas Baumgardner 751a932372 Bug 1545752 - The Picture-in-Picture window opens on correct monitor. r=mconley
Depends on D90813

Differential Revision: https://phabricator.services.mozilla.com/D95215
2020-11-05 18:23:04 +00:00
Chris H-C 379680dc54 Bug 1673662 - Implement FOG C++ and JS APIs for String metrics r=brizental,janerik
Differential Revision: https://phabricator.services.mozilla.com/D95785
2020-11-05 14:30:21 +00:00
Narcis Beleuzu f4d84dca33 Backed out changeset 1c37a165ba43 (bug 1674874) for bc failure on browser_UsageTelemetry_urlbar_searchmode.js CLOSED TREE 2020-11-06 00:38:24 +02:00
Narcis Beleuzu 37bd723824 Backed out 4 changesets (bug 1673983) for linting failure on moz.build CLOSED TREE
Backed out changeset f408fc890ba1 (bug 1673983)
Backed out changeset 49ae9de85ab9 (bug 1673983)
Backed out changeset 91d8f0f829fd (bug 1673983)
Backed out changeset 91cb8ee8ddd8 (bug 1673983)
2020-11-06 00:10:34 +02:00