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

738530 Коммитов

Автор SHA1 Сообщение Дата
Ted Campbell 669c11e239 Bug 1677312 - Part 4: Avoid accessing unaligned XDR ParserAtom directly. r=arai
When peeking the ParserAtomEntry header, use an explicit `memcpy` to allow
the compiler to decide if we should use unaligned access to the fields. At
the same time, rearange the code a bit to prepare for a future where we use
the ParserAtomEntry directly from the (then aligned) XDR buffer.

Differential Revision: https://phabricator.services.mozilla.com/D99915
2020-12-16 17:22:18 +00:00
Csoregi Natalia 0555db2f77 Backed out 3 changesets (bug 1682757, bug 1669174) for pointerevents failures. CLOSED TREE
Backed out changeset 1a95e03f79f6 (bug 1669174)
Backed out changeset f6185b36024b (bug 1682757)
Backed out changeset 596508c4b86c (bug 1682757)
2020-12-16 20:38:59 +02:00
Matthew Gaudet ca025c230b Bug 1682846 - Gently improve comments around JIT frame layout r=iain DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99897
2020-12-16 17:00:23 +00:00
Sebastian Hengst f4b1557e23 Bug 1682774 - set more image orientation tests as intermittent on Windows. DONTBUILD
These got set up or modified two days ago in bug 1681927 and bug 1680849.

Differential Revision: https://phabricator.services.mozilla.com/D99914
2020-12-16 16:58:02 +00:00
Paul Zuehlcke be3f13ec21 Bug 1654649 - Deny requestStorageAccess for sites with denied cookie permission. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D99802
2020-12-16 16:45:18 +00:00
Henrik Skupin 59f54d77e1 Bug 1669174 - [marionette] Don't use Framescript when actors are enabled. r=marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99586
2020-12-16 16:32:18 +00:00
Henrik Skupin e0cf5a1cb3 Bug 1682757 - [marionette] Handle events for DoubleClickTracker in MarionetteEventsActor. r=marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99885
2020-12-16 16:31:17 +00:00
Henrik Skupin d1940ce560 Bug 1682757 - [marionette] Register MarionetteEventsActor globally. r=marionette-reviewers,jgraham
To not miss certain events the event actor has to stay registered
throughout the whole lifetime of the session.

Differential Revision: https://phabricator.services.mozilla.com/D99884
2020-12-16 16:31:10 +00:00
Bryce Seager van Dyk 5c6194a73d Bug 1671246 - Use a union to pass NodeId in GMP. r=jbauman,ipc-reviewers,nika
Passing a union here allows us to reuse code and trim some code which was
duplicated to handle the different NodeId formats. This also consolidates the
former `NodeId` and `NodeIdData` structures into a new structure (working name
`NodeIdParts`) which represents parts that will later be converted to a string
based NodeId.

Differential Revision: https://phabricator.services.mozilla.com/D93569
2020-12-16 16:15:01 +00:00
Jeff Muizelaar 4a8d704237 Bug 1682734 - Use a match statment to check matching instead of ifs. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D99859
2020-12-16 16:04:45 +00:00
Nicolas Silva e1b4ab410a Bug 1679751 - Adjust wrench reftest reference (after glyph atlas changes). r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D99906
2020-12-16 15:55:22 +00:00
Chris H-C 93bca65d02 Bug 1571932 - Enable Trace Telemetry logging in datachoices test r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D99904
2020-12-16 15:42:27 +00:00
Edgar Chen c9da52cf4e Bug 1680223 - Generate right include for InstrumentedProps; r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D99631
2020-12-16 13:47:53 +00:00
Jan Horak 84200feb0c Bug 1678247 Use nsWindow scale factor for the content of the popup; r=stransky
Since we're using toplevel's scale factor to create and layout popup window
its mozcontainer has to use same scale factor and not the scale factor given
by GTK/wayland.

