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

742707 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 4dde3238fa Bug 1689572 - [devtools] Re-enable browser_animation_fission_switch-target.js r=ladybenko
The blocking bug 1611096 was resolved some time ago

Differential Revision: https://phabricator.services.mozilla.com/D103460
2021-01-29 14:59:28 +00:00
Julian Descottes f682e58f62 Bug 1689561 - [devtools] Remove unused isResponsiveDesignMode flag r=nchevobbe,mconley
This flag is no longer set anywhere since the old RDM implementation was removed in https://bugzilla.mozilla.org/show_bug.cgi?id=1585084

Differential Revision: https://phabricator.services.mozilla.com/D103459
2021-01-29 14:58:55 +00:00
Bryce Seager van Dyk d49006a0f4 Bug 1689266 - Extend MEDIA_MKV_CANPLAY_REQUESTED probe collection. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D103338
2021-01-28 20:29:34 +00:00
Bogdan Tara 0878c2f990 Backed out changeset 5dcce2988489 (bug 1689403) for load-nonsyntactic.js failures CLOSED TREE 2021-01-29 16:43:19 +02:00
Julian Descottes 9e73accb3e Bug 1689559 - [devtools] Remove devtools.target-switching.enabled preference r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D103452
2021-01-29 14:37:21 +00:00
Emilio Cobos Álvarez ab8b88783f Bug 1689355 - Prevent uneven checkbox margin from growing the line with the non-native theme. r=spohl
The non-native theme does two things which, combined, cause this test to
fail.

The first one is that it has slightly bigger checkboxes than other
themes (14px vs. 13px).

The second one is that it has a 2px widget-imposed border, like Mac:

    https://searchfox.org/mozilla-central/rev/0dfbe5a699cc6c73cf8c14d1aa10ba10ef3ec8fa/widget/nsNativeBasicTheme.cpp#1367-1369

Which causes its baseline to go down by that amount. This was done
intentionally in bug 1675389, though I guess it could be reconsidered.

These two things combined make the checkbox grow the line slightly in
this test-case, causing the elements to move 1px apart.

The test is intended to check that the baseline calculation of a
checkbox/radio is correct, which it is, so prevent that undesired side
effect by resetting the margin to zero.

Differential Revision: https://phabricator.services.mozilla.com/D103324
2021-01-29 14:16:18 +00:00
Emilio Cobos Álvarez 0a06c5acab Bug 1689343 - Enlarge the iframe viewport in bug1448730.html. r=spohl
Without this the non-native theme fails the last assertion of the test.

I couldn't reproduce locally but the word that it's supposed to be
selected is very close to being out of the iframe viewport on my
machine, so it'd make sense if the new non-native theme, which has a bit
more padding, causes the word to move a bit further down.

I've confirmed this fixes the issue.

Differential Revision: https://phabricator.services.mozilla.com/D103317
2021-01-29 14:31:32 +00:00
Tooru Fujisawa 350b9c52f0 Bug 1689102 - Part 2: Refactor AbstractScopePtr not to hold Scope pointer. r=mgaudet
Instead of accessing Scope from AbstractScopePtr, pre-calculate necessary
information in ScopeContext.

Also removed GCThingList.stencil field that's now unnecessary.

Depends on D103453

Differential Revision: https://phabricator.services.mozilla.com/D103454
2021-01-29 13:39:19 +00:00
Tooru Fujisawa a2bd47351d Bug 1689102 - Part 1: Reorder ScopeContext fields to reduce padding. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D103453
2021-01-29 13:18:00 +00:00
André Bargull 6ae41c9162 Bug 1689294: Update tzdata in ICU data files to 2021a. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103281
2021-01-29 14:25:21 +00:00
Julian Descottes 89b9f9f096 Bug 1687645 - [devtools] Try/catch calls to legacy resource listeners r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D103176
2021-01-28 13:14:44 +00:00
Mitchell Hentges 776d206d6b Bug 1683797: Removes unnecessary lines from client.mk r=sheehan,firefox-build-system-reviewers,glandium
CWD and BUILDSTATUS are never used, and core-detection happens within
`mach`.

