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

668313 Коммитов

Автор SHA1 Сообщение Дата
James Teh 681ed6270e Bug 1575749: Implement toolbar navigation by typed character. r=Gijs
When focused on a toolbar button, users can now type the first (or first few) characters of another button's name to jump directly to that button.
The search characters are cleared after 1 second or if a non-character key is pressed.
This is similar to the typed character navigation implemented for HTML select controls.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:36:53 +00:00
Nick Thomas f03bae30af Bug 1577664 - pass product version to the complete mar generation script, r=Callek
MOZ_FULL_PRODUCT_VERSION is only used here, while tools/update-packaging/make_full_update.sh expects MOZ_PRODUCT_VERSION.

Depends on D44089

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

--HG--
extra : moz-landing-system : lando
2019-08-30 01:35:08 +00:00
James Teh 49d8452868 Bug 1574286: When adding a remote child document, if the parent proxy doesn't exist yet, defer adding until it does. r=eeejay
For OOP iframes, sometimes, AddChildDoc gets called before the embedder sends us the OuterDocAccessible.
Previously, we crashed when this occurred.
Now, we add the child when the OuterDocAccessible proxy gets created later.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:32:55 +00:00
Noemi Erli 3580659d00 Backed out changeset 464a2ec59a58 (bug 1577664) for causing gecko decision task failure 2019-08-30 06:29:25 +03:00
Nick Thomas 6917a454d8 Bug 1577664 - mar-tools toolchain should depend on milestone.txt, r=Callek
The mar utility stores MOZ_APP_VERSION as the default Product Version for mar creation. So mar should be rebuilt whenever the milestone changes.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 01:39:57 +00:00
Daisuke Akatsuka 55b657cc4d Bug 1543782: Add test for the shortcut key which shows the suggest completion popup. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43723

--HG--
extra : moz-landing-system : lando
2019-08-30 03:15:13 +00:00
Daisuke Akatsuka db9b78e4a5 Bug 1543782: Add tests in case of empty. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43722

--HG--
extra : moz-landing-system : lando
2019-08-30 03:15:06 +00:00
Daisuke Akatsuka cfdc89eea3 Bug 1543782: Show the suggestions in case that the css value becomes empty for new rule inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43721

--HG--
extra : moz-landing-system : lando
2019-08-30 03:14:57 +00:00
Daisuke Akatsuka b70e8558dd Bug 1543782: Show the suggestions when user presses ctrl+space. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43720

--HG--
extra : moz-landing-system : lando
2019-08-30 03:14:55 +00:00
Daisuke Akatsuka 261e5bbfea Bug 1543782: Show the suggestions in case that the css value becomes empty. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43719

--HG--
extra : moz-landing-system : lando
2019-08-30 03:14:53 +00:00
Bogdan Tara 89d98a3a0a Backed out 9 changesets (bug 1518210) for hazard failure on ArrayBufferObject.cpp CLOSED TREE
Backed out changeset 6e2e9274465d (bug 1518210)
Backed out changeset 39fc18ada840 (bug 1518210)
Backed out changeset b88d66dddeff (bug 1518210)
Backed out changeset 40e3f38af193 (bug 1518210)
Backed out changeset 777aa22c9e8a (bug 1518210)
Backed out changeset eb3fbf8bfb2b (bug 1518210)
Backed out changeset dc63fd0bbe58 (bug 1518210)
Backed out changeset 12ea41537e05 (bug 1518210)
Backed out changeset 4c8fe76ad293 (bug 1518210)
2019-08-30 06:12:06 +03:00
lesleynorton f9cc58030c Bug 1550122: Show errors in aboutLogins UI. r=MattN,fluent-reviewers,ntim,flod
Differential Revision: https://phabricator.services.mozilla.com/D42705

--HG--
extra : moz-landing-system : lando
2019-08-30 03:02:11 +00:00
Ryan Hunt c1bc991a46 Bug 1518210 - Wasm: Don't run --wasm-disable-huge-memory if the platform doesn't support huge memory. r=lth
This commit extends the jit-test runner to support
'skip-variant-if: $FLAG, $COND', and uses this to not run
'--wasm-disable-huge-memory' tests when the platform doesn't support huge
memory.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:34:10 +00:00
Ryan Hunt a1b2f83793 Bug 1518210 - Wasm: Make wasm::IsHugeMemoryEnabled() a component of the BuildID for correct invalidation of cached code. r=lth
We can't deserialize code that doesn't contain bounds checks if we have
dynamically switched to not using huge memory. This commit uses BuildID to
invalidate cached code correctly.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:33:56 +00:00
Ryan Hunt b16d363657 Bug 1518210 - Wasm: Conditionally create huge memory's based on wasm::IsHugeMemoryEnabled. r=lth
This commit modifies WasmMemoryObject, ArrayBufferObject,
SharedArrayBufferObject to support conditionally using huge memory based on the
global flag.