Differential Revision: https://phabricator.services.mozilla.com/D99879
2020-12-16 15:26:54 +00:00
James Graham 2dd2927229 Bug 1682606 - wptserve now depends on pywebsocket, r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D99901
2020-12-16 15:20:38 +00:00
Jeff Muizelaar ac2d66db37 Bug 1682744. Mark mixed blend mode tests as passing. r=jnicol
Bug 1682398 caused us to layerize mixed-blend-mode less aggressively
which means that we're using Skia everywhere for these tests now
instead of relying on the GPU.

Differential Revision: https://phabricator.services.mozilla.com/D99896
2020-12-16 14:21:21 +00:00
Moritz Birghan c5610a3897 Bug 1676303 - Remove 10 GeoTrust, thawte, and VeriSign root certs from TrustOverride-SymantecData.inc r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D97349
2020-12-16 15:07:06 +00:00
Sebastian Hengst 572d08e3d5 Bug 1682687 - set css/css-text/text-align/text-align-start-*.html tests as intermittent on Windows 7 opt if they have non-passing expectations for other OS. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99902
2020-12-16 15:08:12 +00:00
Nicolas Silva 17739343f2 Bug 1679751 - Run Mach vendor rust. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D98657
2020-12-16 14:56:52 +00:00
Nicolas Silva 592d7e6956 Bug 1679751 - Remove glyph-specific slab sizes. r=gw
It is dead code now that glyphs use a shelf allocator.

Differential Revision: https://phabricator.services.mozilla.com/D98656
2020-12-16 14:56:06 +00:00
Nicolas Silva 8eb6f0325e Bug 1679751 - Use a shelf packing allocator for the glyph atlas. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D98655
2020-12-16 14:55:43 +00:00
Tooru Fujisawa 62f276f23c Bug 1682797 - Fix directive. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D99895
2020-12-16 14:54:24 +00:00
Andreea Pavel f26389383e Bug 1680726 - update transform-animation-under-large-scale.html webrender annotations r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99894
2020-12-16 13:14:55 +00:00
David Major b870772aae Bug 1563019 - Enable ASan for rust code in linux64-asan builds r=decoder,mhentges
This patch enables ASan for rust code in the `linux64-asan/{debug,opt}` and `linux64-asan-fuzzing` build tasks. Since it is a `-Z` unstable flag, we'll move to the same `linux64-rust-nightly` toolchain that TSan builds use.

For the time being, the ASan Nightly Reporter builds are left alone, until we're more familiar with the perf impacts of this landing.

Differential Revision: https://phabricator.services.mozilla.com/D99556
2020-12-15 17:38:48 +00:00
Dimi Lee bf8688ff88 Bug 1678545 - P3. Fix test_referrer_redirect failures r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D99883
2020-12-16 13:22:26 +00:00
Dimi Lee 2c208bba31 Bug 1678545 - P2. Add a WPT to verify the referrer header is sent correctly r=ckerschb
Depends on D99358

Differential Revision: https://phabricator.services.mozilla.com/D99359
2020-12-16 11:46:51 +00:00
Dimi Lee 9b4b8eb426 Bug 1678545 - P1. Use previously computed referrer as the original referrer in ReferrerInfo::CreateFromOtherAndPolicyOverride r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D99358
2020-12-16 08:46:53 +00:00
Cristina Coroiu 8994f0036c Backed out changeset f12f5989419a (bug 1670885) for causing frequent failures for bug 1682467 on a CLOSED TREE 2020-12-16 15:49:51 +02:00
Sebastian Hengst 88e64dcca0 Bug 1682496 - set image-orientation-from-image-composited-dynamic2.html back to intermittent on Windows x64 debug. DONTBUILD
Got set as expected fail in bug 1681927 two days ago.

Differential Revision: https://phabricator.services.mozilla.com/D99889
2020-12-16 12:44:27 +00:00
Yoshi Cheng-Hao Huang a06514ac1b Bug 1682765 - Remove XPCONNECT_SHUTDOWN from IsShutdownReason. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D99865
2020-12-16 12:38:24 +00:00
Andreea Pavel 38144ac00a Bug 1464322 - disable browser_toolbar_overflow.js for frequent failures r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99639
2020-12-14 13:55:31 +00:00
Bob Clary 28542c1e10 Bug 1681096 - python3 - pylint --py3k - W1639: filter built-in referenced when not iterating (filter-builtin-not-iterating) r=marionette-reviewers,perftest-reviewers,gbrown,maja_zf,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D99091
2020-12-15 15:50:31 +00:00
sotaro 148fe8e9fc Bug 1682735 - Add error log to DCLayerTree::CreateSurface() r=nical
Add a log for understanding Bug 1681756.