Differential Revision: https://phabricator.services.mozilla.com/D102661
2021-01-29 14:16:50 +00:00
Bogdan Tara d2a9feb234 Backed out changeset 58936f707b78 (bug 1686652) for wormhole related failures CLOSED TREE 2021-01-29 16:20:16 +02:00
Matthew Gaudet 397dd8a2ff Bug 1689403 - Support envChainObject in combination with loadBytecode in shell evaluate builtin r=arai
Included is a test case that makes use of this newfound capability.

Differential Revision: https://phabricator.services.mozilla.com/D103344
2021-01-29 14:12:03 +00:00
Chris H-C be464e252b Bug 1681472 - Re-enabled MeasureInitializeTime test r=janerik
Remove the flipping of the data pref during FOG init test because, with the
dispatcher now a part of the RLB, this isn't something we should test at this
level.

Differential Revision: https://phabricator.services.mozilla.com/D103379
2021-01-29 10:55:11 +00:00
Jan Varga ccef31f31a Bug 1680275 - LSNG: Change gDatastores to use NotNull; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D99198
2021-01-28 21:24:40 +00:00
Emilio Cobos Álvarez f467ea41bc Bug 1689317 - Clipboard events should be composed. r=smaug
Automate some of the copy event tests which tested for this, since there
seems we/WPT don't have a lot of coverage for them.

Differential Revision: https://phabricator.services.mozilla.com/D103428
2021-01-29 13:30:40 +00:00
Julian Descottes c61e417a18 Bug 1688569 - [devtools] Watch DOM mutation breakpoints on all targets r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D103072
2021-01-29 13:37:47 +00:00
Tom Ritter 692a5351d2 Bug 1688800: Carve out more edge cases for javascriptLoad restrictions, and let Telemetry ride the trains r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D103043
2021-01-29 13:35:31 +00:00
Cosmin Sabou 39960420a1 Bug 1686114 - Lint fix on build-clang.py. a=lint-fix 2021-01-29 15:43:10 +02:00
Lars T Hansen 71d7e9fb76 Bug 1686652 - Generalize the SIMD wormhole. r=yury
Generalize the SIMD wormhole to both x86 and x64, and both baseline
and Ion, so that we can start experimenting with it on a broader
scale.

Change the config so that the feature will ride the trains,
preffed-off bydefault (the current setting).

Differential Revision: https://phabricator.services.mozilla.com/D101709
2021-01-29 13:28:09 +00:00
Tom Ritter 7aba583f22 Bug 1686114: Fix build-clang.py's --skip-checkout argument r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D101397
2021-01-13 22:49:52 +00:00
prathiksha 6f95e57b2f Bug 1687827 - Update pocket and highlights card box shadow and border radius if newNewtabExperience is enabled. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D102525
2021-01-29 12:03:54 +00:00
stransky cf17e8e30d Bug 1631061 [Wayland] Clear clipboard content when gtk_clipboard_request_contents() fails, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D103461
2021-01-29 11:40:27 +00:00
Jan de Mooij 574e588109 Bug 1689581 - Disable large-buffers jit-tests on TSan builds. r=jwalden
This fixes frequent and mysterious failures for the SM(tsan) job.

Differential Revision: https://phabricator.services.mozilla.com/D103463
2021-01-29 11:29:57 +00:00
Mark Banner abafccf4d7 Bug 1687650 - Rework Lint and ESLint document pages to provide a better layout and more information for ESLint itself. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D103168
2021-01-29 09:09:12 +00:00
Anurag Kalia 0552856184 Bug 1689282: Fix typo in devtools/docs/files/adding-files.md r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D103350
2021-01-29 09:52:51 +00:00
Mirko Brodesser ab4314f6af Bug 1688832: part 6) Hide `AccessibleCaretManager::Carets::mFirst`, `mSecond`. r=smaug
Helps to see that they're never replaced with new instances.