The memory logic is fairly involved and entangled, making this change a bit
tricky.

The following changes were made:

* Stopped conditionally compiling huge memory constants and prefixed them with `Huge`
* Stopped conditionally compiling `ExtendBufferMapping` and `wasmMovingGrowToSize`
* Renamed `CreateBuffer` to `CreateSpecificWasmBuffer`
	* For clarity
* Moved maxSize clamping into `CreateSpecificWasmBuffer`
	* Lets us keep one callsite to `wasm::IsHugeMemoryEnabled` during memory creation
* Moved mappedSize computation out of `RawbufT::Allocate` to `CreateSpecificWasmBuffer`
	* Lets us keep one callsite to `wasm::IsHugeMemoryEnabled` during memory creation
* Moved `boundsCheckLimit` computation from `ArrayBufferObjectMaybeShared` to `WasmMemoryObject`
	* Lets WasmMemoryObject be responsible for knowing whether it is 'huge' or not
* Added method to determine if a `WasmMemoryObject` is huge or not
	* Lets use know whether we support `movingGrow` or have a `boundsCheckLimit`
* Refactored `WasmMemoryObject::grow` to have one callsite to `wasmMovingGrowToSize`
	* For clarity
* Added release assert in `Module::instantiateMemory`
	* Ensures we have a huge memory or bounds checks if needed

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:38:20 +00:00
Ryan Hunt 469c582fd5 Bug 1518210 - Wasm: Conditionally compile bounds checks based on wasm::IsHugeMemoryEnabled. r=lth
This commit allows us to conditionally compile bounds checks based on runtime
support for huge memory.

New flags to CompileArgs and CompilerEnvironment are added for whether we are
using huge memory or not, and computed based on the global flag.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:33:27 +00:00
Ryan Hunt 5d32d4c9b7 Bug 1518210 - Wasm: Rename WASM_HUGE_MEMORY to WASM_SUPPORTS_HUGE_MEMORY. r=lth
To highlight that WASM_HUGE_MEMORY doesn't imply we are using huge memory, this
commit renames the #define.

Most usages of WASM_HUGE_MEMORY are not updated, as they will be removed in
later commits.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:33:13 +00:00
Ryan Hunt bf066f7629 Bug 1518210 - Wasm: Add pref/flag boilerplate for making WASM_HUGE_MEMORY a runtime decision. r=lth
This commit is the boilerplate for making WASM_HUGE_MEMORY a runtime decision.

Because WasmModule's can be passed across threads with `postMessage`, we need
to make this decision once per process. The support for this kind of flag seems
ad-hoc, so I stubbed in a global flag in WasmProcess.

A new 'javascript.options.wasm_disable_huge_memory' pref and
'--disable-wasm-huge-memory' JS shell flag are added. These have no effect if
the current platform doesn't support huge memory.

Tests and fuzzing flags are modified to also test with these new flags.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:36:32 +00:00
Ryan Hunt 442874c425 Bug 1518210 - Wasm: Remove unused wasm::DeserializeModule API. r=luke
This API is no longer used by IndexDB and can be removed.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:32:44 +00:00
Ryan Hunt bda6e43374 Bug 1518210 - Wasm: Bounds checking support for ARM64. r=lth
The only observed change needed to get bounds checking working on ARM64 was to
implement `wasmBoundsCheck` in MacroAssembler-arm64.

ARM64 doesn't support predicated instructions like ARM32, so to support spectre
mitigations `wasmBoundsCheck` emits a 'csel' instruction. I'm not familiar with
how ARM performs speculative execution or how spidermonkey mitigates it, so this
was only a guess.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:35:42 +00:00
Ryan Hunt 21846c8c78 Bug 1518210 - Wasm: Bounds checking support for x64. r=lth
x86_64 can re-use MacroAssembler-x86-shared for its wasmBoundsCheck, and so it
doesn't require any new assembler code.

It does require a small baseline compiler change to ensure that TlsData is
loaded if we are going to do a bounds check.

