Commit Graph

710943 Commits

Author SHA1 Message Date
Itiel
ec96908456 Bug 1641262 - Fix the info icon for dark mode in the Compatibility tab r=daisuke
Also improve the CSS a bit

Differential Revision: https://phabricator.services.mozilla.com/D77093
2020-06-02 04:04:10 +00:00
Andrei Cristian Petcu
1ccac556c7 Bug 1641396 - Add telemetry for the the about:logins menu items r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D77324
2020-06-02 04:24:01 +00:00
Paul Bone
afb2aaaebd Bug 1634252 - Add test case r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D76994
2020-06-02 02:23:34 +00:00
Vlad Filippov
5bfd820a91 Bug 1635213 - Allow FxA flow parameters in the UITour. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D77542
2020-06-02 03:11:08 +00:00
Ting-Yu Lin
5ca75861f1 Bug 1343948 - Merge overflow container children to next-in-flow's OverflowContainersProperty() if the property already exists. r=mats
This is to prevent the assertion at the beginning of
DrainExcessOverflowContainersList().

The invariant is described in the comment revised in this patch. That
is, "only one overflow containers list exists for a given frame: either
its own OverflowContainersProperty or its prev-in-flow's
ExcessOverflowContainersProperty, not both."

Differential Revision: https://phabricator.services.mozilla.com/D77328
2020-06-02 02:37:28 +00:00
sotaro
33ee2a10f6 Bug 1637497 - Disable partial present dynamically when Dwm is disabled r=jrmuizel
Do full render with WebRender when Dwn is disabled. It could be done by RenderCompositorANGLE::RequestFullRender().

Back out  Bug 1638469. It disables WebRender during starting if Dwm is disabled. But Dwm is enabled/disabled dynamically. And we do not want to disable WebRender in this case.

Differential Revision: https://phabricator.services.mozilla.com/D77221
2020-06-01 18:39:50 +00:00
Jon Bauman
a311412e9e Bug 1641208 - Accept header does not include image/avif even when image.avif.enable is set. r=mattwoodrow,aosmond,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D77371
2020-06-01 22:21:05 +00:00
Randell Jesup
0014fbea8c Bug 1642491: Avoid recreating the PreallocatedProcessManager during shutdown r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D77714
2020-06-02 01:38:41 +00:00
Zhao Jiazhong
a7d6d429cc Bug 1642265 - [MIPS64] Add branchTestSymbol and fallibleUnboxPtr to MacroAssembler. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D77629
2020-06-02 00:56:29 +00:00
Zhao Jiazhong
e133fbe2f5 Bug 1638246 - [MIPS64] Fix register conflicts in branchValueIsNurseryCellImpl. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D77640
2020-06-02 00:55:06 +00:00
Razvan Maries
1bc8b34912 Backed out changeset a478e84fec48 (bug 1641704) for WebRender build bustages. CLOSED TREE 2020-06-02 04:02:30 +03:00
Bert Peers
0d4192f312 Bug 1641704 - Investigate update_visibility overhead r=gw
Plot glyph rasterization, evictions, GPU allocs

Differential Revision: https://phabricator.services.mozilla.com/D77520
2020-05-29 21:06:15 +00:00
Dale Harvey
9273a29b68 Bug 1637402 - Add pref to compare MLS results r=chutten,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D74953
2020-06-02 00:01:31 +00:00
Razvan Maries
a90b180cd2 Backed out changeset 7925ab748617 (bug 1343948) for perma failures on 1343606.html. CLOSED TREE 2020-06-02 03:02:10 +03:00
Paul Bone
de85812a1d Bug 1632441 - Add a test case for this bug r=kmag
Bug 1634779 has added a fix for this bug.  This patch adds a test to ensure
we don't regress this behaviour again.

Differential Revision: https://phabricator.services.mozilla.com/D76096
2020-06-01 07:01:40 +00:00
Iain Ireland
f467051736 Bug 1612636: Add test r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D61795
2020-06-01 23:46:46 +00:00
Iain Ireland
455620c82f Bug 1641352: Use VerifyRegExpSyntax in CheckPatternSyntaxImpl r=mgaudet
Depends on D77296

