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

684610 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 7e8ae185d6 Bug 1600283 - Reduce uses of plain pointers. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D55477

--HG--
extra : moz-landing-system : lando
2019-12-13 12:18:21 +00:00
Simon Giesecke 3137f60858 Bug 1602749 - Make CheckedInt operations constexpr. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56682

--HG--
extra : moz-landing-system : lando
2019-12-16 10:22:57 +00:00
Thiago Arrais 72fef7b640 Bug 765651 - Fix console protocol for ws connections. r=Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D56965

--HG--
extra : moz-landing-system : lando
2019-12-16 11:42:01 +00:00
Tom Schuster eaf1513b61 Bug 1597493 - Remove nsIDocShellTreeItem from GetLoadContextInfo. r=smaug
It is not quite clear to me if GetBrowsingContext can ever be null that is why I opened Bug 1604040.

Differential Revision: https://phabricator.services.mozilla.com/D57247

--HG--
extra : moz-landing-system : lando
2019-12-16 11:27:23 +00:00
Csoregi Natalia 2bfeaf7cb5 Backed out 11 changesets (bug 1587433) for bustages on RangeBoundary.h. CLOSED TREE
Backed out changeset 18f8d61039b0 (bug 1587433)
Backed out changeset 69ad70a4f85e (bug 1587433)
Backed out changeset 79ec11ba7fde (bug 1587433)
Backed out changeset f8a7e23843b8 (bug 1587433)
Backed out changeset f9255884980f (bug 1587433)
Backed out changeset 50a798e664a1 (bug 1587433)
Backed out changeset b225586edea6 (bug 1587433)
Backed out changeset b1d9e55ece86 (bug 1587433)
Backed out changeset 7ebbcb2da488 (bug 1587433)
Backed out changeset 4032df295a67 (bug 1587433)
Backed out changeset 0e1577031add (bug 1587433)
2019-12-16 13:25:51 +02:00
Mirko Brodesser 1db1c362b8 Bug 1587433: part 8) Remove superfluous `RangeBoundaryBase::Offset()` overload. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54504

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:19 +00:00
Mirko Brodesser 52bbf6b8da Bug 1587433: part 7.6) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54503

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:15 +00:00
Mirko Brodesser 2f58cffcb0 Bug 1587433: part 7.5) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54495

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:10 +00:00
Mirko Brodesser 8e27b5e829 Bug 1587433: part 7.4) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Calls around nsContentUtils::ComparePoint might be strengthened to
retrieve only valid offsets in a separate commit.

The change in `nsRange::CloneContents` is according to
https://dom.spec.whatwg.org/#concept-range-clone.

Differential Revision: https://phabricator.services.mozilla.com/D54494

--HG--
extra : moz-landing-system : lando
2019-12-11 12:26:08 +00:00
Mirko Brodesser ed769e29cd Bug 1587433: part 7.3) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54493

--HG--
extra : moz-landing-system : lando
2019-12-16 11:04:01 +00:00
Mirko Brodesser 2ce540d13e Bug 1587433: part 7.2) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54459

--HG--
extra : moz-landing-system : lando
2019-12-16 11:04:01 +00:00
Mirko Brodesser f1c8587c4b Bug 1587433: part 7.1) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
Calls around `nsContentUtils::ComparePoints` will be cleaned-up in a
separate commit.

Differential Revision: https://phabricator.services.mozilla.com/D54458

--HG--
extra : moz-landing-system : lando
2019-12-11 12:25:03 +00:00
Mirko Brodesser 58e0fcd8c5 Bug 1587433: part 6) Create `RawRangeBoundary` in `nsRange::ComparePoints` only after checking the offset is valid. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54457

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:55 +00:00
Mirko Brodesser 640091d4f0 Bug 1587433: part 5) Add `RangeBoundaryBase::Offset(OffsetFilter)`. r=smaug
Once `RawRangeBoundary::Offset()` is removed, callers are forced to pass
a filter to `Offset()`. Making it less likely for new callers to
undeliberately retrieve invalid values.

`RawRangeBoundary::Offset()` is removed in separate commit, once all
callers adapted.

Differential Revision: https://phabricator.services.mozilla.com/D54456

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:48 +00:00
Mirko Brodesser ed7f8d448f Bug 1587433: part 4) In `Selection::SetBaseAndExtent` check offsets are valid before constructing range boundaries. r=smaug
Avoid warnings.

