Commit Graph

686455 Commits

Author SHA1 Message Date
Ted Campbell
3709e81afa Bug 1605648 - Use masm.loadJitCodeMaybeNoArgCheck for visitGenericCall. r=jandem
Use the same jitCodeRaw fallback strategy that visitKnownCall does to handle
potential lazy clones. We also stop allowing natives to flow into the
no-args-check case to avoid needing to guard against them.

Depends on D58097

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:38:25 +00:00
Ted Campbell
8b879a8735 Bug 1605648 - Factor out MacroAssembler::loadJitCodeMaybeNoArgCheck. r=jandem
When IonMonkey uses the no-arg-check entry point, we may still see lazy
function clones. In this case the no-arg-check entry point is unavailable,
but we can still fallback to the standard jitCodeRaw. This patch factors this
fallback behaviour out of visitCallKnown.

The new version guards the warmUpData tag bits instead of loading the
function flags. This makes it compatible with removing the INTERPRETED_LAZY
flag. In the future, the fallback case will no longer be necesarry once
delazification reuses the same script and all function clones delazify at
same time as their canonical one does.

Depends on D58096

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:38:16 +00:00
Ted Campbell
022ba3405a Bug 1605648 - Cleanup CodeGenerator::visitCallGeneric. r=jandem
Group the jitCodeRaw handling so it becomes simpler. By changing the scratch
register used by switchToObjectRealm we can move it later in code.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:38:14 +00:00
Ethan Glasser-Camp
7cd2a98da0 Bug 1606026: Move existing documentation into new locations r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58338

--HG--
rename : tools/docs/docs/contribute/mozilla_source_code_directory_structure.rst => docs/contributing/directory_structure.rst
rename : tools/docs/docs/contribute/how_to_contribute_firefox.rst => docs/contributing/how_to_contribute_firefox.rst
rename : tools/docs/docs/adding-documentation.rst => tools/moztreedocs/docs/adding-documentation.rst
rename : tools/docs/docs/index.rst => tools/moztreedocs/docs/index.rst
rename : tools/docs/docs/mdn-import.rst => tools/moztreedocs/docs/mdn-import.rst
extra : moz-landing-system : lando
2020-01-06 16:38:34 +00:00
Ethan Glasser-Camp
6f164aa98f Bug 1606026: Move documentation entry point to docs/ r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58552

--HG--
rename : tools/docs/conf.py => docs/conf.py
rename : tools/docs/config.yml => docs/config.yml
rename : tools/docs/index.rst => docs/index.rst
rename : tools/docs/jsdoc.json => docs/jsdoc.json
extra : moz-landing-system : lando
2020-01-06 16:14:11 +00:00
Ethan Glasser-Camp
0549c56796 Bug 1606026: move tools/docs code to tools/moztreedocs r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58337

--HG--
rename : tools/docs/Pipfile => tools/moztreedocs/Pipfile
rename : tools/docs/Pipfile.lock => tools/moztreedocs/Pipfile.lock
rename : tools/docs/moztreedocs/__init__.py => tools/moztreedocs/__init__.py
rename : tools/docs/_static/custom_theme.css => tools/moztreedocs/_static/custom_theme.css
rename : tools/docs/mach_commands.py => tools/moztreedocs/mach_commands.py
rename : tools/docs/moztreedocs/package.py => tools/moztreedocs/package.py
rename : tools/docs/moztreedocs/upload.py => tools/moztreedocs/upload.py
extra : moz-landing-system : lando
2020-01-06 16:29:21 +00:00
Dave Townsend
58a76da8ab Bug 1606334: Close notifications after they have been shown in test_alerts.html. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D58536

