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

777891 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt 9cb86cebb7 Bug 1740421. Fix print-to-PDF on Mac OS X 10.12 (e.g. printing with no printers installed). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D132372
2021-11-29 14:19:19 +00:00
Lars T Hansen 6826cf9330 Bug 1737798 - More memory64 test cases. r=yury
Test a number of corner cases for memory64.  See comments in the tests
for further information.

Differential Revision: https://phabricator.services.mozilla.com/D130277
2021-11-29 14:07:46 +00:00
Kershaw Chang f6509d5b4b Bug 1622845 - Enable http3 tsan tests, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D132257
2021-11-29 13:34:57 +00:00
Emilio Cobos Álvarez 2757f4da60 Bug 1743271 - Fix mach install-moz-phab. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D132301
2021-11-29 12:29:48 +00:00
Noemi Erli 0c17a17346 Backed out changeset fb595abd6511 (bug 1724080) for causing failures in browser_mixed_content_console.js CLOSED TREE 2021-11-29 14:25:31 +02:00
Gijs Kruitbosch 98bb5c135e Bug 1742694, r=mconley,mt
Differential Revision: https://phabricator.services.mozilla.com/D132259
2021-11-29 11:35:51 +00:00
Christoph Kerschbaumer 7747b60099 Bug 1724080: Have https-first and https-only rules apply to speculative connections r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D132239
2021-11-29 11:27:21 +00:00
Marco Castelluccio f8e70b1514 Bug 1742652 - Use topsrcdir from build task mozinfo.json instead of hardcoding the path for the gcov prefix. r=releng-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132147
2021-11-29 11:09:29 +00:00
Emilio Cobos Álvarez bf6d4c633d Bug 1743370 - Make extensions.spellcheck.inline.max-misspellings a static pref. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D132341
2021-11-29 10:38:16 +00:00
Masayuki Nakano b8ea6dd142 Bug 1639287 - part 2: Make `SplitNodeTransaction::RedoTransaction()` use `HTMLEditor::DoSplitNode()` r=m_kato
Similarly, `SplitNodeTransaction::RedoTransaction()` has its own code, but it
does not work well.  Let's make it use `HTMLEditor::DoSplitNode()` instead.

This fixes bug 1740656.

Differential Revision: https://phabricator.services.mozilla.com/D132123
2021-11-29 10:17:21 +00:00
Masayuki Nakano 15605659bf Bug 1639287 - part 1: Make `JoinNodeTransaction::UndoTransaction()` use `HTMLEditor::DoSplitNode()` r=m_kato
`JoinNodeTransaction::UndoTransaction()` has its own splitting code.  However,
it has some bugs, it does not handle surrogate pairs correctly and it does not
care selections.  `HTMLEditor::DoSplitNode()` is used for splitting a DOM node
from `SplitNodeTransaction::DoTransaction()`.  So that we should make
`JoinNodeTransaction::UndoTransaction()` should use `HTMLEditor::DoSplitNode()`
for saving the maintenance cost.

Differential Revision: https://phabricator.services.mozilla.com/D132122
2021-11-29 10:17:21 +00:00
Masayuki Nakano 27af0b29ad Bug 1639287 - Add WPT to check undo/redo behavior r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D132121
2021-11-29 10:17:21 +00:00
Sylvestre Ledru 5f7ee8020d Bug 1737307 - 'mach doc': Add a new option --linkcheck r=mhentges DONTBUILD
Depends on D129283

Differential Revision: https://phabricator.services.mozilla.com/D129284
2021-11-29 09:28:35 +00:00
Tooru Fujisawa 55e4cd7d71 Bug 1743223 - Add xpc::SetPrefableContextOptions to share JS::Contextoptions handling between main thread and workers. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D132331
2021-11-29 08:46:29 +00:00
p-ob a910b42751 Bug 1727728 - Fix same-origin typo in SRICheck.cpp. r=freddyb
Changes "same origin" to "same-origin"

Differential Revision: https://phabricator.services.mozilla.com/D132310
2021-11-29 08:32:39 +00:00
Lars T Hansen b2eaa9cab6 Bug 1742053 - Null test must test the whole pointer. r=dbezhetskov
Fixes an old problem where the null test only tests the low 32 bits of
the pointer.

Differential Revision: https://phabricator.services.mozilla.com/D132294
2021-11-29 06:48:45 +00:00
Deian Stefan 20300624dd Bug 1742916 - Turn on Wasm sandbox support for RLBoxed woff2 r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126436
2021-11-29 06:21:59 +00:00
Deian Stefan 21f0bb70ce Bug 1743324 - Convert RLBox woff2 functions to use char instead of uint8_t and unsigned long instead of size_t r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D132320
2021-11-29 04:26:22 +00:00
sotaro 2d813f179a Bug 1743075 - Update log of ProcessEventHookCallback() r=gfx-reviewers,aosmond
Add aEvent value to log.

