Commit Graph

689482 Commits

Author SHA1 Message Date
Sylvestre Ledru
1ba4b73c17 Bug 1611635 - TestPrintf.cpp: remove a test - causes a warning with gcc > 9 r=froydnj
The "(null)" printing behavior is a glibc extension and the specified behavior
in the standard is undefined

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

--HG--
extra : moz-landing-system : lando
2020-01-26 08:23:45 +00:00
Gabriel Luong
aa684c0c76 Bug 1602841 - Implement keystroke handling for PiP window for video controls. r=mconley
This implements keystroke handling behind a pref "media.videocontrols.picture-in-picture.keyboard-controls.enabled".
This patch handles all the keystrokes for video controls, which include play, pause,
volume decrease and increase, mute, unmute, seek forward and backward for 15 seconds
or by 10% of the max video duration, seek to beginning and seek to end.
This reuses the key handler logic from https://searchfox.org/mozilla-central/rev/cfd1cc461f1efe0d66c2fdc17c024a203d5a2fd8/toolkit/content/widgets/videocontrols.js#1687-1810.

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

--HG--
extra : moz-landing-system : lando
2020-01-26 06:21:23 +00:00
Ryan Hunt
fb42ac6003 Bug 1574865 - Wasm: Allow stackmaps that are indexed at an x86 indirect call instruction with any register. r=jseward
Cranelift fails this assertion and it's not clear to me that there is any restriction inside
Cranelift that would limit the set of registers we'd need to check here.

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

--HG--
extra : moz-landing-system : lando
2020-01-26 03:17:07 +00:00
Ryan Hunt
38e117a093 Bug 1574865 - Baldr: Add support for Cranelift stackmaps. r=jseward
This commit adds support for receiving stackmaps from Cranelift
and converting to wasm::Stackmaps. [1] will change the stackmap
representation in Cranelift to be the same as in Spidermonkey.

The stack overflow/interrupt trap handler stackmap is implemented by
sharing code with Ion.

[1] https://github.com/bytecodealliance/cranelift/pull/1317

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

--HG--
extra : moz-landing-system : lando
2020-01-26 03:16:52 +00:00
Ryan Hunt
7b7bd2c93c Bug 1574865 - Baldr: Translate reference type globals using slow OOL barriers. r=jseward
cranelift-wasm cannot express arbitrary control flow inside of
'global.get/set' easily. This makes it difficult to implement the pre/post write
barriers inline like the baseline compiler does.

[1] has a discussion about the ideal solution to problem, which involves a new IR
concept called templates. We will want to use that when it is ready.

In the short-term, this commit implements pre/post write barriers using slow OOL
functions and implements Wasm globals.

[1] https://github.com/bytecodealliance/cranelift/issues/1176

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

--HG--
extra : moz-landing-system : lando
2020-01-26 03:16:42 +00:00
Ryan Hunt
56f916b6eb Bug 1574865 - Baldr: Translate reference types and implement table/ref instruction translation. r=jseward
This commit translates the basic parts of reference types that does not
require any barriers. AnyRef,FuncRef,NullRef are translated to R32/R64. The
existing bulk-memory instructions are extended to operate on multiple tables,
and the new reference type instructions are implemented with instance calls.

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

--HG--
extra : moz-landing-system : lando
2020-01-26 03:16:22 +00:00
Ryan Hunt
f371899b51 Bug 1574865 - Wasm: Change compiler selection to allow Cranelift when reference types is enabled. r=jseward
This commit changes the wasm compiler feature detection bits to report that
cranelift supports reference types.

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

--HG--
extra : moz-landing-system : lando
2020-01-26 03:16:13 +00:00
Ryan Hunt
af432e59ad Bug 1574865 - Wasm: Update encoding of nullref to match proposal. r=lth
This commit updates the encoding of nullref to match the one given in
the reference types proposal.

Spec: https://github.com/WebAssembly/reference-types/pull/66

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

--HG--
extra : moz-landing-system : lando
2020-01-26 04:13:56 +00:00
Ryan Hunt
2694c42d68 Bug 1611302 - Update Cranelift to eb20fcab349ce20ac6f8659d1c4b058108d5e627. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D60917

--HG--
extra : moz-landing-system : lando
2020-01-26 04:13:56 +00:00
Mats Palmgren
df9c8cc274 Bug 1606516 - Inhibit subgridding a parent axis that has no tracks. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D60566

--HG--
extra : moz-landing-system : lando
2020-01-25 02:45:31 +00:00
Mats Palmgren
14fdc03837 Bug 1610362 - Floor track sizes to zero after adjusting for subgrid margin+border+padding. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D60565