Differential Revision: https://phabricator.services.mozilla.com/D103313
2021-01-29 09:46:09 +00:00
Mirko Brodesser cff5e50b61 Bug 1688832: part 5) Add `AccessibleCaretManager::Carets::GetSecond`. r=smaug
Depends on D103311

Differential Revision: https://phabricator.services.mozilla.com/D103312
2021-01-28 17:28:19 +00:00
Mirko Brodesser b0ddf0f1e6 Bug 1688832: part 4) Add `AccessibleCaretManager::Carets::GetFirst`. r=smaug
Will help to hide the `UniquePtr`s.

Depends on D103310

Differential Revision: https://phabricator.services.mozilla.com/D103311
2021-01-29 09:26:47 +00:00
Kershaw Chang 6cc1ec1655 Bug 1688945 - Make sure we don't query HTTPS RR when we already have one r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103348
2021-01-28 19:34:41 +00:00
Joel Maher c8cca1ef20 Bug 1683110 - run compiled tests as python 3 r=aki
run compiled tests w/python3

Differential Revision: https://phabricator.services.mozilla.com/D102619
2021-01-28 18:10:56 +00:00
Mirko Brodesser 97b7bf74f3 Bug 1688832: part 3) Add `AccessibleCaretManager::Carets::HasVisuallyVisibleCaret`. r=smaug
Depends on D103309

Differential Revision: https://phabricator.services.mozilla.com/D103310
2021-01-28 17:20:35 +00:00
Mirko Brodesser 8585eb61e5 Bug 1688832: part 2) Add `AccessibleCaretManager::Carets::HasLogicallyVisibleCaret`. r=smaug
Depends on D103308

Differential Revision: https://phabricator.services.mozilla.com/D103309
2021-01-28 17:02:40 +00:00
Mirko Brodesser 2ca0daf525 Bug 1688832: part 1) Encapsulate `AccessibleCaretManager::mFirstCaret`, `mSecondCaret` in `mCarets`. r=smaug
They belong together.

Depends on D103307

Differential Revision: https://phabricator.services.mozilla.com/D103308
2021-01-28 17:01:46 +00:00
Mirko Brodesser 1d42184140 Bug 1688832: part 0) Delete copy-constructor and copy-assignment operator of `AccessibleCaretManager::LayoutFlusher`. r=smaug
Safer.

Differential Revision: https://phabricator.services.mozilla.com/D103307
2021-01-28 16:42:24 +00:00
pawanverma1812 9d84cab460 Bug 1688503 - nsFirstLetterFrame.cpp: do not use 'else' after 'return' r=sylvestre
Removed the 'else' statement to resolve clang-tidy warning.

Differential Revision: https://phabricator.services.mozilla.com/D103347
2021-01-28 17:26:04 +00:00
Henri Sivonen 4da9196207 Bug 1689541 - Review comment fixup for bug 476384. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D103443
2021-01-29 08:51:16 +00:00
Xidorn Quan ac3ecbadd3 Bug 1688439 - Update several Rust dependencies with known vulnerabilities reported by cargo audit. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D102850
2021-01-29 07:19:58 +00:00
Joel Maher da90f2d1f7 Bug 1689389 - skip js/src/jit-test/tests/gc/bug-1565272.js to avoid android issues. r=jandem
skip js/src/jit-test/tests/gc/bug-1565272.js to avoid android issues with timeout and hung devices

Differential Revision: https://phabricator.services.mozilla.com/D103386
2021-01-29 08:02:14 +00:00
Jan Varga 6543a55a77 Bug 1681469 - Allow nsBaseHashtable to work with a non-default-constructible/non-movable DataType; r=nika
nsBaseHashtable now supports non-default-constructible DataType and
UserDataType, however not all methods can be instantiated.  All methods which
can't be instantiated with non-default-constructible DataType or UserDataType
are now described as such in method definitions.

The public API of PLDHashTable and nsBaseHashtable/nsDataHashtable was changed:
- A new method PLDHashTable::WithEntryHandle has been added. It allows to use a
  custom function for entry initialization (instead of the global hook).