Differential Revision: https://phabricator.services.mozilla.com/D54277

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:40 +00:00
Mirko Brodesser ba20ab29fa Bug 1587433: part 3) Strengthen conditions for `AbstractRange::mIsPositioned`. r=smaug
Makes it less mysterious.

Differential Revision: https://phabricator.services.mozilla.com/D54276

--HG--
extra : moz-landing-system : lando
2019-12-11 12:24:28 +00:00
Daisuke Akatsuka 039838c924 Bug 1578753: Add a test for top-level target switing. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D56705

--HG--
extra : moz-landing-system : lando
2019-12-16 10:18:07 +00:00
Daisuke Akatsuka daf33e67cf Bug 1578753: Reflect the switching of the top-level target. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D56704

--HG--
extra : moz-landing-system : lando
2019-12-16 10:16:05 +00:00
Daisuke Akatsuka 5bcf346ce2 Bug 1578753: Use the current target of TargetList. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D56703

--HG--
extra : moz-landing-system : lando
2019-12-16 10:15:58 +00:00
ffxbld a69cb7bd46 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D57290

--HG--
extra : moz-landing-system : lando
2019-12-16 10:27:47 +00:00
Marco Bonardo 62b1b15553 Bug 1322542 - part 2 - fix textoverflow attribute. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D57097

--HG--
extra : moz-landing-system : lando
2019-12-16 09:54:47 +00:00
Itiel 523191caef Bug 1322542 - Display user-typed text in the urlbar according to its direction r=mak
Also fix the fading effect on RTL typed text.

Differential Revision: https://phabricator.services.mozilla.com/D54195

--HG--
extra : moz-landing-system : lando
2019-12-16 09:54:39 +00:00
Martin Stransky 2df2f216c3 Bug 1489463 - [Linux/Gtk] Call OnSizeAllocate() explicitly also from OnConfigureEvent(), r=jhorak
Usually we update mBounds from OnSizeAllocate() which is called
by Gtk when mContainer changes its actual size.

However we need to set mBounds in advance at Resize() as JS
code expect immediate window size change. When Resize() is called between
SetSizeMode() calls (which maximize/unmaximize the window) we can miss
OnSizeAllocate() Gtk call as actual mContainer size may not change
from Gtk perspective and we end up with incorrect mBounds.

To compensate it call OnSizeAllocate() explicitly also
from OnConfigureEvent().

Differential Revision: https://phabricator.services.mozilla.com/D55941

--HG--
extra : moz-landing-system : lando
2019-12-16 09:52:27 +00:00
Gabriele Svelto 5e9f6e4cc2 Bug 1603704 - Bump dump_syms to version 0.0.3 r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D57278

--HG--
extra : moz-landing-system : lando
2019-12-16 09:17:06 +00:00
Nicolas Chevobbe 37f504d78f Bug 1438979 - Re-enable browser_webconsole_network_messages_expand.js. r=Honza.
The test is split in two to make it easier to read.

Differential Revision: https://phabricator.services.mozilla.com/D56884

--HG--
extra : moz-landing-system : lando
2019-12-16 10:13:39 +00:00
Csoregi Natalia efccf499c7 Backed out changeset e1ef71575321 (bug 1438979) for failures on browser_webconsole_stubs_network_event.js. CLOSED TREE 2019-12-16 11:51:18 +02:00
Calixte Denizet c82c13e1a9 Bug 1603436 - Rename clang patch (critical_section_on_gcov_flush.patch) to make easier the switch to LLVM 10 r=dmajor
Cherry-picked from: 02ce9d8ef5.

Differential Revision: https://phabricator.services.mozilla.com/D56945

--HG--
rename : build/build-clang/critical_section_on_gcov_flush.patch => build/build-clang/critical_section_on_gcov_flush-rG02ce9d8ef5a8.patch
extra : moz-landing-system : lando
2019-12-12 22:13:04 +00:00
Lars T Hansen e69ee75dcb Bug 1603496 - abstract reference-type checking on JS values. r=rhunt
Lift the code that checks JS values against reference types (and boxes anyref)
from all the places where it is repeated into a common function.

Clean up some code that assumes that the only reference types are anyref
and funcref.

Differential Revision: https://phabricator.services.mozilla.com/D56971

--HG--
extra : moz-landing-system : lando
2019-12-16 08:59:09 +00:00
Lars T Hansen 9b805c4f96 Bug 1603726 - Move tests to wasm/gc. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D57124