--HG--
extra : moz-landing-system : lando
2020-01-25 02:20:28 +00:00
Emilio Cobos Álvarez
13de1cb414 Bug 1610849 - Resolve scroll-padding against scrollport for scroll anchoring even when visual viewport is used. r=botond
Per https://github.com/w3c/csswg-drafts/issues/4393.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 20:48:11 +00:00
Matthew Gregan
d148e81119 Bug 1590249 - Enable AudioIPC on Windows in Nightly builds. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60618

--HG--
extra : moz-landing-system : lando
2020-01-25 22:52:36 +00:00
Matthew Gregan
234a6546a4 Bug 1590249 - Remove AudioIPC stack/pool size prefs from all.js. r=chunmin
These are intended to be hidden prefs, so shouldn't show up in about:config.
Also sync current pref defaults with CubebUtils.cpp, which was out of date.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 22:52:08 +00:00
Matthew Gregan
e49077cae1 Bug 1590249 - Vendor Rust. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60616

--HG--
extra : moz-landing-system : lando
2020-01-25 22:51:35 +00:00
Matthew Gregan
be98de7d99 Bug 1590249 - Update audioipc to 86d49ddf. r=chunmin
Minus audio_thread_priority 0.21, due to Android build breakage.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 22:50:52 +00:00
Matthew Gregan
c7f495b3a7 Bug 1590249 - Fix media/audioipc/update.sh when run on Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60614

--HG--
extra : moz-landing-system : lando
2020-01-25 22:49:44 +00:00
Jonathan Kew
9189515605 Bug 1611610 - Add reftest for effect of synthetic bold on metrics of zero-width glyph. r=lsalzman
Depends on D61065

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

--HG--
extra : moz-landing-system : lando
2020-01-25 15:44:03 +00:00
Jonathan Kew
4a6c3ec3f6 Bug 1611610 - Don't increase glyph advance for synthetic bold if the glyph is zero-width. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D61065

--HG--
extra : moz-landing-system : lando
2020-01-25 15:43:45 +00:00
Itiel
be032141c2 Bug 1611420 - Fix the network info block in the webconsole for RTL r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D60957

--HG--
extra : moz-landing-system : lando
2020-01-25 21:51:54 +00:00
Dorel Luca
3025fdd0aa Backed out 5 changesets (bug 1590249) for Build bustage in AudioThreadPriorityError. CLOSED TREE
Backed out changeset 301b1a49db9b (bug 1590249)
Backed out changeset c675b890508d (bug 1590249)
Backed out changeset ed1cd65eedae (bug 1590249)
Backed out changeset 0a7873a6b522 (bug 1590249)
Backed out changeset 36f6505b50c9 (bug 1590249)
2020-01-26 00:18:35 +02:00
Matthew Gregan
13cc7e6129 Bug 1590249 - Enable AudioIPC on Windows in Nightly builds. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60618

--HG--
extra : moz-landing-system : lando
2020-01-25 21:34:14 +00:00
Matthew Gregan
59640adc70 Bug 1590249 - Remove AudioIPC stack/pool size prefs from all.js. r=chunmin
These are intended to be hidden prefs, so shouldn't show up in about:config.
Also sync current pref defaults with CubebUtils.cpp, which was out of date.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 21:33:07 +00:00
Matthew Gregan
0e7bf72221 Bug 1590249 - Vendor Rust. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60616

--HG--
extra : moz-landing-system : lando
2020-01-25 21:32:34 +00:00
Matthew Gregan
02e4693897 Bug 1590249 - Update audioipc to 86d49ddf. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60615

--HG--
extra : moz-landing-system : lando
2020-01-25 21:31:32 +00:00
Matthew Gregan
def1199352 Bug 1590249 - Fix media/audioipc/update.sh when run on Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60614

--HG--
extra : moz-landing-system : lando
2020-01-25 21:30:14 +00:00
Emilio Cobos Álvarez
aa3a33a08a Bug 1597055 - Don't stretch grid items with non-auto block-size. r=mats
Per the resolution in https://github.com/w3c/csswg-drafts/issues/4525.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 20:14:59 +00:00
Andrew Swan
906e1a31e3 Bug 1587544 Part 2: Migrate screenshots to fluent r=fluent-reviewers,_6a68,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D49785

--HG--
extra : moz-landing-system : lando
2020-01-25 17:09:54 +00:00
Andrew Swan
1de1359036 Bug 1587544 Part 1: Remove screenshots onboarding r=_6a68
Screenshots is now part of the browser first-run experience so get rid of
the onboarding slides embedded in screenshots.  This means fewer strings
that need to be ported to fluent.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 15:35:25 +00:00
Brent Schroeter
0ce271401d Bug 1597322 - Correctly set a:visited color in dark-mode. r=ewright
The light theme sets both visited and non-visited links to the same color
(`--blue-60`) by default, while the dark theme sets non-visited links to
`--blue-40` but did not specify a color for visited links, displaying them as
`--blue-60`. This resulted in inconsistent styling of pages written in XHTML
versus HTML, e.g. `about:protections` versus `about:newtab`. epang confirmed
that the desired behavior is to display links as `--blue-40`, visited or not.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 16:21:02 +00:00
Jonathan Kew
f0225d5c99 Bug 1611591 - Correct the 'match' link in web-platform/tests/css/css-fonts/font-synthesis-05.html to fix spurious failure. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D61061