Differential Revision: https://phabricator.services.mozilla.com/D77297
2020-05-29 13:01:02 +00:00
Iain Ireland
b17ad1de19 Bug 1641352: Re-import Irregexp r=mgaudet
This patch was auto-generated using import-irregexp.py.

Differential Revision: https://phabricator.services.mozilla.com/D77296
2020-05-29 13:01:02 +00:00
Ting-Yu Lin
47cf315ef3 Bug 1642038 Part 3 - Minor cleanup for AutoFrameListPtr. r=mats
AutoFrameListPtr might be used more frequently after we add more APIs to
handle overflow container list and excess overflow container list in
bug 1641085.

The improvements in this patch includes:

* Mark AutoFrameListPtr as MOZ_RAII and final class.
* Move AutoFrameListPtr into mozilla namespace since we don't use layout
sub-namespace that much these days.
* Remove the AutoFrameListPtr type alias in nsGridContainerFrame's
header since it's not used.

Differential Revision: https://phabricator.services.mozilla.com/D77568
2020-06-01 23:24:52 +00:00
Ting-Yu Lin
197bb3cfff Bug 1642038 Part 2 - Mark [[nodiscard]] for StealOverflowFrames() and RemovePropTableFrames(). r=emilio
StealOverflowFrames() and RemovePropTableFrames() use TakeProperty() to
remove the property, and transfer the ownership to the caller. Since
TakeProperty() is already marked as [[nodiscard]], so should they.

Differential Revision: https://phabricator.services.mozilla.com/D77567
2020-06-01 19:02:25 +00:00
Ting-Yu Lin
e49672dd8f Bug 1642038 Part 1 - Move the definition of helpers manipulating overflow list to their declarations. r=emilio
SetOverflowFrames() is simplified a bit. Other methods are moved
verbatim.

Differential Revision: https://phabricator.services.mozilla.com/D77566
2020-06-01 19:02:22 +00:00
Ting-Yu Lin
4bdc6951d6 Bug 1343948 - Merge overflow container children to next-in-flow's OverflowContainersProperty() if the property already exists. r=mats
This is to prevent the assertion at the beginning of
DrainExcessOverflowContainersList().

The invariant is described in the comment revised in this patch. That
is, "only one overflow containers list exists for a given frame: either
its own OverflowContainersProperty or its prev-in-flow's
ExcessOverflowContainersProperty, not both."

Differential Revision: https://phabricator.services.mozilla.com/D77328
2020-06-01 21:18:21 +00:00
David Parks
7957e0f9fa Bug 1632283: Part 2 - Add task to drain WebGL async Ipdl queue r=jgilbert
When an async message is buffered, we need to make sure that the message is eventually sent to avoid starvation.  This patch queues a future task to do this (currently, randomly, 4 milliseconds in the future) unless one is already queued.  The task may get scooped by a sync message or user call to FlushAsyncCache, in which case the task will have no effect.

Differential Revision: https://phabricator.services.mozilla.com/D74482
2020-06-01 22:33:12 +00:00
David Parks
66aa1517ba Bug 1632283 : Part 1 - Extend IpdlQueue to allow caching async messages r=jgilbert
IpdlQueue currently sends an async Ipdl message for every async WebGL call.  This is a lot of overhead.  This patch buffers those calls so that they can be send in large batches when either a synchronous call happens or the client calls FlushAsyncCache.  The commands are then sent and processed in-order.

Differential Revision: https://phabricator.services.mozilla.com/D72047
2020-06-01 22:33:00 +00:00
Cameron McCormack
a7bdc6a410 Bug 1639698 - Ensure that the first text run that triggers a font load has its drawing skipped if needed. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D77578
2020-06-01 10:04:36 +00:00
Cameron McCormack
021b5a926c Bug 1642262 - Report a one-based line number in UseCounters.conf error messages. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D77626
2020-06-01 20:38:08 +00:00
Ricky Stewart
99c97f553a Bug 1642385 - Add foolproof error message to mozprocess when write errors occur r=froydnj
When people do Python 3 work and encounter an exception on this line, their first instinct is to do a `blame` and then NI me on the bug (which, fair enough). However when this particular issue is encountered it's usually that the `ProcessHandler` API is being invoked incorrectly and the process isn't being opened in the correct mode. Here we dump an error message to the screen immediately before the exception is thrown to hopefully point people working on dependencies of bug 1577599 on the right path.

