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

689686 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden d81c71eeaf Bug 1596706. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D59963

--HG--
extra : moz-landing-system : lando
2020-01-24 12:04:14 +00:00
Jon Coppeard 785ce013ee Bug 1609956 - Discourage atoms zone collection during page load r=sfink,smaug
This adds a JS API to set a performance hint which tells the engine whether a global is in pageload or not.  The engine keeps a count so it knows whether any global for that runtime is in pageload, and adjusts GC thresholds appropriately. Currently this strongly discourages atoms GC by doubleing the trigger threshold. This does not disallow it entirely, but with this change it should almost never happen.

This is meant to be a temporary fix. When the stencil project lands we will not have this annoying dependency between parsing and atoms zone GC and can remove this change.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 13:06:40 +00:00
André Bargull 5417502206 Bug 1608808 - Part 12: Automatically generate shell-option string for WeakRef tests. r=jonco
This makes it easier to update test262, because it's no longer required to
manually mark each WeakRef test in js/src/tests/jstests.list.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 12:46:56 +00:00
André Bargull 87894eee0c Bug 1608808 - Part 11: Update test262 exclusion lists. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D60511

--HG--
extra : moz-landing-system : lando
2020-01-28 09:10:03 +00:00
André Bargull 75cba2a46c Bug 1608808 - Part 10: Update test262. r=jwalden
Update test262 to pick up the changed `eval` in parameter expressions tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 09:09:24 +00:00
André Bargull ea82b69fbb Bug 1608808 - Part 9: Update existing jit-tests. r=jwalden
Removes the direct eval calls, because they're now leading to SyntaxErrors when
attempting to redeclare existing parameters.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 09:03:03 +00:00
André Bargull 41f6f7a9bb Bug 1608808 - Part 8: Disallow redeclaring "arguments" in function parameter expressions. r=jwalden
The specification installs the implicit "arguments" binding in the same
lexical environment as the other parameters, but our implementation requires an
extra check to report this redeclaration SyntaxError.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 09:02:30 +00:00
André Bargull 1d0675c3a6 Bug 1608808 - Part 7: Update comments for for-of redeclaration checks. r=jwalden
Drive-by fix, spotted while checking this code.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 09:01:52 +00:00
André Bargull 89ab2ac253 Bug 1608808 - Part 6: Remove hasDirectEvalInParameterExpr flag. r=jwalden
This flag is no longer used after part 2 and part 4.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 09:01:19 +00:00
André Bargull 9eb6c65207 Bug 1608808 - Part 5: Remove no longer used parameter to FunctionScopeEnvShapeFlags. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D60504

--HG--
extra : moz-landing-system : lando
2020-01-28 09:01:17 +00:00
André Bargull 4d18d3c1b4 Bug 1608808 - Part 4: Remove DestructuringFlavor::FormalParameterInVarScope. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D60503

--HG--
extra : moz-landing-system : lando
2020-01-28 09:00:04 +00:00
André Bargull 1b6c79fad9 Bug 1608808 - Part 3: Remove ScopeKind::ParameterExpressionVar. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D60502

--HG--
extra : moz-landing-system : lando
2020-01-28 08:59:26 +00:00
André Bargull d710c95dbf Bug 1608808 - Part 2: Remove now unused {enter,leaves}ParameterExpressionVar methods. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D60501

--HG--
extra : moz-landing-system : lando
2020-01-28 08:58:29 +00:00
André Bargull 2d6e612cc4 Bug 1608808 - Part 1: Stop emitting the parameter expression var scope. r=jwalden
BytecodeEmitter.cpp:
The normal `DestructuringFlavor::Declaration` can now be used for destructuring
parameter declarations.

Scope.cpp:
The function scope now always acts as a variable scope, even when parameter
expression are present, so we need to set the `QUALIFIED_VAROBJ` flag
unconditionally.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:57:51 +00:00
Gabriele Svelto 44c60cb145 Bug 1609649 - Strip telemetry annotations from the crashes we submit via Firefox r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D60145

--HG--
extra : moz-landing-system : lando
2020-01-23 21:22:11 +00:00
Mark Striemer f8e5af7e32 Bug 1609069 - Avoid switching view when clicking sidebar padding r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D60912