Differential Revision: https://phabricator.services.mozilla.com/D132214
2021-11-29 00:12:20 +00:00
Doug Thayer 6e1905eb5e Bug 1743304 - Semi-reduntantly propagate raster space inheritance in gecko r=gw
So, it turns out I didn't fully test the patch from bug 1740262 after I made my
final changes to it. A change that I had in the patch which I thought was
unnecessary, because it didn't fix the problem by itself, turns out to in fact
be necessary. It turns out we still need to inherit the parent stacking
context's `mRasterizeLocally` value inside gecko, or else we could have scale
changes which get dropped on the WebRender side. I do think long term WebRender
should handle all of this itself, because I believe there are still potential
issues lurking here when we start to think of this across the process boundary,
but I don't think I'm the right person right now to untangle everything to
cleanly move everything necessary into WebRender, so I think the solution for
right now is to have Gecko somewhat but not entirely reduntantly handle raster
space inheritance itself, in addition to WebRender handling raster space
inheritance in order to partially cover the process boundary case. This is not
a pretty solution, but as far as I can tell it fixes the issues that bug
1730710 introduced without regressing the performance back to pre-1730710
levels.

Differential Revision: https://phabricator.services.mozilla.com/D132308
2021-11-28 21:47:04 +00:00
Glenn Watson ab52fe7f54 Bug 1742903 - Fix fuzziness annotation on mac r=gfx-reviewers,mstange
The fuzziness result is now consistent across mac/linux.

Differential Revision: https://phabricator.services.mozilla.com/D132309
2021-11-28 21:16:18 +00:00
Marian-Vasile Laza 70b32246fc Backed out changeset 696485034af5 (bug 1742916) for causing reftest test failures on woff2-totalsfntsize.html. CLOSED TREE 2021-11-28 21:52:09 +02:00
Deian Stefan f5a0534816 Bug 1742916 - Turn on Wasm sandbox support for RLBoxed woff2 r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126436
2021-11-28 16:40:23 +00:00
Tooru Fujisawa d35e49b80a Bug 1617545 - Part 2: Make datalist item not removable in autocomplete drop down menu. r=MattN
Add nsIAutoCompleteResult.isRemovableAt method, to indicate whether the value
is removable, and do nothing for Shift+Delete on the item when the value is
not removable.

Depends on D131740

Differential Revision: https://phabricator.services.mozilla.com/D131741
2021-11-28 16:19:56 +00:00
Tooru Fujisawa 71e468c368 Bug 1617545 - Part 1: Simplify FormAutoCompleteResult constructor parameters. r=MattN
Zip `values`, `labels`, and `comments` into single `items` array, as a
preparation to add `removable` field.

Differential Revision: https://phabricator.services.mozilla.com/D131740
2021-11-28 16:19:55 +00:00
Renovate Bot 70881ec0dc no bug - Update dependency Sphinx to v4.3.1 r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132303
2021-11-28 16:16:30 +00:00
sotaro d184dc0218 Bug 1742739 - Remove HasIntermediateBuffer r=gfx-reviewers,jnicol
HasIntermediateBuffer is always false. It could be removed.

Differential Revision: https://phabricator.services.mozilla.com/D131996
2021-11-28 11:40:16 +00:00
Haiyang Xu 4aae583bea Bug 1726809 - Simplify QuotaManager::GetOrCreate and intermediate state of opening QuotaManager; r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D131592
2021-11-28 00:09:56 +00:00
Deian Stefan 1ee9a841d8 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 23:30:49 +00:00
Cristian Tuns f0ef0360eb Backed out changeset d486edc7499b (bug 1732201) for causing web-platform-tests failures on header-totalsfntsize-001.xht CLOSED TREE 2021-11-27 07:32:22 -05:00
Andrew Osmond 72d1c14b24 Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126606
2021-11-27 11:47:40 +00:00
Andrew Osmond af4570762c Bug 1711061 - Part 12. Change the display list to use WebRenderImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126605
2021-11-27 11:47:40 +00:00
Andrew Osmond e2f023d269 Bug 1711061 - Part 11. Implement VectorImage::GetImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126604
2021-11-27 11:47:40 +00:00
Andrew Osmond 6c26762435 Bug 1711061 - Part 10. Implement BlobSurfaceProvider for non-rasterized blob recordings. r=tnikkel
This WebRenderImageProvider/ISurfaceProvider subclass provides the
implementation for blob recordings. This is mostly just taking the
functionality that was previously in SourceSurfaceBlobImage.

Differential Revision: https://phabricator.services.mozilla.com/D126602
2021-11-27 11:47:39 +00:00
Andrew Osmond ba2c6dea3f Bug 1711061 - Part 9. Add blob recording support to SurfaceCache. r=tnikkel
Now that we no longer have the extra layer of ImageContainers providing
a superficial level of caching/reuse of existing blob recordings, we
need some way to share recordings. This part adds support to
SurfaceCache to store BlobSurfaceProvider objects.

This includes the specialized code for invalidating SVG images. In
particular this is useful for animated SVG images. In general we want to
avoid changing the image key whenever possible so that we avoid
reallocating the underlying buffers in the compositor process for the
rasterized blob images.