Differential Revision: https://phabricator.services.mozilla.com/D77684
2020-06-01 19:41:10 +00:00
Kartikaya Gupta
01c7b3c016 Bug 1254030 - Fix size of drag image outline when nglayout.enable_drag_images=false. r=botond
The positioning isn't right, but it's not right even without APZ zooming, so
this patch doesn't mess with it.

Differential Revision: https://phabricator.services.mozilla.com/D77437
2020-06-01 21:40:34 +00:00
Kartikaya Gupta
8ad102a1a2 Bug 1254030 - Fix positioning of drag images with APZ zoom applied. r=botond
This adjusts the position at which the drag images appear when doing drag
actions, so that they appear where you would expect when APZ zoom is applied.
There doesn't seem to be a good way to test this, but I did a bunch of manual
testing, with all the possible expansions of this sentence:
   Dragging {a small image,a large image,some text} in {an iframe,the root
   content document}, with {,no }zooming applied.
In all cases, the drag image/text should appear such that the part under the
cursor is the same as what was under the cursor on the original rendering of
the page.

Differential Revision: https://phabricator.services.mozilla.com/D77436
2020-06-01 21:42:19 +00:00
Kartikaya Gupta
d807edde6f Bug 1254030 - Scale drag image by APZ zoom. r=botond
When rasterizing the drag image, we pick up the resolution from ancestor
presShells and ensure that the drag image is rasterized at that resolution,
with appropriate limits for memory usage.

Differential Revision: https://phabricator.services.mozilla.com/D77435
2020-06-01 21:40:39 +00:00
Olli Pettay
f474d273b1 Bug 1353466, 'A browsing context is script-closable ... if it is a top-level browsing context whose session history contains only one Document', r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D76006
2020-06-01 20:01:11 +00:00
Edwin Takahashi
3efe2edb5c Bug 1641395 - install amd64 variants of existing i386 packages and insert additional startup parameters for pulseaudio r=jmaher
Changes:
  - install the `amd64` variants of various packages alongside `i386` packages
  - install `amd64` version of `fontconfig` instead
  - additional command line arguments for pulseaudio initialization
  - do not add configuration files to `~/.pulse` in the docker image

Differential Revision: https://phabricator.services.mozilla.com/D77512
2020-06-01 20:44:47 +00:00
Glenn Watson
e8043c0222 Bug 1640523 - Fix render quality on pages with very large drop shadows. r=nical,aosmond
The logic for expanding the drop shadow clip rect was calling the
`map_vector` method in the `ScaleOffset` struct.

This method was incorrect (it was mapping the value as a point,
including the offset). This is fixed by modifying the `map_vector`
method to exclude the offset.

However, the text run snapping code was also calling map_vector
but expecting it to treat the value there as a point, so also
introduce a `map_point` method and switch the text run code
to use that.

Differential Revision: https://phabricator.services.mozilla.com/D77397
2020-05-31 21:23:24 +00:00
Matt Woodrow
5b6028fd46 Bug 1620679 - Use web progress listener for detecting load end in reftest-content.js. r=kmag,tnikkel
The previous patch stops us from firing the load event if we abort a load. We have a few crashtests that abort loads (either by directly calling stop(), or by starting a new navigation before load completes).

This switches the reftest harness to use web progress to determine when we've finished loading a test.

Differential Revision: https://phabricator.services.mozilla.com/D73995
2020-05-30 17:19:54 +00:00
Matt Woodrow
7adf95e964 Bug 1620679 - Don't fire load event from within Stop(). r=smaug
This matches what the spec says, and what blink does.

Differential Revision: https://phabricator.services.mozilla.com/D73994
2020-05-30 17:19:54 +00:00
Glenn Watson
368ca0d02e Bug 1641751 - Part 1 - Remove some texture cache eviction paths r=Bert,kvark
This patch removes two of the existing paths for evicting textures.
One is no longer useful, and the other is over-zealous, and causes
frame stalls.