I tested this commit with a x64 try run and manually disabling WASM_HUGE_MEMORY.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 02:32:21 +00:00
Cosmin Sabou 8e67053a0c Bug 1576933 - Update test expectations given the failure rate. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D44087

--HG--
extra : moz-landing-system : lando
2019-08-30 02:12:02 +00:00
David Walsh 187b9f7d6d Bug 1577268 - Add vue extension to list of javascript mode extensions r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D43981

--HG--
extra : moz-landing-system : lando
2019-08-30 00:44:31 +00:00
Bogdan Tara 552e15effe Backed out changeset 1d1b7070291c (bug 1577000) for browser_918049_skipintoolbarset_dnd.js failures CLOSED TREE 2019-08-30 04:58:07 +03:00
Eitan Isaacson 1a3b5051f6 Bug 1576549 - Use bounds in bundle argument instead of getter method. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D44041

--HG--
extra : moz-landing-system : lando
2019-08-30 01:29:31 +00:00
Noemi Erli 178d154900 Backed out changeset 92848bd0c1e0 (bug 1561964) for dom/security android mochitest failures 2019-08-30 04:05:45 +03:00
Geoff Brown dee3c435aa Bug 1575652 - Show test skip counts in 'mach test-info'; r=jmaher
Report both failures and skipped test counts.
(Also incidentally fixes platform name reporting of fission tests.)

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

--HG--
extra : moz-landing-system : lando
2019-08-29 23:30:29 +00:00
Cameron McCormack a1b17a4a25 Bug 1577389 - Return early from StyleCSSPixelLength::ToAppUnits for zero lengths. r=emilio
Zero lengths are common, and we can avoid doing all the FP math.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 22:19:36 +00:00
Mats Palmgren e45d08541b Bug 1576821 - [css-lists-3] Make 'none' invalid as a <counter-style> in counter()/counters(). r=emilio
CSSWG resolution:
https://github.com/w3c/csswg-drafts/issues/4163#issuecomment-521331100

Spec:
https://drafts.csswg.org/css-lists-3/#counter-functions

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

--HG--
extra : moz-landing-system : lando
2019-08-30 00:15:37 +00:00
Cosmin Sabou 03fd07af55 Bug 1568717 - Update test expectations cause of recent failures. a=test-only
--HG--
extra : rebase_source : 448b8ce93858e3821d01a38e3854e25f2b457945
extra : amend_source : d25424e4542ac56b7cde0d877075e9fc6165a6c0
2019-08-30 03:09:24 +03:00
Mats Palmgren 81134b078b Bug 1577364 - Remove the NS_TABLE_CELL_HAS_PCT_OVER_BSIZE frame bit since it's not used. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D43864

--HG--
extra : moz-landing-system : lando
2019-08-29 21:22:25 +00:00
harry 8f234ac35d Bug 1577000 - Fix Megabar breakout width on window resize. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D43674

--HG--
extra : moz-landing-system : lando
2019-08-30 00:10:43 +00:00
Dan Mosedale f5caa7f364 Bug 1567929 - enable newtab/messaging unit test builds for phab code review r=bastien
This causes the unit tests in browser/components/newtab to be run by Phabricator each time someone uploads a patch that touches those directories.  Once they've run (it can often take an hour or so to do the required Linux PGO build first), they will be visible as node(newtab) in the page linked to by "Treeherder Jobs" on the main review page.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 00:05:13 +00:00
Brian Hackett 55a87b9190 Bug 1529991 Part 2 - Avoid unnecessary delazification in the Debugger, r=jorendorff.
Differential Revision: https://phabricator.services.mozilla.com/D38801

--HG--
extra : moz-landing-system : lando
2019-07-26 02:19:30 +00:00
Brian Hackett cea4a22b91 Bug 1529991 Part 1 - Ensure Debugger.Script identity for scripts that can't be relazified, r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D38800

--HG--
extra : moz-landing-system : lando
2019-08-29 23:21:58 +00:00
Bogdan Tara eda418861e Backed out changeset acf99165d2fd (bug 1559975) for wptlint failure CLOSED TREE 2019-08-30 03:00:18 +03:00
Jeff Walden 6dfc6a5499 Bug 1577066 - Fix an implicit-conversion-changes-value warning with new-enough clang in Nursery.cpp by doing a less-than comparison with the actually-representable next higher value. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D43708

--HG--
extra : moz-landing-system : lando
2019-08-29 23:16:33 +00:00
Edwin Gao 1f7de4f614 Bug 1559975 - convert testing/web-platform to python3 compatible syntax r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D37101