--HG--
extra : moz-landing-system : lando
2020-01-24 17:44:02 +00:00
Timothy Nikkel 0afb4e84f4 Bug 1605223. Handle SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN when computing webrender filter information for component transfer filters. r=mstange
In SVGComponentTransferFunctionElement::ComputeAttributes type will be 0 == SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN if a func type is not specified.

SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY is specified as the default value at

https://searchfox.org/mozilla-central/rev/cfd1cc461f1efe0d66c2fdc17c024a203d5a2fd8/dom/svg/SVGFilters.cpp#183

So one would think we would get SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY for unknown func types, but I don't understand that code too well.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 10:00:25 +00:00
Chris Manchester 19dae3300c Bug 1605188 - Update builders to rustc 1.40 r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D61042

--HG--
extra : moz-landing-system : lando
2020-01-25 16:03:16 +00:00
Daniel Varga cd4e1066fd Backed out changeset 74c36888692b (bug 1610298) for causing browser-chrome failures at browser/components/aboutlogins/tests/browser/browser_breachAlertShowingForAddedLogin.js
CLOSED TREE
2020-01-28 12:50:44 +02:00
alwu 7040e18745 Bug 1609452 - part2 : remove redundant virtual keywords. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D60027

--HG--
extra : moz-landing-system : lando
2020-01-28 09:56:09 +00:00
alwu 400100469c Bug 1609452 - part1 : update media center's playback state whenever the event source's playback changes. r=mstange
The event source's playback state can represent if the media is currently playing. Therfore, whenever it changes, we should update the media center's playback state as well in order to show correct controller icon (eg. play and pause) on the touch bar.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 09:50:04 +00:00
Andrei Oprea 4d3579227c Bug 1610298 - Snippets preview messages don't belong to a provider r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D60414

--HG--
extra : moz-landing-system : lando
2020-01-24 13:48:58 +00:00
Edgar Chen 767c73d6b2 Bug 1610054 - Prevent infinite recursion when upgrading custom elements; r=smaug
See https://github.com/whatwg/html/pull/5126.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:46:47 +00:00
Xidorn Quan 85cc5c6fb4 Bug 1603354 - Treat empty ruby base/text container as if there is an empty inline element inside. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D61078

--HG--
extra : moz-landing-system : lando
2020-01-28 09:32:04 +00:00
Hiroyuki Ikezoe fdc373df36 Bug 1611561 - Fix the return value of the callback of CallOnAllRemoteChildren in nsFocusManager::ActivateOrDeactivate. r=smaug
I somehow made this mistake in https://hg.mozilla.org/mozilla-central/rev/0703637be2acb26954dab524c5b957e4b5189b50.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:16:25 +00:00
Mike Conley 3defe1872c Bug 1610993 - Adjust Picture-in-Picture toggle to be at 25% from the top for Instagram videos. r=denschub
Depends on D61010

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:53 +00:00
Mike Conley 97955a01e0 Bug 1606195 - Adjust Picture-in-Picture toggle to be at 25% from the top for Udemy videos. r=denschub
Depends on D61009

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:25 +00:00
Mike Conley 9745b30124 Bug 1608425 - Adjust Picture-in-Picture toggle to be at 25% from the top for Twitch videos. r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D61009

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:02 +00:00
Martin McNickle 9f727fc9c5 Bug 1611829 - Convert scroll-behavior #defines to an enum class. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61164

--HG--
extra : moz-landing-system : lando
2020-01-28 09:12:29 +00:00
J.C. Jones 799f0cd87c Bug 1606927 - land NSS 4bf79c4d2954 UPGRADE_NSS_RELEASE, r=kjacobs
2020-01-27  J.C. Jones  <jjones@mozilla.com>

	* lib/freebl/blinit.c:
	Bug 1602386 - clang-format r=bustage
	[4bf79c4d2954] [tip]

2020-01-27  Piotr Kubaj  <pkubaj@FreeBSD.org>

	* lib/freebl/Makefile, lib/freebl/blinit.c:
	Bug 1602386 - Fix build on FreeBSD/powerpc platforms. r=jcj

	FreeBSD has elf_aux_info instead of getauxval, but only since
	FreeBSD 12. Previous versions (11 is still supported) don't have any
	equivalent and users need to query sysctl manually.

	[f2ac5e318886]

