Commit Graph

728791 Commits

Author SHA1 Message Date
Javier Fernández García-Boente
2142ccafb9 Bug 1667598 [wpt PR 25804] - The adjusted_start must be computed based on the part_start, a=testonly
Automatic update from web-platform-tests
The adjusted_start must be computed based on the part_start

In order to create a new ShapeResultView, we use segments of a previous
instance, analyzing its runs based on a new index range for the new
instance. Since the start/end of the RunInfo structure may be different
than the start index of the ShapeResultView, we use an adjusted_start
to adapt the logic to the different data structures.

We assume that if the passed start_index for the new range is greater
than the current run's part start being processed, we should define the
new run's start as the difference of these two values. However, we must
also ensure that start_index is at least equal to the the part_start
value for such run.

The problem described in the issue 1130153 comes from the fact that
we use the start_index on cases where it's smaller than the run's
part_start. This leads to an incorrect (longer than expected) run.

Bug: 1130153
Change-Id: Id5dd505baf1f990d2fe7a9406e191979cbd6b9f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2431523
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811105}

--

wpt-commits: f2cb066328f2035c20b2a9726febd82056b7ac41
wpt-pr: 25804
2020-10-02 12:32:37 +00:00
Gérard Talbot
9a77a360c8 Bug 1667694 [wpt PR 25808] - Reinstated y.png needed for css-border-radius-ref-001.html, a=testonly
Automatic update from web-platform-tests
Reinstated y.png needed for css-border-radius-ref-001.html (#25808)

--

wpt-commits: f1205f0bdf688bafc1c99f3902ce6f112dc08320
wpt-pr: 25808
2020-10-02 12:32:37 +00:00
moz-wptsync-bot
6f246eed74 Bug 1667508 [wpt PR 25801] - Update wpt metadata, a=testonly
wpt-pr: 25801
wpt-type: metadata
2020-10-02 12:32:36 +00:00
autofoolip
441a9ab8fb Bug 1667508 [wpt PR 25801] - Update interfaces/css-font-loading.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/css-font-loading.idl (#25801)

Source: https://github.com/w3c/webref/blob/1f2b15c/ed/idl/css-font-loading.idl
Build: https://travis-ci.org/w3c/webref/builds/186774168
--

wpt-commits: 95cc99a748191209ee28294b6bf0463b256dca2e
wpt-pr: 25801
2020-10-02 12:32:36 +00:00
Stephen McGruer
ef7d21f5c3 Bug 1667097 [wpt PR 25770] - Add interfaces/serial.idl and test, a=testonly
Automatic update from web-platform-tests
Add interfaces/serial.idl and test (#25770)

Closes https://github.com/web-platform-tests/wpt/pull/25745
--

wpt-commits: 6dbdce64a0ff49973a4542d503263ef598afd4c6
wpt-pr: 25770
2020-10-02 12:32:35 +00:00
autofoolip
5b2579bbcf Bug 1667287 [wpt PR 25782] - Update interfaces/webrtc-svc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc-svc.idl (#25782)

Source: https://github.com/w3c/webref/blob/409dc56/ed/idl/webrtc-svc.idl
Build: https://travis-ci.org/w3c/webref/builds/730125092
--

wpt-commits: 9f6a7e3cfdae54795a0ca58e194b828537f9659e
wpt-pr: 25782
2020-10-02 12:32:35 +00:00
Xianzhu Wang
c3c209d7c2 Bug 1667474 [wpt PR 25796] - Invalidate GraphicsLayer::CcLayer() when switching "create layers after paint", a=testonly
Automatic update from web-platform-tests
Invalidate GraphicsLayer::CcLayer() when switching "create layers after paint"

When we switch on "create layers after paint" and back, the contents of
the original GraphicsLayer::CcLayer() and RasterInvalidator which are
not used during "create layers after paint" may not be valid.
Invalidate them to ensure correct rendering.

Bug: 1132218
Change-Id: Ia717e8202e2627cedbc9e5305619223a5a833f47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432766
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811013}

--

wpt-commits: 589d1d54b73d37f1efde64f75cc408bdd640b44a
wpt-pr: 25796
2020-10-02 12:32:35 +00:00
Mason Freed
6ecc95c31f Bug 1667446 [wpt PR 25794] - Add testing of :defined prior to call to super(), a=testonly
Automatic update from web-platform-tests
Add testing of :defined prior to call to super()

Per the conversation here [1], there is a desire to add more
testing of the :defined pseudo state, prior to the call to super().
Note that `this` is not accessible prior to super(), so the
instance itself is used. Also note that :defined already does not
match anywhere inside the constructor, for upgrades.

[1] https://github.com/whatwg/dom/pull/894#discussion_r495092027

Bug: 1042130
Change-Id: I2372900981247ea5624e737d2597d004398de477
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2431558
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810991}

--

wpt-commits: 0e252e7d3d8f95725f6ae177148da85eac333ca2
wpt-pr: 25794
2020-10-02 12:32:34 +00:00
Frederic Wang
6391eed8cc Bug 1187682 - Use ScriptPercentScaleDown and ScriptScriptPercentScaleDown constants. r=emilio
The math-depth implementation is refined to take into account the
ScriptPercentScaleDown and ScriptScriptPercentScaleDown constants (if the
parent's first valid font has a MATH table) in order to calculate the
scale factor between math-deth 0 and 1, and between 0 and 2 respectively.

Behavior is unchanged if the legacy scriptsizemultiplier attribute is
specified or if no MATH table is available.

The preference layout.css.math-depth.enabled remains disabled in nightly
until the remaining bit (support for font-size: math) is implemented in
bug 1667090.

Differential Revision: https://phabricator.services.mozilla.com/D91604
2020-10-02 11:33:34 +00:00
Robert Mader
55405b7afc Bug 1667116 - Request to stay unredirected on WR/OGL, too. r=stransky
Until bug 1617002 Firefox would unintendedly not get unredirected on X11
when used with WR and OpenGL as it didn't fullfill the requirements -
not being transparent.

Now that this is fixed, fullscreen unredirection can happen on certain
compositors. For the basic compositor we already explicitely ask to not
get unredirected - do that for all backends.

Differential Revision: https://phabricator.services.mozilla.com/D92180
2020-10-02 11:33:06 +00:00
Dão Gottwald
6f1b5977ef Bug 1644972 - Restrict browser.urlbar.disableExtendForTests to tests and remove it from tests that don't need it. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D92154
2020-10-02 11:56:16 +00:00
Olli Pettay
29e269dd12 Bug 1668577 - Make child process to send offset to parent process, not index, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92074
2020-10-02 12:05:57 +00:00
Olli Pettay
a9405496ad Bug 1668357 - enable SHIP with Fission, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D91978
2020-10-01 20:59:27 +00:00
Olli Pettay
4d9024b735 Bug 1668357, still one more failure when running SHIP with fission, r=peterv
Depends on D92150

Differential Revision: https://phabricator.services.mozilla.com/D92151
2020-10-02 11:12:35 +00:00
Olli Pettay
5cb8d35726 Bug 1668215 - Bail out loading if the SessionHistoryEntry for LoadingSessionHistoryInfo isn't available anymore, r=peterv
I haven't managed to reproduce the crash

Differential Revision: https://phabricator.services.mozilla.com/D92150
2020-10-02 11:53:18 +00:00
Nicolas Chevobbe
19eb2d240b Bug 1668480 - [devtools] Update CodeMirror to 5.58.1. r=jdescottes. CLOSED TREE
The build script was broken because of the usage of the optional chaining operator,
which is not supported by Node yet, so we fix it.

We also move one modification that was made for Bug 1651443 directly to
codemirror.css (which should be an exact copy of what's provided by the library),
to mozilla.css, our internal, devtools-specific stylesheet.

Differential Revision: https://phabricator.services.mozilla.com/D92041
2020-10-01 13:06:55 +00:00
Sebastian Hengst
b52e4ccdcf Bug 1502992 - set RTCRtpTransceiver.https.html as intermittent on Android opt r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91913
2020-10-02 11:34:02 +00:00
Simon Giesecke
23a4305389 Bug 1668548 - Only pass the error value to a cleanup function with QM_TRY*. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D92067
2020-10-02 10:04:37 +00:00
Simon Giesecke
6d35002b92 Bug 1668539 - Do not prevent RVO with QM_TRY_RETURN. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D92061
2020-10-02 10:03:29 +00:00
André Bargull
89d1d61483 Bug 1668765 - Part 10: Remove SourceText forward declaration. r=arai
Forward declarations should be part of TypeDecls.h, but it looks like the
forward declaration of SourceText isn't actually needed anywhere.

Depends on D92197

Differential Revision: https://phabricator.services.mozilla.com/D92198
2020-10-02 11:08:16 +00:00
André Bargull
7c1187863b Bug 1668765 - Part 9: Remove Symbol and SymbolCode from namespace js. r=arai
Depends on D92196

Differential Revision: https://phabricator.services.mozilla.com/D92197
2020-10-02 11:07:38 +00:00
André Bargull
ae81e824aa Bug 1668765 - Part 8: Remove WTF8Chars from namespace js. r=arai
Depends on D92195

Differential Revision: https://phabricator.services.mozilla.com/D92196
2020-10-02 11:07:36 +00:00
André Bargull
28cb39ed7e Bug 1668765 - Part 7: Remove UTF8CharsZ from namespace js. r=arai
Depends on D92194

Differential Revision: https://phabricator.services.mozilla.com/D92195
2020-10-02 11:07:28 +00:00
André Bargull
b89160e9ab Bug 1668765 - Part 6: Remove UTF8Chars from namespace js. r=arai
Depends on D92193

Differential Revision: https://phabricator.services.mozilla.com/D92194
2020-10-02 11:07:21 +00:00
André Bargull
b92d6d607c Bug 1668765 - Part 5: Remove TwoByteCharsZ from namespace js. r=arai
Depends on D92192

Differential Revision: https://phabricator.services.mozilla.com/D92193
2020-10-02 11:07:13 +00:00
André Bargull
bcbb3c2430 Bug 1668765 - Part 4: Remove TwoByteChars from namespace js. r=arai
Depends on D92191

Differential Revision: https://phabricator.services.mozilla.com/D92192
2020-10-02 11:07:06 +00:00
André Bargull
3cd4652bc5 Bug 1668765 - Part 3: Remove Latin1CharsZ from namespace js. r=arai
Depends on D92190

Differential Revision: https://phabricator.services.mozilla.com/D92191
2020-10-02 11:06:58 +00:00
André Bargull
25a7fb7658 Bug 1668765 - Part 2: Remove Latin1Chars from namespace js. r=arai
Depends on D92189

Differential Revision: https://phabricator.services.mozilla.com/D92190
2020-10-02 11:06:48 +00:00
André Bargull
89e1efa14d Bug 1668765 - Part 1: Remove ConstTwoByteChars from namespace js. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D92189
2020-10-02 11:06:35 +00:00
Sebastian Hengst
71dde7c4d4 Bug 1668485 - set a step of html/semantics/forms/input-change-event-properties.html as intermittent on Android opt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92064
2020-10-02 11:17:29 +00:00
Harry Twyford
a1ea381dac Bug 1661882 - Remove getAutofillSearchString test helper. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D91971
2020-10-02 07:00:34 +00:00
Harry Twyford
822844eeb6 Bug 1667470 - Enable tab-to-search on Nightly. r=adw
Tests are passing: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2de70d799eb0d0f4a5ae3d2c0b76c96bc7a34bbd

Differential Revision: https://phabricator.services.mozilla.com/D92156
2020-10-02 07:01:46 +00:00
Andrei Oprea
37b7b08621 Bug 1668479 - Land strings for What's New Panel content in Firefox 82 r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92047
2020-10-01 18:28:51 +00:00
Razvan Maries
47e689be9d Backed out changeset 30d763026100 (bug 1668480) for perma failures on nsLayoutUtils.cpp. CLOSED TREE 2020-10-02 14:24:34 +03:00
Solomon Chiu
26f860a4a3 Bug 1667939 - Make the picture tile size configurable via pref. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D91759
2020-10-02 10:38:45 +00:00
Tooru Fujisawa
913954320b Bug 1668776 - Update opcode for bug 1667258. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D92203
2020-10-02 10:37:24 +00:00
Jamie Nicol
24a86e3bdc Bug 1575765 - Enable partial present for webrender on android. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D91204
2020-10-02 10:24:04 +00:00
Jamie Nicol
7adec85b80 Bug 1575765 - Implement KHR_partial_update for webrender. r=sotaro,jgilbert
KHR_partial_update allows us to avoid rerendering the entire
backbuffer every frame, and instead only render what has changed on
the current frame, as well as the difference between the current
backbuffer and the current frontbuffer. It works similarily to
EXT_buffer_age, which we already support, with the additional
requirement that we must call eglSetDamageRegion each frame before
rendering to the backbuffer.

Modify GLContextEGL::GetBufferAge() so that it queries the age if
either EXT_buffer_age or KHR_partial_update are available. This will
now automatically be queried by webrender through the
PartialPresentCompositor trait. Add a new function to that trait,
set_buffer_damage_region(), whose RenderCompositorEGL implementation
calls eglSetDamageRegion(). Call this from composite_simple(), once
the damage rect has been calculated but before rendering to the
backbuffer.

Additionally, change both RenderCompositorEGL and
RenderCompositorOGL's implementations of
ShouldDrawPreviousPartialPresentRegions() to unconditionally return
true, rather than checking for the existence of EXT_buffer_age (or
adding a new check for KHR_partial_update). The lack of these
extensions does not mean that webrender is able to skip rendering
previous frames' damage. Rather the opposite, it means we cannot
render *only* the previous frames' damage, and must instead always
render the entire buffer.

Differential Revision: https://phabricator.services.mozilla.com/D91203
2020-10-02 10:23:56 +00:00
Jamie Nicol
5d407f06e0 Bug 1656533 - Handle buffer ages other than 2 for EGL_EXT_buffer_age. r=sotaro,gw
Add a trait PartialPresentCompositor with a function get_buffer_age(),
and allow gecko to pass an implementation to webrender during
initialization. This allows webrender to query the age of the current
backbuffer during compositing.

Make webrender track the previous 2 frame's dirty rects, rather than
just the previous 1 frame's, allowing it to calculate the total damage
rect for buffer ages of up to 3. If the age is greater than 3, treat
the entire buffer as invalid. Also handle special cases of ages 0 and
1, 0 meaning the entire buffer is invalid, and 1 meaning the entire
buffer is valid. Make gecko stop requesting a full render for buffer
ages other than 2, as webrender can now handle these cases itself.

Differential Revision: https://phabricator.services.mozilla.com/D91202
2020-10-02 10:23:49 +00:00
Tom Schuster
10fcf4e476 Bug 1657701 - Localize the media control Firefox is now playing fallback text r=alwu,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D91514
2020-10-02 10:02:00 +00:00
David Walsh
9dab095b52 Bug 1625935 - [devtools] Implement ResourceWatcher with legacy listeners for Storage panel r=ochameau
This is D86050, rebased on top of current central. I kept it a separate commit, so the new stuff can be reviewed separately in a different revision.

Differential Revision: https://phabricator.services.mozilla.com/D91122
2020-10-02 09:31:03 +00:00
Emilio Cobos Álvarez
c1f41f653e Bug 1668744 - Make fast_is_hex_digit better. r=valentin,necko-reviewers
No need to cast a byte as a char to test it against ascii characters.

Depends on D92183

Differential Revision: https://phabricator.services.mozilla.com/D92184
2020-10-02 09:22:24 +00:00
Emilio Cobos Álvarez
78356256dd Bug 1668744 - Remove useless #[allow()] attributes. r=valentin,necko-reviewers
All these functions use snake case so they're not needed.

Depends on D92182

Differential Revision: https://phabricator.services.mozilla.com/D92183
2020-10-02 09:22:34 +00:00
Emilio Cobos Álvarez
1b68ac08c0 Bug 1668744 - Cleanup a bit and use explicit extern function pointer in rust etc/hosts parser. r=valentin,necko-reviewers
Using extern fn is needed to avoid a warning, but also this avoids copying the
filename when it's already valid utf-8, and makes some other minor cosmetic
tweaks, like removing useless `move` in lambdas and so on.

Differential Revision: https://phabricator.services.mozilla.com/D92182
2020-10-02 09:26:36 +00:00
Robert Mader
71f8bab55f Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky
This is required to support pasting the primary selection into Firefox on compositors only
supporting the public protocol, such as KWin. Getting the selection *from* Firefox is done
via GTK and will be supported from GTK 3.24.23 on.

The public protocol, while practically identical, will replace the gtk-private one eventually.
However, support for the private one will still be needed for a while.

Note: this also updates the auto-generated gtk-primary-selection files.

Differential Revision: https://phabricator.services.mozilla.com/D91594
2020-10-02 09:13:06 +00:00
André Bargull
4a8c5a1ed5 Bug 1668531 - Part 13: Remove unnecessary CompilationAndEvaluation.h include from Runtime.h. r=jandem
"js/CompilationAndEvaluation.h" doesn't need to be included in "vm/Runtime.h".

Depends on D92059

Differential Revision: https://phabricator.services.mozilla.com/D92060
2020-10-02 09:22:14 +00:00
André Bargull
1f930822b8 Bug 1668531 - Part 12: Clean-up includes for IdValuePair.h. r=jandem
- Include for "jsapi.h" wasn't necessary at all.
- "NamespaceImports.h" pulls in many headers, so it was replaced with
  "js/Value.h".
- Without "NamespaceImports.h" `Value` and `UndefinedValue` need to be prepended
  with `JS::`.

Depends on D92058

Differential Revision: https://phabricator.services.mozilla.com/D92059
2020-10-02 08:24:24 +00:00
André Bargull
94888d59b8 Bug 1668531 - Part 11: Clean-up includes for BytecodeUtil.h. r=jandem
Depends on D92057

Differential Revision: https://phabricator.services.mozilla.com/D92058
2020-10-02 08:23:56 +00:00
André Bargull
730f87409c Bug 1668531 - Part 10: Clean-up includes for ThrowMsgKind. r=jandem
"jsfriendapi.h" can be replaced with the new "js/friend/ErrorMessages.h" header.

Additional changes needed:

BytecodeUtil.h
- Remove unused `PcVector` so we don't need to pull in "js/AllocPolicy.h" for SystemAllocPolicy

Depends on D92056

Differential Revision: https://phabricator.services.mozilla.com/D92057
2020-10-02 08:22:14 +00:00
André Bargull
d99ece2e9e Bug 1668531 - Part 9: Move jit::Label destructor out-of-line. r=jandem
Move jit::Label destructor out-of-line, that way we can avoid multiple
debug-only includes in Label.h.

Differential Revision: https://phabricator.services.mozilla.com/D92056
2020-10-02 09:10:10 +00:00