Differential Revision: https://phabricator.services.mozilla.com/D99860
2020-12-16 12:05:01 +00:00
James Graham 753e4e70d0 Bug 1678663 - Pass multiprocessing context in when starting server, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D99881
2020-12-16 11:58:38 +00:00
Emilio Cobos Álvarez 35f522c5ab Bug 1682762 - Handle byte addresses in stash server. r=jgraham
Python 3.9 introduces a change like:

```
--- a/usr/lib64/python3.8/multiprocessing/connection.py
+++ b/usr/lib64/python3.9/multiprocessing/connection.py
@@ -73,6 +73,11 @@ def arbitrary_address(family):
     if family == 'AF_INET':
         return ('localhost', 0)
     elif family == 'AF_UNIX':
+        # Prefer abstract sockets if possible to avoid problems with the address
+        # size.  When coding portable applications, some implementations have
+        # sun_path as short as 92 bytes in the sockaddr_un struct.
+        if util.abstract_sockets_supported:
+            return f"\0listener-{os.getpid()}-{next(_mmap_counter)}"
         return tempfile.mktemp(prefix='listener-', dir=util.get_temp_dir())
     elif family == 'AF_PIPE':
         return tempfile.mktemp(prefix=r'\\.\pipe\pyc-%d-%d-' %
```

Which means that we can get byte addresses for abstract sockets. Encode
them to ascii so that we can pass it around in the environment or what
not.

Differential Revision: https://phabricator.services.mozilla.com/D99875
2020-12-16 11:43:33 +00:00
James Graham 7ba7311551 Bug 1682521 - Make binast/serve.py compatible with python3 - r=arai
Differential Revision: https://phabricator.services.mozilla.com/D99880
2020-12-16 11:40:57 +00:00
Jon Coppeard c9ac8f6feb Bug 1681297 - Refactor JS::shadow::Zone flags into a single enum and make it const r=jandem
Following on from the previous patch which moved the individual flags for the
zone kind into shadow::Zone, we can replace these by a single kind enum which
is set once when the zone is created.

Depends on D99782

Differential Revision: https://phabricator.services.mozilla.com/D99787
2020-12-16 11:06:23 +00:00
Jon Coppeard 264aac87e3 Bug 1681297 - Skip pre-write barriers triggered on background threads r=sfink
The problem here is that we can trigger this barrier when background
finalization destroys HeapPtrs to things in the atoms zone, since the atoms
zone may still be marking at this point. (Usualy cross-zone edges are stored in
the private pointer of a cross-compartment wrapper.)

To avoid the possiblity of races the patch checks the current thread when the
target thing is in the atoms zone. To make this work without pulling the whole
of Zone.h into Cell.h I had to move some of the zone's flags into shadow::Zone.
I'll tidy that a little in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D99782
2020-12-15 15:34:55 +00:00
Jon Coppeard ef7579fa52 Bug 1681291 - Calculate GC thresholds as 64 bit integers and clamp them to the range of size_t r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D99676
2020-12-16 10:56:27 +00:00
Mats Palmgren 69849dd1cc Bug 1663222 - Move any overflow-container continuations on the OverflowContainers list for the children we pull from our prev-in-flow to the ExcessOverflowContainers to keep frames ordered. r=TYLin CLOSED TREE
Making them non-overflow containers is valid but then we can't just
append them to mFrames since that'll put them on the last line which
may result in some lines in-between the pulled child and its
continuation.  That violates the invariant that in-flow continuations
in the same parent must be on consecutive lines (unless they are
overflow containers in which case they need to be on the
[Excess]OverflowContainers lists).