--HG--
extra : moz-landing-system : lando
2019-12-16 08:46:32 +00:00
Oriol Brufau 78ab5f5552 Bug 1603962 - Add comment explaining why addJsonViewTab races two load promises. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D57204

--HG--
extra : moz-landing-system : lando
2019-12-16 09:03:36 +00:00
Mark Banner 67aa02fd42 Bug 1603290 - Save a copy of view in the places tree to avoid slow get calls. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57275

--HG--
extra : moz-landing-system : lando
2019-12-16 08:56:44 +00:00
Alex Henrie 361541b5d9 Bug 1604099 - Remove redundant call to GetColCount from nsCellMap::ShrinkWithoutCell. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57274

--HG--
extra : moz-landing-system : lando
2019-12-16 08:21:52 +00:00
Benjamin Bouvier d7e8f78f24 Bug 1603772: Cranelift: replace native_pointer_{size,type} by const values; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D57127

--HG--
extra : moz-landing-system : lando
2019-12-13 19:35:58 +00:00
Benjamin Bouvier 701200cfb4 Bug 1603772: Revert the error type change when instantiating segments with Cranelift; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D57126

--HG--
extra : moz-landing-system : lando
2019-12-13 19:35:58 +00:00
Benjamin Bouvier 9501c8bb58 Bug 1603772: Cranelift: only return the ret value when it's not used for internal purposes; r=rhunt
The return value of a wasm builtin call may just be used to check if the
runtime caused an internal error (e.g. oom). There are assertions in code that
the return value of wasm builtins not supposed to return a wasm value actually
do this, so we shouldn't return values that are only internally used.

This could have been done a simpler way by only having "FailureMode::NotZero"
imply "do not return", but this is more future-proof like this: shared memory
/ atomics builtins both check the internal value *and* return it to the wasm
value stack.

Differential Revision: https://phabricator.services.mozilla.com/D57125

--HG--
extra : moz-landing-system : lando
2019-12-13 19:35:58 +00:00
sotaro f03139d167 Bug 1603927 - Do not try to pause compositor when nsWindow is destroyed r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D57197

--HG--
extra : moz-landing-system : lando
2019-12-16 07:31:57 +00:00
Nicolas Chevobbe 4daf948695 Bug 1438979 - Re-enable browser_webconsole_network_messages_expand.js. r=Honza.
The test is split in two to make it easier to read.

Differential Revision: https://phabricator.services.mozilla.com/D56884

--HG--
extra : moz-landing-system : lando
2019-12-16 07:57:40 +00:00
Jan de Mooij 1b3dd12f19 Bug 1601072 part 3 - Assert all backward jumps are to a JSOP_LOOPHEAD. r=arai,jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D56717

--HG--
extra : moz-landing-system : lando
2019-12-16 07:13:08 +00:00
Jan de Mooij 3d023cf143 Bug 1601072 part 2 - Inline emitBackwardJump into LoopControl::emitLoopEnd and simplify a bit. r=arai
Depends on D56715

Differential Revision: https://phabricator.services.mozilla.com/D56716

--HG--
extra : moz-landing-system : lando
2019-12-11 14:06:55 +00:00
Jan de Mooij 4620a7a86e Bug 1601072 part 1 - Rewrite BytecodeEmitter::emitYieldStar to emit a loop. r=arai
This way we get proper JIT tiering. It will also make it possible to
assert all backward jumps are to a JSOP_LOOPHEAD.

Differential Revision: https://phabricator.services.mozilla.com/D56715

--HG--
extra : moz-landing-system : lando
2019-12-11 14:06:53 +00:00
Alex Henrie 28f8449c88 Bug 1604071 - Remove dead assignment from nsPrintDialogServiceGTK::Show. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D57256

--HG--
extra : moz-landing-system : lando
2019-12-16 07:03:52 +00:00
James Teh 437c05d961 Bug 1601537: Fix text navigation in text leaf Accessibles on Android. ?MarcoZ r=MarcoZ
For paragraphs, divs, spans, etc., a11y focus on Android goes to text leaf Accessibles, rather than to the HyperTextAccessible container.
This does make sense, as these containers frequently embed other content, so the text needs to be reachable as a separate item.
However, previously, performing text navigation on these text leaf Accessibles returned the HyperTextAccessible parent.
This isn't supported by Talkback, and even if it were, it causes other problems; e.g. a11y focus being lost if the user was focused on a child other than the first child of such a container.
Therefore, if text navigation was performed on a text leaf Accessible, we now return a result within the text leaf Accessible if possible, rather than the HyperTextAccessible.