- A new method nsBaseHashtable::MaybeGet has been added.
- A new overload nsBaseHashtable::Remove has been added.
- The nsDataHashtable::GetAndRemove method has been pulled up to
  nsBaseHashtable.

In addition, the following implementation details have changed:

PLDHashTable:
- The code from the Add method has been split into MakeEntryHandle and a helper
  object called EntryHandle. The Add method is now implemented on top of that.

nsTHashtable:
- A new (non-public) API for WithEntryHandle has been added.
- The InitEntry hook is no longer used. Instead of using the hook, PutEntry
  methods now use nsTHashtable::WithEntryHandle instead of PLDHashTable::Add.
  This change allows to do custom initialization in derived classes.

nsBaseHashtable:
- A new (non-public) API for WithEntryHandle has been added.
- Put methods no longer use nsTHashtable::PutEntry, they now use the new method
  nsBaseHashtable::WithEntryHandle.

Differential Revision: https://phabricator.services.mozilla.com/D99428
2021-01-29 08:39:40 +00:00
David Burns 3cc69b8cc4 Bug 1687021: Allow connection header names to be case insensitive. r=remote-protocol-reviewers,whimboo
Some client bindings will send over the headers with either a capital
first letter and some might not. We need to handle all cases

Differential Revision: https://phabricator.services.mozilla.com/D103384
2021-01-29 08:17:38 +00:00
Bas Schouten 74b40cd436 Bug 1688694: Use faster XorShift128PlusRNG for RandomMidpoint. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D102995
2021-01-29 08:10:39 +00:00
Jan de Mooij 77aeac4ab2 Bug 1687441 part 23 - Add JIT support for large buffers. r=anba
This switches all CacheIR and MIR instructions that use a TypedArray or DataView
index from Int32 to IntPtr.

The int32-index and non-int32-index cases in the GetElem/SetElem/In CacheIR generators
are now unified into a single method. This way it's easy to see that in-bounds Int32
and Double indexes are handled exactly the same way.

The IRGenerators call IRGenerator::guardToIntPtrIndex to convert key values to an
IntPtrOperandId. All TypedArray/DataView accesses optimized by CacheIR go through
there now.

The GuardToTypedArrayIndex CacheIR and MIR instruction is replaced with a similar
GuardNumberToIntPtrIndex instruction. It accepts a Number instead of a Value.

Differential Revision: https://phabricator.services.mozilla.com/D102739
2021-01-29 07:23:37 +00:00
Jan de Mooij cebe3916ae Bug 1687441 part 22 - Guard against int32 overflow in offset computations. r=anba
Adds useRegisterOrIndexConstant to check this during lowering, and also uses
ArrayOffsetFitsInInt32 in codegen to assert no overflow.

Differential Revision: https://phabricator.services.mozilla.com/D103154
2021-01-27 14:54:10 +00:00
Jan de Mooij b843bb5900 Bug 1687441 part 21 - Change Atomics VM functions to take index as size_t instead of int32_t. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D102738
2021-01-27 10:47:00 +00:00
Jan de Mooij 906ee87946 Bug 1687441 part 20 - Support bounds check optimizations when the index is MInt32ToIntPtr. r=anba,iain
Differential Revision: https://phabricator.services.mozilla.com/D102737
2021-01-28 18:25:08 +00:00
Jan de Mooij 817031627d Bug 1687441 part 19 - Add IntPtr support to MBoundsCheck and MSpectreMaskIndex. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D102736
2021-01-27 12:56:58 +00:00
Tooru Fujisawa 642d1b770a Bug 1689333 - Remove obsolete comment about stencil merge. r=tcampbell
Depends on D103321

Differential Revision: https://phabricator.services.mozilla.com/D103322
2021-01-28 15:56:47 +00:00
Tooru Fujisawa 9308c23a0c Bug 1666974 - Rename wasFunctionEmitted to wasEmittedByEnclosingScript. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103321
2021-01-29 03:37:54 +00:00