--HG--
extra : moz-landing-system : lando
2019-08-29 23:04:43 +00:00
Noemi Erli e2fb7680c0 Backed out changeset fcaf8571985f (bug 1577066) for causing build bustages in Nursery.cpp CLOSED TREE
--HG--
extra : amend_source : 87d22aaa9eeafffb69b51385d9d0216f5d158231
2019-08-30 02:03:38 +03:00
Eric Rahm e678238a60 Bug 1569323 - Remove verbose warning in SetUserPass. r=mayhemer
This removes a rather verbose warning during URI mutation. This often
happens for use cases such as attempting to clear the field. Since `Finalize`
is marked as `MOZ_MUST_USE` we can be confident that any failures that used
to be warned about are properly handled.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 14:49:28 +00:00
Jeff Walden fba530c06e Bug 1577066 - Fix an implicit-conversion-changes-value warning with new-enough clang in Nursery.cpp by doing a less-than comparison with the actually-representable next higher value. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D43708

--HG--
extra : moz-landing-system : lando
2019-08-29 22:34:42 +00:00
Ehsan Akhgari d5e2f368cc Bug 1529396 - Fix another test CLOSED TREE
Bug #: 1529396

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

--HG--
extra : amend_source : 7445e9c7c4168365e363731dcc69b76a8bea3c20
2019-08-30 01:50:41 +03:00
Timothy Nikkel aebd0b6368 Bug 1553571. Pass the size of the display item to the StackingContextHelper constructor in nsDisplayTransform::CreateWebRenderCommands. r=jrmuizel
In FrameLayerBuilder::ChooseScale we hit this line https://searchfox.org/mozilla-central/rev/325c1a707819602feff736f129cb36055ba6d94f/layout/painting/FrameLayerBuilder.cpp#6124 and aVisibleRect is empty (because every call site except for nsDisplayMasksAndClipPaths::CreateWebRenderCommands (which doesn't need to) passes empty for the size of the bounds) and so the maxScale stays at 4, and we clamp to 4 instead of something 30-50.

The call to ChooseScale in StackingContextHelper::StackingContextHelper is the only place the size of aBounds is ever looked at. And we only ever call ChooseScale if we are passed a mBoundTransform which only nsDisplayTransform does. So this change should be quite safe.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 22:19:14 +00:00
Cosmin Sabou 8db046243a Bug 1547533 - Update test expectations because of recent failures. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D44062

--HG--
extra : moz-landing-system : lando
2019-08-29 22:17:12 +00:00
Cosmin Sabou c8c7d11025 Merge mozilla-central to autoland. 2019-08-30 00:54:47 +03:00
Cosmin Sabou 8a455faa3a Merge mozilla-inbound to mozilla-central. a=merge 2019-08-30 00:46:40 +03:00
Sylvestre Ledru 79eb5e12c6 Bug 1577629 - Rename job "cpp" to "cppunit" r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D44048

--HG--
extra : moz-landing-system : lando
2019-08-29 21:07:58 +00:00
Emilio Cobos Álvarez a98a4dc71b Bug 1577258 - Explicitly flush layout in an a11y test. r=eeejay
We have an optimization to avoid an expensive reflow from SetFullZoom, see
mSuppressResizeReflow[1].

That was done because we used to do a full synchronous reflow right after. We no
longer do that, but due to that member we also don't invalidate!

My second patch in this bug changes the behavior of that flag so that we don't
synchronously reflow, but we do invalidate. So in turn this test before the
change wasn't really testing the zoomed code-path since it was using the clean
layout from before the zoom operation.

a11y getBounds and co. don't flush layout (they probably should), but since with
my patch we dirty the frame tree, and dirty frames return bogus offsets, the
test starts failing.

Flush layout explicitly to ensure we're testing the zoomed code path.

[1]: https://searchfox.org/mozilla-central/rev/325c1a707819602feff736f129cb36055ba6d94f/layout/base/nsPresContext.cpp#952

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

--HG--
extra : moz-landing-system : lando
2019-08-29 21:25:12 +00:00
Andrew Halberstadt 7d9a18e3e7 Bug 1577588 - [taskgraph] Add an index route for shadow scheduler tasks, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D44027

--HG--
extra : moz-landing-system : lando
2019-08-29 21:26:22 +00:00
David Walsh b1d2b988c9 Bug 1577081 - Make blackbox work from frame context menu r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D43973

--HG--
extra : moz-landing-system : lando
2019-08-29 20:50:10 +00:00