1. Make AccessibleWrap::GetTextContents support text leaf Accessibles (for both local and remote proxied Accessibles).
    This is used when providing text for text traversal events.

2. When navigating text on Android, we use Pivot::Next/PrevText.
    However, this will always return a HyperTextAccessible, even when starting on a text leaf.
    Therefore, if the result from Pivot::Next/prevText resides entirely within the same text leaf, translate the offsets from the HyperTextAccessible so they're relative to the text leaf and return the text leaf.

3. Pivot::Next/PrevText already supported starting from a text leaf Accessible.
    However, they ignored the offsets, which meant that navigating from a text leaf would always navigate to the start/end of the text leaf.
    Now, if a text leaf is passed to Pivot::Next/PrevText, the offsets (if specified) are translated to the HyperTextAccessible parent first.

4. Adjust the existing character/word/line tests so they ensure that navigation returns the node that has a11y focus; i.e. the text leaf.

Differential Revision: https://phabricator.services.mozilla.com/D57269

--HG--
extra : moz-landing-system : lando
2019-12-16 06:25:54 +00:00
sotaro c61720a7d0 Bug 1603676 - Move picture caching check for WR compositor to Feature::WEBRENDER_COMPOSITOR check r=gw
about:support could have an information that WR compositor is disabled by disabling picture caching.

Differential Revision: https://phabricator.services.mozilla.com/D57266

--HG--
extra : moz-landing-system : lando
2019-12-16 03:50:31 +00:00
Glenn Watson 30ae7d5b62 Bug 1604088 - Switch OS compositor off by default on Windows. r=sotaro
This switches the OS compositor integration for WR on Windows
off by default.

There are a couple of issues (primarily performance related) that
we need to fix up before making it the default for a release.

Differential Revision: https://phabricator.services.mozilla.com/D57267

--HG--
extra : moz-landing-system : lando
2019-12-16 03:39:27 +00:00
Daisuke Akatsuka 8d19ad62ba Bug 1601609: Set dom.animations-api.implicit-keyframes.enabled pref in __dir__.ini file. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D56846

--HG--
extra : moz-landing-system : lando
2019-12-16 01:05:20 +00:00
Matt Woodrow 507d73a98d Bug 1600124 - Don't crash debug builds if we get an empty rectangle passed. r=rhunt
Depends on D57052

Differential Revision: https://phabricator.services.mozilla.com/D57053

--HG--
extra : moz-landing-system : lando
2019-12-16 00:20:55 +00:00
Matt Woodrow e88be9e3a2 Bug 1601743 - Don't apply the referrer header to the referrer that we send back to the content process when converting a DocumentChannel into a real channel. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D56841

--HG--
extra : moz-landing-system : lando
2019-12-16 00:19:03 +00:00
Ting-Yu Lin dc8592b28f Bug 1598749 - Remove w3c-css/received/css-namespaces reftests. r=dbaron
These reftests can be safely removed because all css-namespace tests are
pass in both received/reftest.list and wpt reftests (no
testing/web-platform/meta/css/css-namespaces folder).

The only manual modification in this patch are removing
`os.path.join("css-namespaces"),` in import-tests.py.

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

Depends on D56376

Differential Revision: https://phabricator.services.mozilla.com/D56377

--HG--
extra : moz-landing-system : lando
2019-12-12 23:58:06 +00:00
Ting-Yu Lin aa1e127bcb Bug 1598749 - Make ./import-tests.py work for python installed at different paths. r=dbaron
When executing `./import-tests.py` in a python virtualenv, the path of
the python interpreter won't be at /usr/bin/python. By using
`/usr/bin/env python`, it works as the system can find a python
interpreter in $PATH.

Differential Revision: https://phabricator.services.mozilla.com/D56376

--HG--
extra : moz-landing-system : lando
2019-12-12 23:56:15 +00:00
Ting-Yu Lin dee8773f2c Bug 1602407 - Update documents with wiki.m.o continuation model link added. r=dbaron
DONTBUILD because this is a comment-only change.

Differential Revision: https://phabricator.services.mozilla.com/D56342

--HG--
extra : moz-landing-system : lando
2019-12-12 23:57:11 +00:00