--HG--
extra : moz-landing-system : lando
2020-01-06 13:06:51 +00:00
Dave Townsend
3f0c6ba8fc Bug 1605997: Unregister notifications that are replaced by a new notification with the same name. r=jmathies
Showing a new notification with the same name of an existing notification
replaces the old notification so we must unregister it from Windows at that
point.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:08:14 +00:00
Dave Townsend
2ca21259af Bug 1605997: Send the finished notification when the notification is hidden. r=jmathies
Other platforms send out the finished notification when the notification is
programmatically cancelled. This patch ensures that finished is always sent.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:08:16 +00:00
Ciure Andrei
ef2196cab0 Backed out changeset 63f89c300859 (bug 1603140) for causing wasm related bustages CLOSED TREE 2020-01-06 18:31:33 +02:00
championshuttler
9f6bcf01b0 Bug 1576912 - Fix the sphinx UI Issue and update the redirects link.r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58691

--HG--
extra : moz-landing-system : lando
2020-01-06 16:17:38 +00:00
Thomas Nguyen
b4435e40e5 Bug 1603674 - Add a new API to check if permission delegation and Feature Policy are enabled r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57077

--HG--
extra : moz-landing-system : lando
2020-01-06 15:28:12 +00:00
Andreea Pavel
1665a50205 Backed out changeset cf0698d83783 (bug 1602033) for causing bug 1607230 on a CLOSED TREE
--HG--
extra : rebase_source : 0625162bf7d9ffa986c851b78ebda4c29993cd3f
2020-01-06 18:11:36 +02:00
Kate Hudson
dc4cd25468 Bug 1604867 - Optimize initial message filtering in handleMessageRequest r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D57655

--HG--
extra : moz-landing-system : lando
2020-01-06 15:38:09 +00:00
Sebastian Hengst
e2dd028d86 Backed out changeset bbd910f6301a because it only landed to build toolchains and docker images. CLOSED TREE DONTBUILD
It will be relanded once these are complete. This prevents from those tasks
getting scheduled for every push until the initial ones have been completed.
2020-01-06 17:09:20 +01:00
Justin Wood
3835fde8ca No Bug - Remove taskcluster.net references in the tree. r=aki CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D58297

--HG--
extra : amend_source : 0bcd812ae330be7a69ec60f60034533f15e58769
2020-01-03 20:52:34 +01:00
Andy Wingo
c1a3a3cbe5 Bug 1603140 - Multi-value returns in baseline wasm compiler r=lth
This patch implements one half of support for multi-value returns in the
baseline compiler.

The idea is that when you have a function that has stack return values,
it will receive an additional synthetic argument: a pointer to the stack
results area.  The layout of this area is the same as that understood by
BaseCompiler::pushBlockResults.

When compiling a function that has stack results, the stack result area
pointer will come in either in a register or on the stack.  If it's on
the stack we record that offset and will load a pointer at that offset
when returning values.  If the pointer is in a register, it gets spilled
to the stack after the spilled copies of previous register arguments.

When calling a function that has multiple return values, we bump the
stack pointer and pass an additional argument to the callee: the pointer
to that stack area.  After the call, in the baseline compiler, it may be
that we need to shuffle any stack results down, because incoming
arguments are consumed by the call.

Note that support for actually returning multiple values is not yet
implemented in this patch; we're just adding infra.  Also note that Ion
support isn't there yet either.  However all tests pass, because no
FuncType that has more than one result gets past the validator.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 15:45:28 +00:00
Sebastian Streich
cb5e45fc61 Bug 1601944 - Refactor nsDataDocumentContentPolicy.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D56186

--HG--
extra : moz-landing-system : lando
2020-01-06 15:30:35 +00:00
Ted Campbell
326df40050 Bug 1606960 - Use CollectScriptCoverage for getLCovInfo. r=nbp
This changes the implementation of getLCovInfo to use CollectScriptCoverage.
This uses the filename/funname information that was captured when the script
was created. This is what the browser ccov tasks use and this change allows
our tests to better test that mode.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 11:19:25 +00:00
Ted Campbell
0105860cd2 Bug 1606960 - Only allow getLCovInfo when LCov is enabled for process. r=nbp
Deprecate collecting coverage info onto LCovRealm without IsLCovEnabled being
set. This patch adds annotations to tests that need it. A subsequent patch
will remove the mode this tests relied on and they will instead test the same
pathways we use for browser ccov tasks.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 11:20:00 +00:00
Ted Campbell
1d9a2cd5de Bug 1606960 - Add isLcovEnabled() shell function. r=nbp
Also remove the test blacklist from jit_test.py and use 'skip-if' directives
in the relevant tests instead.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 11:19:37 +00:00
Ted Campbell
e6ba13329d Bug 1607079 - Fix test-also-no-wasm-baseline annotations in binast jit-tests. r=arai
This synchronizes some jit-test annotations to fix some warnings when running
the jit-tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 02:14:54 +00:00
Petru Lingurar
a978092dc0 Bug 1606806 - Expose uitelemetry in Mozilla Source Tree Docs; r=VladBaicu
Fennec's UI Telemetry user documentation should subsequently be available at
https://firefox-source-docs.mozilla.org/mobile/android/

