Commit Graph

737715 Commits

Author SHA1 Message Date
Andrew Osmond
e73a5b9a7c Bug 1681563 - Record WebRender device resets in telemetry and crash reports on non-Windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D99346
2020-12-10 14:26:32 +00:00
ffxbld
32309a1973 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D99354
2020-12-10 14:31:46 +00:00
James Graham
3c9ea32e23 Bug 1680752 - Provide a python-3 opt-in for tests on Taskcluster, , bhearsum r=bc,bhearsum
This requires tests to specify `python-3: true` in order to be run
with Python 3. When nothing is specified things work just like today,
so it's a more conservative change than the one in bug 1672181.

Obviously in the long term we will remove this and switch to Python 3
only, but this unblocks moving harnesses to py3 today.

Differential Revision: https://phabricator.services.mozilla.com/D98766
2020-12-10 14:02:38 +00:00
James Graham
5edfffa98b Bug 1680114 - Fix use of iteritems in WebDriver helpers, r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99253
2020-12-10 14:10:19 +00:00
Lars T Hansen
24a66247f3 Bug 1678542 - Don't clobber ptr register for ARM64 load/store. r=nbp
ARM64 inherited the wasmLoad / wasmStore API from ARM and MIPS wherein
the ptr register is clobberable by the macroassembler, so as to avoid
allocating a temp register.  On ARM64 there are several temp registers,
so this is not necessary, and we can generate better code (from Ion)
by not clobbering.

Differential Revision: https://phabricator.services.mozilla.com/D98855
2020-12-10 14:03:33 +00:00
Lars T Hansen
5e1e04da79 Bug 1678542 - Placeholder for patchable label on ARM64 must be ImmWord, not ImmPtr. r=nbp
This is not a functional change but allows switches to be emitted for wasm:
wasm disallows the use of an ImmPtr for movePatchablePtr but allows ImmWord,
this is in order to guard against embedded pointers in the serializable
machine code.  For a patchable word that will always be patched after
code is deserialized, we can use ImmWord, as we do on other platforms.

Differential Revision: https://phabricator.services.mozilla.com/D97771
2020-12-10 14:03:15 +00:00
Lars T Hansen
687f8af861 Bug 1678542 - Optimize branchTestPtr on ARM64. r=nbp
branchTestPtr can be optimized in the manner of branchTest32, using CBZ/CBNZ
when the inputs are the same and we're testing for zero/nonzero.

Also tidy up the logic of branchTest32 to make it slightly easier to understand.

Differential Revision: https://phabricator.services.mozilla.com/D97770
2020-12-10 14:03:08 +00:00
Erica Wright
e740af936a Bug 1671943 - Create home content section for customize menu. r=prathiksha,thecount,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D98242
2020-12-09 21:36:54 +00:00
Jeff Muizelaar
a9a4649bd7 Bug 1681723 - Drop 'qcms_' prefix from chain functions. r=aosmond
These functions aren't part of the public api so don't need the prefix.