2020-01-27  Jan Beich  <jbeich@FreeBSD.org>

	* lib/freebl/blinit.c:
	Bug 1609181 - Detect ARM CPU features on FreeBSD. r=jcj

	Implement `getauxval` via `elf_aux_info` to avoid code duplication.
	`AT_HWCAP*` can be used on powerpc* and riscv64 as well.
	[edb60bae9219]

2020-01-22  Martin Thomson  <mt@lowentropy.net>

	* lib/zlib/README, lib/zlib/README.nss, lib/zlib/adler32.c,
	lib/zlib/compress.c, lib/zlib/crc32.c, lib/zlib/crc32.h,
	lib/zlib/deflate.c, lib/zlib/deflate.h, lib/zlib/gzguts.h,
	lib/zlib/gzlib.c, lib/zlib/gzread.c, lib/zlib/gzwrite.c,
	lib/zlib/infback.c, lib/zlib/inffast.c, lib/zlib/inffixed.h,
	lib/zlib/inflate.c, lib/zlib/inflate.h, lib/zlib/inftrees.c,
	lib/zlib/trees.c, lib/zlib/trees.h, lib/zlib/uncompr.c,
	lib/zlib/zconf.h, lib/zlib/zlib.h, lib/zlib/zutil.c,
	lib/zlib/zutil.h:
	Bug 1547639 - Update zlib to 1.2.11, r=jcj

	[91f3f0749d0b]

	* lib/zlib/README.nss, lib/zlib/config.mk, lib/zlib/example.c,
	lib/zlib/manifest.mn, lib/zlib/minigzip.c, lib/zlib/vendor.sh,
	lib/zlib/zlib.gyp:
	Bug 1547639 - Automatic vendoring of zlib, r=jcj

	[fc128963a9aa]

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

--HG--
extra : moz-landing-system : lando
2020-01-28 06:50:08 +00:00
Emilio Cobos Álvarez 588420a70c Bug 1574322 - We may wrap around when looking into what to focus if the start content is in shadow DOM. r=smaug
This was missing a check and as a result we were hanging. The simplified setup
is as follows:

<dialog>
  #shadow-root
    <panel>
      <!-- nothing focusable here -->

And chrome code calling advanceFocusIntoSubtree with <panel> as the start
content.

We first try starting at <panel>, then from the root. It's in this second try
where we fail to find anything into the <panel> subtree, but we don't realize we
wrapped around and should stop.

I think we should really look into unifying the shadow dom and non-shadow dom
focus code, these bugs are somewhat nasty :/

I don't think this is observable from the web because this second iteration
happens from here:

 * https://searchfox.org/mozilla-central/rev/220a3bd6063fcbe5ca50e88dcabdc7dee0aca448/dom/base/nsFocusManager.cpp#2916

And in the web case we'd hit the TabToTreeOwner call above...

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

--HG--
extra : moz-landing-system : lando
2020-01-28 08:12:18 +00:00
Marian Raiciof 585b7fc88e Bug 1564844 - Move raptor-tp6m-n-fennec68 tests into the correct platform r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D60833

--HG--
extra : moz-landing-system : lando
2020-01-28 08:04:30 +00:00
Jason Laster 5e558b1b52 Bug 1611130 - fix browser_webconsole_in_line_layout.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D61003

--HG--
extra : moz-landing-system : lando
2020-01-27 09:53:26 +00:00
Cosmin Sabou ad62341488 Bug 1301399 - Delete trailing whitespace. r=pedantic-fix
DONTBUILD

--HG--
extra : amend_source : 5041a9eff745fdab5265be2d2b1dcecf78df00b0
2020-01-28 07:03:32 +02:00
Paul Bone eeec2889a7 Bug 1301399 - Fix comment after removing code r=nika
Differential Revision: https://phabricator.services.mozilla.com/D60802

--HG--
extra : moz-landing-system : lando
2020-01-28 04:43:52 +00:00
Karl Tomlinson fc9f88b022 Bug 1606148 test AudioWorkletNode with 0 inputs and >1 outputs r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D59191

--HG--
extra : moz-landing-system : lando
2020-01-28 02:22:51 +00:00
Karl Tomlinson 4d907bb120 Bug 1606148 align ProcessBlocksOnPorts() Span parameter lengths with number of inputs and outputs r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D59190