Depends on D58599

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

--HG--
extra : moz-landing-system : lando
2020-01-06 15:50:42 +00:00
Petru Lingurar
120265dab9 Bug 1606806 - Mirror uitelemetry.rst and mma.rst changes from esr68; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D58599

--HG--
extra : moz-landing-system : lando
2020-01-06 15:50:14 +00:00
Molly Howell
469e70dc6d Bug 1601806 - Remove installer check for running instances before launching new instance. r=agashlin
At the end of any successful install, both the stub installer and full installer
(in interactive mode) attempt to launch the newly installed copy. But currently,
they first check if any copy of Firefox [1] is already running, and skip doing
that launch if so. The reason for this is that it used to be the case that no
two instances of Firefox could ever be running under default conditions because
there was only one default profile and it would be in use. It's clear that this
is the reason for the check because an exception is made for Developer Edition,
which had its own default profile and so wasn't subject to this restriction.

But now, we have per-install profiles by default, so there's no longer any need
to have this check, because launching the new instance won't be blocked by the
fact that there's already an instance running; all we're doing is creating
false positive prompts for something that isn't an issue anymore. So, this
patch removes the check and the prompt.

[1] At least that's the intent, but because of bug 1600905 we're actually now
checking for any Gecko-based product, because that's the best we can now do.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 21:40:07 +00:00
Boris Zbarsky
810b6b879b Bug 1601175. Make sure the mDoc of an inner window is set before we call SetScriptGlobalObject on the document. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D56218

--HG--
extra : moz-landing-system : lando
2020-01-06 14:53:00 +00:00
Nicolas Chevobbe
f9625c227b Bug 1605172 - Add missing return in WebConsoleUi getLongString method. r=jlast.
The function was moved during Bug 1582870 and
we lost the return statement somehow.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 15:27:49 +00:00
Razvan Maries
fcce179074 Bug 1582568 - Disabled browser_windowProxy_transplant.js on Linux and Mac x64. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58799

--HG--
extra : moz-landing-system : lando
2020-01-06 15:27:47 +00:00
Nicolas Chevobbe
3e99072c76 Bug 1605747 - Fix ErrorRep for Error with undefined name property. r=Honza.
Since the name can be an undefined grip, there
could be case where the name would be an object
and not a React element, making the rendering fail.
This patch fixes that and adds a test to ensure
this does not regress.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 11:32:54 +00:00
Andreea Pavel
9d0ceff6b1 Bug 1522739 - unskip test_mediarecorder_pause_resume_video.html r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58745

--HG--
extra : moz-landing-system : lando
2020-01-06 15:07:25 +00:00
Andrew Halberstadt
89f8300f14 Bug 1604737 - [ci] Stop running all fission tasks on Ash, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58531

--HG--
extra : moz-landing-system : lando
2020-01-02 16:00:47 +00:00
Yura Zenevich
8d11189ded Bug 1605404 - Resolve DOM walker inside updateDetails action. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58013

--HG--
extra : moz-landing-system : lando
2020-01-06 14:42:17 +00:00
Jon Coppeard
fbeca6ddf3 Bug 1605825 - Indirectly forwarded nursery buffers can be less that a word in size r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D58509