Differential Revision: https://phabricator.services.mozilla.com/D99348
2020-12-10 13:59:12 +00:00
Jon Coppeard
d8ed2b2b5d Bug 1681693 - Add a test for string allocation in the nursery r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D99344
2020-12-10 13:58:44 +00:00
Butkovits Atila
d1ca78bf22 Backed out changeset 421c32ac0aaf (bug 1679749) for causing build bustage on rules.mk. CLOSED TREE 2020-12-10 15:30:17 +02:00
Kagami Sascha Rosylight
e724df62d2 Bug 1681615 - Detect selection changes through the setters r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D99291
2020-12-10 12:58:04 +00:00
R. Martinho Fernandes
62af5a59d9 Bug 1680320 - Use nsIX509Cert::GetSha256Fingerprint instead of GetCertFingerprintByOidTag r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D99107
2020-12-10 12:35:38 +00:00
Jan Varga
7652044f20 Bug 1680275 - LSNG: Change gPrepareDatastoreOps and gLiveDatabases to use NotNull; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D99197
2020-12-10 12:15:49 +00:00
Jan Varga
2e7f5cf1ce Bug 1680275 - SDB: Change gOpenConnections to use NotNull; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D98719
2020-12-10 12:14:15 +00:00
Jan Varga
88e9e3cb95 Bug 1680275 - DOMCACHE: Change Manager::Factory::mManagerList to use NotNull; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D98718
2020-12-10 12:13:46 +00:00
Jon Coppeard
278c0ef585 Bug 1681690 - Allocate strings in the nursery in a few more places r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D99331
2020-12-10 11:53:09 +00:00
Emilio Cobos Álvarez
18c4d446c5 Bug 1632469 - Use SmallVec::try_reserve. r=manishearth
Differential Revision: https://phabricator.services.mozilla.com/D72147
2020-12-10 11:37:16 +00:00
Kershaw Chang
a6d76f36fb Bug 1679749 - Make sure we only close private connections when last private window closed r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D99238
2020-12-10 11:30:02 +00:00
Butkovits Atila
81c02c9a1c Backed out changeset b4072f201205 (bug 1677765) for failures on ProtectedData.h. CLOSED TREE 2020-12-10 14:50:47 +02:00
Kershaw Chang
e7843f8df0 Bug 1680249 - Don't create the coalescing key if the ip address is 0.0.0.0 or :: r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D99326
2020-12-10 11:26:31 +00:00
Dragana Damjanovic
57a8f77f33 Bug 1681689 - HTTP3 may receive multiple GOAWAY frames. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D99328
2020-12-10 10:30:12 +00:00
Simon Giesecke
1a334920f8 Bug 1660470 - Split SurfaceDescriptor.h from ShadowLayerUtils.h. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D93561
2020-12-10 11:09:39 +00:00
Simon Giesecke
7499023887 Bug 1673931 - Avoid including DebuggerNotificationBinding.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D97611
2020-12-10 11:09:32 +00:00
Simon Giesecke
5db2472bdf Bug 1673931 - Avoid including ReferrerPolicyBinding.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D97610
2020-12-10 11:09:29 +00:00
Simon Giesecke
4cab6ac723 Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8
This moves parts of IPCMessageUtils.h to two new header files and adapts
the include directives as necessary. The new header files are:
- EnumSerializer.h, which defines the templates for enum serializers
- IPCMessageUtilsSpecializations.h, which defines template specializations
  of ParamTraits with extra dependencies (building upon both IPCMessageUtils.h
  and EnumSerializer.h)

This should minimize the dependencies pulled in by every consumer of
IPCMessageUtils.h

Differential Revision: https://phabricator.services.mozilla.com/D94459
2020-12-10 11:09:21 +00:00
Simon Giesecke
92347a9513 Bug 1676346 - Add missing include directives etc. r=andi,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99323
2020-12-10 11:09:01 +00:00
Masayuki Nakano
81be9a4e86 Bug 1681240 - Make TextControlState::SetValueFlags an enum class r=saschanaz
Using integer as a bit field may cause simple mistake and may not be easy
to read, and we have `EnumSet` class which can treat an `enum class` as
a bit flags so that we should make it an `enum class` and use it with the
`EnumSet` class.

Differential Revision: https://phabricator.services.mozilla.com/D99172
2020-12-09 23:34:28 +00:00
Emilio Cobos Álvarez
1c2975501b Bug 1632469 - Update smallvec. r=manishearth
Differential Revision: https://phabricator.services.mozilla.com/D72146
2020-12-10 11:10:05 +00:00
Emilio Cobos Álvarez
71926eea81 Bug 1681003 - When realloc() grows an allocation, allow switching out of public arenas if plain malloc() would've done that. r=glandium
Otherwise we may grow thread-local arenas a lot.

Differential Revision: https://phabricator.services.mozilla.com/D98924
2020-12-10 10:59:09 +00:00
moz-wptsync-bot
597c374b05 Bug 1680883 - [wpt-sync] Update web-platform-tests to b464d69274950c7707855c0b29729d58b9a8d492, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: b464d69274950c7707855c0b29729d58b9a8d492
wpt-type: landing
2020-12-10 10:56:58 +00:00
Aleks Totic
101f93ee31 Bug 1680854 [wpt PR 26766] - [TablesNG] Columns take precedence in table-layout:fixed, a=testonly
Automatic update from web-platform-tests
[TablesNG] Columns take precedence in table-layout:fixed

Inside table-layout:fixed, columns always take precedence
over cells.

Updated wpt column widths test.

Bug: 958381, 832323
Change-Id: I07e682d9e41218774889d9517a0e4d652bbecd68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575724
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833995}

--