--HG--
extra : moz-landing-system : lando
2020-01-25 12:28:38 +00:00
Jonathan Kew
f360407017 Bug 1611589 - Fix precedence of font-feature-settings vs disabling of ligatures due to letter-spacing. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D61060

--HG--
extra : moz-landing-system : lando
2020-01-25 12:18:00 +00:00
Cosmin Sabou
880da431e7 Bug 1611449 - Remove whitespace from MediaRecorder-no-sink.https.html.ini. a=test-only
DONTBUILD
2020-01-25 14:49:24 +02:00
Cosmin Sabou
6cd39364a8 Bug 1611449 - Add expectations for MediaRecorder-no-sink.https.html and MediaRecorder-peerconnection.https.html on release_or_beta. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D61059

--HG--
extra : moz-landing-system : lando
2020-01-25 11:43:47 +00:00
Hiroyuki Ikezoe
677e8ea65a Bug 1594451 - Apply fixed margin offset for position sticky layers/nodes depending on where it's stuck to. r=botond
We currenly only support the dynamic toolbar at bottom, so we apply the
`fixed margin offset` only if the sticky element is stuck at the bottom
of the root scroll container.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 11:00:08 +00:00
Hiroyuki Ikezoe
5d9fe8f9ea Bug 1594451 - Propagate sticky position info to HitTestingNode. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D60065

--HG--
extra : moz-landing-system : lando
2020-01-25 10:25:16 +00:00
Sakura Mochizuki
edc2287d2f Bug 1611040 - Convert dominant-baseline #defines to an enum class. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61046

--HG--
extra : moz-landing-system : lando
2020-01-25 10:51:24 +00:00
Cosmin Sabou
12c6f7fa32 Bug 1608242 - Delete added ' in test name. a=test-only 2020-01-25 11:02:05 +02:00
Cosmin Sabou
ab0ab07ac4 Bug 1608242 - Annotate loading-frame-default-eager-disabled-tentative.sub.html as it's passing on linux1804-64-qr. r=egao,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D60730

--HG--
extra : moz-landing-system : lando
2020-01-25 07:43:03 +00:00
Agi Sferro
d8a9316c60 Bug 1597793 - Use setTabActive in GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60943

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:19 +00:00
Agi Sferro
c1ad4b4c0f Bug 1597793 - Don't return a tabId for non-tab windows. r=snorp
If the window is a popup there is no WebExtension tab object present.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:17 +00:00
Agi Sferro
c4f3912001 Bug 1597793 - Track tab activation in GeckoViewTab. r=snorp
This avoids initialization issues with the previous approach.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:14 +00:00
Christoph Walcher
baa36cbd6f Bug 1597793 - Support tabs.onActivated in GeckoView r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D60041

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:12 +00:00
Agi Sferro
16bd2d03b1 Bug 1597793 - Check if a window is not a popup in ext-utils's onLocationChange. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60986

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:10 +00:00
Brindusan Cristian
ab9177e525 Backed out 5 changesets (bug 1597793) for ESlint error at GeckoViewWebExtension.jsm.
Backed out changeset d8132aa16234 (bug 1597793)
Backed out changeset 79aaf28b5cea (bug 1597793)
Backed out changeset 4de3746c478e (bug 1597793)
Backed out changeset 0e9c04f18e3c (bug 1597793)
Backed out changeset b830ae752c93 (bug 1597793)
2020-01-25 06:40:09 +02:00
Agi Sferro
52b037e389 Bug 1597793 - Use setTabActive in GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60943

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:08 +00:00
Agi Sferro
a1e95dff3d Bug 1597793 - Don't return a tabId for non-tab windows. r=snorp
If the window is a popup there is no WebExtension tab object present.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:06 +00:00
Agi Sferro
fca4ac4ef5 Bug 1597793 - Track tab activation in GeckoViewTab. r=snorp
This avoids initialization issues with the previous approach.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:04 +00:00
Christoph Walcher
72242d52b8 Bug 1597793 - Support tabs.onActivated in GeckoView r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D60041

--HG--
extra : moz-landing-system : lando
2020-01-25 04:13:30 +00:00
Agi Sferro
ca4b3a7c8d Bug 1597793 - Check if a window is not a popup in ext-utils's onLocationChange. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60986

--HG--
extra : moz-landing-system : lando
2020-01-25 02:16:56 +00:00