(The crash happens because if we push the lines in-between the two
continuations to the OverflowLines, then we won't find the 2nd
continuation on the first line of OverflowLines.)

(Note also that this change triggers the assertion in
DrainExcessOverflowContainersList, and depends on bug 1680406
to fix that and merge the lists.)

Differential Revision: https://phabricator.services.mozilla.com/D99560
2020-12-14 15:13:35 +00:00
Mats Palmgren 9e055cb531 Bug 1680406 - Allow a prev-in-flow to have an ExcessOverflowContainers list and merge it to our OverflowContainers as needed. r=TYLin CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D99637
2020-12-14 19:40:04 +00:00
Andreea Pavel 9159ca1ff4 Backed out changeset 847bca011f0f (bug 1674776) for causing bug 1682472 on a CLOSED TREE 2020-12-16 12:59:13 +02:00
Sebastian Hengst 318b79c98d Merge mozilla-central to autoland. CLOSED TREE 2020-12-16 12:01:13 +01:00
Sebastian Hengst a3e7021190 Backed out 2 changesets (bug 1588710) for frequent crashes on Linux x64 debug affecting Try pushes (bug 1679994). a=backout
Backed out changeset f0b02db01894 (bug 1588710)
Backed out changeset e45001cddaf4 (bug 1588710)
2020-12-16 11:58:47 +01:00
Dorel Luca c7cf087b6e Backed out changeset 7253a9d881d0 (bug 1680405) for assertion failures in worker/checkouts/gecko/layout/base/PresShell.cpp. CLOSED TREE 2020-12-16 07:19:44 +02:00
Lee Salzman 656be1724e Bug 1676862 - ensure wr_notifier_wake_up passes through UpdateAndRender. r=mstange
wr_notifier_wake_up uses RenderThread::WakeUp, which in turn just directly
calls Renderer::Update. As a side-effect, this can queue a composite to the
main framebuffer deep inside the renderer, but without having gone through
the normal pathway of Renderer::UpdateAndRender. UpdateAndRender ensures
that any RenderCompositor is properly prepared for the frame by calling
BeginFrame and other hooks as appropriate. But since we went through just
Update instead, there is never any call to BeginFrame and the SWGL framebuffer
never gets a chance to be properly set up in the RenderCompositor. In such
cases that we actually need to composite to the framebuffer, it seems more
appropriate to call UpdateAndRender, which also supports a boolean indicating
whether or not we actually intend to render something. To further simplify,
we just reuse the existing HandleFrameOneDoc handler to avoid needing separate
entry-points into UpdateAndRender.

Differential Revision: https://phabricator.services.mozilla.com/D99733
2020-12-16 03:47:08 +00:00
Jeff Muizelaar ca2705c27c Bug 1682398. Be more conservative about promoting mixed-blend-mode to active. r=mstange
Previously, if a mixed-blend-mode item was the child of the root svg
element it would always end up active. Instead of using parent
activeness as a proxy, track previous sibling activeness. This
doesn't make things too much more complicated and is more accurate.

Unfortunately, if a previous silbing is actually active we can get
still get into a bad situation.

Differential Revision: https://phabricator.services.mozilla.com/D99853
2020-12-16 03:32:39 +00:00
Edgar Chen 9b5d278abd Bug 1680405 - Make mouse capture working on OOP iframe; r=smaug
This patch add a way to track remote target for mouse capturing. The tracking
remote target will be reset when capturing content is changed or
ReleaseCapturingContent() is called.

In order to make `mouseup` would also be dispatched to correct remote target, we
do ReleaseCapturingContent in EventSetateManager::PostHandleEvent, instead of
in nsIFrame::HandleRelease.

Differential Revision: https://phabricator.services.mozilla.com/D98592
2020-12-16 00:29:40 +00:00
Steve Fink 447ae287a1 Bug 1678416 - gtest for CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D95954
2020-12-16 00:11:06 +00:00
Steve Fink 499c211405 Bug 1678416 - Create CCGCScheduler static methods to allow providing values on-demand to the scheduler, as well as provide a way to mock up the host for testing (see next patch) r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D95952
2020-12-16 00:12:15 +00:00