We also need to track the ImageIntRegion used by the recording. If a
caller only wants a slice of the SVG image, then we need to track this
differentiation in our cache entries. At this time, we don't allow
substitutes for entries with a region exclusion.

Differential Revision: https://phabricator.services.mozilla.com/D126603
2021-11-27 11:47:39 +00:00
Andrew Osmond 3a3c39b1b5 Bug 1711061 - Part 8. Rename SourceSurfaceBlobImage.h/cpp to BlobSurfaceProvider.h/cpp. r=tnikkel
Rename the file in preparation for the switch over to
WebRenderImageProvider.

Differential Revision: https://phabricator.services.mozilla.com/D126601
2021-11-27 11:47:38 +00:00
Andrew Osmond f0d93233dc Bug 1711061 - Part 7. Remove support for ImageContainer-based SVG image blob recordings. r=tnikkel
This will be replaced by a WebRenderImageProvider-based implementation
in a later part in this series.

Differential Revision: https://phabricator.services.mozilla.com/D126600
2021-11-27 11:47:38 +00:00
Andrew Osmond f34091ea25 Bug 1711061 - Part 6. Implement RasterImage::GetImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126599
2021-11-27 11:47:38 +00:00
Andrew Osmond 1b58f91a50 Bug 1711061 - Part 5. Expose an ImageProviderId for tracking surface ownership. r=tnikkel
This will be used by layers as a replacement for ImageContainer's
ContainerProducerID for tracking if the same imgIRequest/imgIContainer
own the cached WebRenderImageProvider.

Differential Revision: https://phabricator.services.mozilla.com/D126598
2021-11-27 11:47:37 +00:00
Andrew Osmond 68f4024956 Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126790
2021-11-27 11:47:37 +00:00
Andrew Osmond 564271844a Bug 1711061 - Part 3. Add WebRenderImageProvider and implement for rasterized providers. r=tnikkel
This provides the framework to allow ISurfaceProvider objects to
implement WebRenderImageProvider. It is straightforward for rasterized
providers (DecodedSurfaceProvider, and SimpleSurfaceProvider). Later
parts in this series will provide the necessary changes for blob
recordings and for animatedi images.

Differential Revision: https://phabricator.services.mozilla.com/D126597
2021-11-27 11:47:36 +00:00
Andrew Osmond 6a2ad86d3d Bug 1711061 - Part 2. Add imgIContainer::GetImageProvider skeleton. r=tnikkel
In later parts in this series, GetImageProvider will replace
GetImageContainerAtSize. This will be a more specialized and lower
overhead means to get a wr::ImageKey for a particular surface.

Differential Revision: https://phabricator.services.mozilla.com/D126596
2021-11-27 11:47:36 +00:00
Andrew Osmond c4d508a363 Bug 1711061 - Part 1. Remove SourceSurfaceMappedData surface deduplication from memory reports. r=tnikkel
We no longer use SourceSurfaceMappedData because we only support
SourceSurfaceSharedData-backed imgFrame in the SurfaceCache now.

Differential Revision: https://phabricator.services.mozilla.com/D126595
2021-11-27 11:47:36 +00:00
Peter Van der Beken 049f910998 Bug 1741132 - Correctly evict entries with session history in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131894
2021-11-27 11:14:09 +00:00
Peter Van der Beken 9e05629b84 Bug 1741132 - Add a property for whether an entry is in the BFCache (holds a content viewer or a frame loader). r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131893
2021-11-27 11:14:09 +00:00
Peter Van der Beken c8b5d79509 Bug 1740517 - Don't restore form data when going back to a page with a no-store header with session history in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131892
2021-11-27 11:14:08 +00:00
Peter Van der Beken 41778ca7b2 Bug 1740516 - Fire pageshow for an iframe before the pageshow for its parent window when coming out of BFCache with session history in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131891
2021-11-27 11:14:08 +00:00
Deian Stefan 0a5e1f2075 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 04:41:21 +00:00
sotaro 46903a643e Bug 1743057 - Notify windows visibility change to WindowOcclusionTracker when window is activated r=gfx-reviewers,jrmuizel
When Firefox was activated by Alt+Tabbing, there was a case that event hook of WindowOcclusionCalculator could not detect an event of window activated. Then it is necessary to trigger window occlusion calculation from nsWindows.

Differential Revision: https://phabricator.services.mozilla.com/D132206
2021-11-27 02:24:22 +00:00
Masayuki Nakano 1eb9045821 Bug 1742748 - Make `HTMLEditor::JoinNodesWithTransaction()` return `JoinNodesResult` r=m_kato
This patch implements `JoinNodesResult` class which callers of
`JoinNodesWithTransaction()` can access removed node, existing (joined) node and
joined point with logical named accessors, and makes
`JoinNodesWithTransaction()` return it.

Then, the callers don't need to change at fixing bug 1735608.

Differential Revision: https://phabricator.services.mozilla.com/D132120
2021-11-27 00:05:54 +00:00