wpt-commits: b464d69274950c7707855c0b29729d58b9a8d492
wpt-pr: 26766
2020-12-10 10:56:58 +00:00
Chris Dumez
ff4fcd7e20 Bug 1680385 [wpt PR 26730] - Add flakiness for webaudio/the-audio-api/the-audiobuffer-interface/ct…, a=testonly
Automatic update from web-platform-tests
Add flakiness for webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html (#26730)

The order of 2 checks done in the tests is undeterministic, causing PASS lines to be printed in
in an inconsistent order and leading to flakiness in WebKit test suite. This patch does the
checks in a deterministic order to address the issue.

Co-authored-by: Chris Dumez <cdumez@apple.com>
--

wpt-commits: 2ab8d794f0c48068703f4d9769bf693ac5b52a3f
wpt-pr: 26730
2020-12-10 10:56:58 +00:00
moz-wptsync-bot
dcad070f92 Bug 1680457 [wpt PR 26738] - Update wpt metadata, a=testonly
wpt-pr: 26738
wpt-type: metadata
2020-12-10 10:56:57 +00:00
Francois Beaufort
36b92ac447 Bug 1680457 [wpt PR 26738] - [PTZ] Copy image capture settings when cloning MediaStreamTrack, a=testonly
Automatic update from web-platform-tests
[PTZ] Copy image capture settings when cloning MediaStreamTrack

This CL makes sure all ImageCapture related capabilities, constraints,
and settings are copied to the cloned MediaStreamTrack. This wasn't the
case before.

Bug: 934063
Change-Id: I783d0804e56f46152e1ba02255ff454dd1ba76aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567917
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#833827}

--

wpt-commits: bdffc9f6f513baccaf98efa18eb74a2c0232cc82
wpt-pr: 26738
2020-12-10 10:56:57 +00:00
Miyoung Shin
966f6525a4 Bug 1680774 [wpt PR 26159] - [selectors4] Implement :dir pseudo-class, a=testonly
Automatic update from web-platform-tests
[selectors4] Implement :dir pseudo-class

This patch adds support for the new ":dir" pseudo-class.

The patch is covered by several of tests imported from the web tests
including generic tests in addition to the tests from Firefox and
apart from some minor changes on current tests to add the new selector.

Intent-to-ship thread is available at:
https://groups.google.com/u/1/a/chromium.org/g/blink-dev/c/p0Wc66rbVOc

BUG=576815

Change-Id: I503c6af95d9c5817e3e71b1b2025a5562929f0d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2460849
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833712}

--

wpt-commits: 7741972130489134a88f7873fe9fd0430f33784d
wpt-pr: 26159
2020-12-10 10:56:56 +00:00
Nidhi Jaju
0b4bfd6d11 Bug 1680208 [wpt PR 26714] - Add support for ReadableStreamBYOBReader & ByteStreamController, a=testonly
Automatic update from web-platform-tests
Add support for ReadableStreamBYOBReader & ByteStreamController

This CL adds the main implementation for supporting BYOB readers
and byte stream controllers for readable streams according to
the Streams API standard[1]. As added in previous CLs, this is
done using polymorphism where there are two base classes:
- ReadableStreamGenericReader, and
- ReadableStreamController
which the default/BYOB readers and default/byte stream controllers
inherit from. This approach is further elaborated upon in detail
in the design document[2].

The three main classes that implementation was added for in
this CL are:
1. ReadableStreamBYOBReader
2. ReadableByteStreamController
3. ReadableStreamBYOBRequest

This CL also includes:
- new GetBYOBReader unittest
- UnderlyingSource WebIDL files [3]
among other things for adding the functionality of supporting
readable byte streams.

[1] https://streams.spec.whatwg.org/
[2] https://docs.google.com/document/d/1rvKpGjppeqRSWntokY-ft_hU2i2us8gis6zgrrLWSTI/view#
[3] https://streams.spec.whatwg.org/#underlying-source-api

Bug: 614302
Change-Id: I380258453e6fd5d617810e21fa8996f8f08b26f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537281
Commit-Queue: Nidhi Jaju <nidhijaju@google.com>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833711}

--

wpt-commits: 274af4bd211a011849d035eaeb768d0f447208d9
wpt-pr: 26714
2020-12-10 10:56:56 +00:00
Austin Sullivan
cf2b278114 Bug 1680292 [wpt PR 26721] - Add restrictions to allowed extensions for File System Access API, a=testonly
Automatic update from web-platform-tests
Add restrictions to allowed extensions for File System Access API

These restrictions apply to showOpenFilePicker and showSaveFilePicker.

Existing restriction:
- Extension must start with "."

New restrictions:
- Allowed code points: [A-Za-z0-9+.]
- Extension length cannot exceed to 16, inclusive of leading "."
- Extension cannot end with "."
- Extension cannot end with "local" or "lnk"

Bug: 1137247, 1140410, 1140417, 1152327
Change-Id: I593f7ca60e05177402885bd3026add16b3a07d0c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568534
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833695}

--

wpt-commits: eb572878163035359e8480d439e7aeb224e51802
wpt-pr: 26721
2020-12-10 10:56:55 +00:00
Andreu Botella
5428ab213b Bug 1680562 [wpt PR 26747] - Add tests for form newline normalization in filenames, a=testonly
Automatic update from web-platform-tests
Add tests for form newline normalization in filenames