--HG--
extra : moz-landing-system : lando
2020-01-15 14:44:39 +00:00
Karl Tomlinson 598b67d831 Bug 1599952 Test processor MessagePort assignment on processor callback function construction r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D55228

--HG--
extra : moz-landing-system : lando
2020-01-28 01:30:00 +00:00
Karl Tomlinson 1b3eceb119 Bug 1558526 test use of 'process' getter for AudioWorkletProcessor callback r=bzbarsky
Trial registration is not performed in the "instance" case because there the
"process" getter does not exist until the constructor is invoked, which is not
expected to happen until after registration.

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

--HG--
extra : moz-landing-system : lando
2020-01-28 01:01:26 +00:00
sotaro 9fbc3e628e Bug 1605777 - Clear WrappingTextureSourceYCbCrBasic::mTexture correctly r=nical
Differential Revision: https://phabricator.services.mozilla.com/D60639

--HG--
extra : moz-landing-system : lando
2020-01-23 11:11:46 +00:00
Bogdan Tara f1e0a083bc Backed out 2 changesets (bug 1611486) for bustages complaining about mouse_cursor_monitor.h and desktop_and_cursor_composer.h CLOSED TREE
Backed out changeset 881eb2c2d312 (bug 1611486)
Backed out changeset 50c7ba45875b (bug 1611486)
2020-01-28 00:48:40 +02:00
Nico Grunbaum b76919a7e5 Bug 1611486 - P2 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
c380e97ee6

Depends on D61000

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

--HG--
extra : moz-landing-system : lando
2020-01-24 18:52:30 +00:00
Nico Grunbaum 0f2770c78b Bug 1611486 - P1 - Cherry-pick webrct desktop sharing X hang fixes;r=dminor
4b47dd39a7

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

--HG--
extra : moz-landing-system : lando
2020-01-24 19:01:49 +00:00
David Major 7987e54c54 Bug 1610974 - Use designated initializers consistently in LookAndFeelInt r=hiro
To avoid a clang-10 failure with `error: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Werror,-Wc99-designator]`

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

--HG--
extra : moz-landing-system : lando
2020-01-27 21:22:55 +00:00
Cosmin Sabou 2cf80d119a Bug 1611200 - Update expectation on mac and win for shared-worker-import-blob-url.any.html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D61134

--HG--
extra : moz-landing-system : lando
2020-01-27 21:33:21 +00:00
Sebastian Hengst 54564d325b Bug 1611449 - Alter order of expecations for MediaRecorder-no-sink.https.html and MediaRecorder-peerconnection.https.html on release_or_beta. r=jgraham
Rule for Beta and Release on Android must be declared before general Android
one because first matching rule gets applied.

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

--HG--
extra : moz-landing-system : lando
2020-01-27 21:33:03 +00:00
Mats Palmgren 59bb4e4cda Bug 1611724 - [css-grid] Add NS_FRAME_CONTAINS_RELATIVE_BSIZE to grid items with content first baseline alignment to ensure lines are marked dirty in a IsBResize reflow. r=dholbert
To make this condition true to be clear:
https://searchfox.org/mozilla-central/rev/aa684c0c76136be80af4c6e429bce81dea55c429/layout/generic/nsBlockFrame.cpp#2478-2479

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

--HG--
extra : moz-landing-system : lando
2020-01-27 19:45:13 +00:00
Cosmin Sabou 1cb591d666 Bug 1611299 - Update metadata. a=test-only
--HG--
extra : rebase_source : 024bf563c79e648d6d80b0abee4c6a96882d7856
2020-01-27 20:53:45 +02:00
Dimi Lee 3f336cb71f Bug 1599046 - P4. Report content blocking log to console while running in the parent process r=Ehsan
Depends on D57630

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

--HG--
extra : moz-landing-system : lando
2020-01-27 19:23:05 +00:00
Dimi Lee d58587be36 Bug 1599046 - P3. Remove unused IPC method in nsIParentChannel.idl. r=timhuang,Ehsan
The following methods are removed:
1. notifyChannelClassifierProtectionDisabled
2. notifyCookieAllowed
3. notifyCookieBlocked

Depends on D56875

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

--HG--
extra : moz-landing-system : lando
2020-01-27 10:39:38 +00:00