--HG--
extra : moz-landing-system : lando
2020-01-06 14:10:52 +00:00
Harry Twyford
6fe5381ee6 Bug 1605940 - Explicitly enable the openViewOnFocus pref so browser_urlbar_event_telemetry works in Beta. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D58524

--HG--
extra : moz-landing-system : lando
2020-01-06 10:32:04 +00:00
Neil Deakin
e4d9f936e3 Bug 1602033, typeaheadfind component plays the search term not found sound effect, but only when searching subframes, instead play the sound in FinderParent module if search text does not exist, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D58378

--HG--
extra : moz-landing-system : lando
2020-01-06 14:04:07 +00:00
Andreea Pavel
c4508fa4ad Backed out changeset 564b928b0203 (bug 1607170) for crashing browser_newWindowDrop.js on a CLOSED TREE 2020-01-06 16:31:37 +02:00
Henrik Skupin
29313adecb Bug 1600055 - [remote] Switch from using "outerWindowID" to "browsingContext.id". r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D58764

--HG--
extra : moz-landing-system : lando
2020-01-06 12:55:35 +00:00
ffxbld
92b26fef5d No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D58770

--HG--
extra : moz-landing-system : lando
2020-01-06 13:40:52 +00:00
Masatoshi Kimura
08c5488cba Bug 1602615 - Add a support for free-threaded IStream to handle Internet shortcuts. r=jmathies
By making the IStream object free-threaded (or "agile"), IStream::Read will be
called off the main thread. So we can wait until favicon is created.

Depends on D56478

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:31:47 +00:00
Masatoshi Kimura
95241d2225 Bug 1602615 - Add a callback parameter to ObtainCachedIconFile and use it in GetFileContentsInternetShortcut. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D56478

--HG--
extra : moz-landing-system : lando
2020-01-06 13:31:54 +00:00
Tom Schuster
989660da15 Bug 1605854 - Remove uneval/toSource from DOM tests. r=smaug
Using JSON.stringify in dom/tests/mochitest/chrome/test_clonewrapper.xhtml might not be the best solution, because
the testObject contains ImageData objects.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:09:27 +00:00
Dão Gottwald
3baab4766b Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754

--HG--
extra : moz-landing-system : lando
2020-01-06 12:41:19 +00:00
Julian Descottes
3b345a689e Bug 1605995 - Add linting rule against relative paths in DevTools require r=Standard8
Depends on D58243

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

--HG--
extra : moz-landing-system : lando
2020-01-06 12:54:39 +00:00
Simon Giesecke
55043c8787 Bug 1605045 - Document rationale and use cases for OwningNonNull. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D57944

--HG--
extra : moz-landing-system : lando
2020-01-06 12:02:15 +00:00
André Bargull
27f9867d61 Bug 1604188: Replace unreachable string functions with if-constexpr code. r=jandem,jwalden
Instead of using MOZ_CRASH/MOZ_ASSERT_UNREACHABLE for unreachable functions, we can
now use if-constexpr to avoid generating the unreachable calls in the first place.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 12:04:29 +00:00
Ben Iofel
b92dbf5479 Bug 726479 - Use GTK's support for startup notifications, r=karlt
Original author: Ben Iofel <iofelben@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2020-01-06 12:03:38 +00:00
atul ramkrishnan
8d9da461e2 Bug 1603099 - Remove unused declaration in VideoFrameContainer.cpp r=jya
Differential Revision: https://phabricator.services.mozilla.com/D56990

--HG--
extra : moz-landing-system : lando
2020-01-06 12:05:15 +00:00
Andreea Pavel
e0ae4d9cc7 No bug - fix typo to have a commit to triggering commit ingestion again. CLOSED TREE 2020-01-06 14:37:39 +02:00
Andreea Pavel
0618bdbfe4 Backed out changeset f34592b66d45 undo typo on a CLOSED TREE 2020-01-06 14:35:59 +02:00
John Lin
fb206ef4ec Bug 1592140 - p2: disable HW H.264 support for certain tests. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D53298

--HG--
extra : moz-landing-system : lando
2019-11-20 04:25:32 +00:00