--

wpt-commits: a8fad46bc951b7270eb9d92ee3f8875b7245ef3b
wpt-pr: 26747
2020-12-10 10:56:55 +00:00
Adam Rice
033943ace0 Bug 1680047 [wpt PR 26698] - Correctly handle detach during (de)compression, a=testonly
Automatic update from web-platform-tests
Correctly handle detach during (de)compression

Sometimes CompressionStream and DecompressionStream enqueue multiple
output chunks for a single input chunk. When this happens, JavaScript
code can detach the input ArrayBuffer while the stream is processing it.
This will cause an error when zlib tries to read the buffer again
afterwards.

To prevent this, buffer output chunks until the entire input chunk has
been processed, and then enqueue them all at once.

Bug: 1151298
Change-Id: I03fca26fc641d54b09067e3994b76ee8efca6839
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567539
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833659}

--

wpt-commits: 0f98fe9643ca13faec61bce35e40f0d676011745
wpt-pr: 26698
2020-12-10 10:56:55 +00:00
moz-wptsync-bot
f70aae1fef Bug 1680370 [wpt PR 26728] - Update wpt metadata, a=testonly
wpt-pr: 26728
wpt-type: metadata
2020-12-10 10:56:54 +00:00
Lan Wei
f3672461a6 Bug 1680370 [wpt PR 26728] - Simulate user inputs in pointerevent_fractional_coordinates.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in pointerevent_fractional_coordinates.html

Use testdriver Action API to simulate mouse and touch actions in
pointerevents/pointerevent_fractional_coordinates.html.

Bug: 1145677
Change-Id: I8ec66844c7662a88b9e7cb3d792778e9b6df6f57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568605
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833597}

--

wpt-commits: 35450a5d2eb710e579c1554872247fa3eae7b5e9
wpt-pr: 26728
2020-12-10 10:56:54 +00:00
Emilio Cobos Álvarez
9c5e37f7c2 Bug 1681095 - Add a privileged API to tell the print dialog whether a selection belongs to the previewed page vs. an iframe. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D98991
2020-12-10 10:52:41 +00:00
Christian Holler
ff8639f997 Bug 1681681 - Call JS_ShutDown when libFuzzer exits in JS. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D99325
2020-12-10 10:25:01 +00:00
Jon Coppeard
ebbac14d74 Bug 1677765 - Perform arena unmarking concurrently r=sfink
This adds a new background task for unmarking which gets kicked off in the
first GC slice. There's a new explicit 'prepare' state for both the GCRuntime
and zones. The GC proper starts in a second (or later) slice when this has
finished.  Because of this we have to be a bit careful when checking GC
state because the 'prepare' state is not part of the GC from the point of view
of snapshot-at-the-beginning.

I had to update a bunch of test code that assumed that GC started in the mark
state.

This fixes cancelleling a parallel task in the case that the task was idle so
that it doesn't leave the cancel flag set.

Also it stops us sending telemetry about how much was collected in GCs that
were reset as we don't always have the data for the original heap sizes by this
point if the reset happened while we were in the prepare phase.

Finally there's a new zeal mode to test this, named YieldBeforeRootMarking
(slightly confusing but in line with the other modes).

Differential Revision: https://phabricator.services.mozilla.com/D98481
2020-12-10 10:14:01 +00:00
Jan de Mooij
4efdce1a1d Bug 1673553 part 97 - Remove more object pre-tenuring code. r=jonco
We can bring this back in the future if needed.

Differential Revision: https://phabricator.services.mozilla.com/D99225
2020-12-10 09:55:08 +00:00
Jan de Mooij
525b22493c Bug 1673553 part 96 - Remove unused GuardGroupHasUnanalyzedNewScript CacheIR op. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D99224
2020-12-10 09:55:05 +00:00
Jan de Mooij
5962800f6d Bug 1673553 part 95 - Remove BaselineCacheIRStubKind. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D99223
2020-12-10 09:54:58 +00:00
Jan de Mooij
0371be7c05 Bug 1673553 part 94 - Remove callTypeUpdateIC, clean up callers. r=iain
The callers no longer need fixed registers, which should improve codegen a little.

In emitStoreDenseElementHole we can simplify the handleAdd case by merging the
"before type update IC" and "after type update IC" code.

In emitArrayPush use AutoOutputRegister, the old code loaded the value in R0 and
then relied on that register matching the IC's output register.

Differential Revision: https://phabricator.services.mozilla.com/D99222
2020-12-10 09:54:50 +00:00
Jan de Mooij
2535397b3c Bug 1673553 part 93 - Remove group-changing code from AddSlot ops. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D99221
2020-12-10 09:54:47 +00:00