When the shared texture cache made use of variable layer counts, the
`maybe_reclaim_shared_memory` method would look at the space in free
layers, and if large enough, would clear the entire cache and rely on
it being rebuilt implicitly as new requests occur. However, since we
no longer resize the number of slices, this doesn't serve a useful
purpose (the texture cache already frees any empty texture cache units
at the end of each frame).

The other method applies a conservative, periodic GC that occurs if no
other GCs have run for five seconds. However, this is a very aggressive
eviction that often evicts most of the shared cache, and was being run
whenever the size of the texture cache was > 16 MB. The effect of this
is that if you pause scrolling for a few seconds, and then scroll again,
most of the cache gets evicted. Instead, completely remove this concept,
relying on empty texture cache pages being freed and memory pressure
events, and general cache eviction during frames.

Differential Revision: https://phabricator.services.mozilla.com/D77402
2020-05-31 21:07:44 +00:00
Razvan Maries
79fe28f0d6 Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Masatoshi Kimura
8b30e469c5 Bug 1481640 - Remove forcePermissiveCOWs(). r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D77612
2020-06-01 18:04:20 +00:00
Razvan Maries
a8e926b419 Backed out changeset 10807c4612a8 (bug 1637402) for perma failures on test_location_services_telemetry.html. CLOSED TREE 2020-06-01 23:52:44 +03:00
Razvan Maries
a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Harry Twyford
b2fb31c57b Bug 1638275 - Allow searchbar one-offs hidden attribute to override display:flex. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D77086
2020-06-01 20:23:56 +00:00
Ting-Yu Lin
9daa2430da Bug 1642036 - Move nsContaineFrame's method definitions from nsFrame.cpp to nsContainerFrame.cpp. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77565
2020-06-01 18:10:05 +00:00
Severin
28e079b6a7 Bug 1513003 - only allow child process to query logins for the current base domain;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D74181
2020-06-01 16:01:55 +00:00
Dale Harvey
a6ce421356 Bug 1637402 - Add pref to compare MLS results r=chutten,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D74953
2020-06-01 16:44:29 +00:00
Ricky Stewart
d2861db731 Bug 1642439 - Fix test_error_output.py r=froydnj
These variables were renamed in bug 1641992, and furthermore they were changed to "templates" (with inline `%s` for string formatting), so fix the tests with that in mind.

Differential Revision: https://phabricator.services.mozilla.com/D77697
2020-06-01 19:33:29 +00:00
Emily McDonough
c6e4f99f13 Bug 1642040 - Add VoidLinux support to mach bootstrap r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D77571
2020-06-01 19:37:06 +00:00
Razvan Maries
6ed9617381 Backed out 2 changesets (bug 1632283) for build buistages on IpdlQueue.h CLOSED TREE
Backed out changeset bad8fd79458d (bug 1632283)
Backed out changeset 8cfbadcbe2e8 (bug 1632283)
2020-06-01 22:24:31 +03:00
Dan Minor
1c48a0e64f Bug 1642266 - Include dtlsidentity.h in WebrtcIPCTraits.h; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D77675
2020-06-01 19:08:21 +00:00
David Parks
0ea3c1a1c0 Bug 1632283: Part 2 - Add task to drain WebGL async Ipdl queue r=jgilbert
When an async message is buffered, we need to make sure that the message is eventually sent to avoid starvation.  This patch queues a future task to do this (currently, randomly, 4 milliseconds in the future) unless one is already queued.  The task may get scooped by a sync message or user call to FlushAsyncCache, in which case the task will have no effect.

Differential Revision: https://phabricator.services.mozilla.com/D74482
2020-05-29 19:46:23 +00:00
David Parks
919d391caf Bug 1632283 : Part 1 - Extend IpdlQueue to allow caching async messages r=jgilbert
IpdlQueue currently sends an async Ipdl message for every async WebGL call.  This is a lot of overhead.  This patch buffers those calls so that they can be send in large batches when either a synchronous call happens or the client calls FlushAsyncCache.  The commands are then sent and processed in-order.

Differential Revision: https://phabricator.services.mozilla.com/D72047
2020-05-29 20:25:35 +00:00