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

681201 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou c5ffab81d9 Backed out changeset 4919d2efbdd6 (bug 1595076) for causing several reftest failures. CLOSED TREE 2019-11-23 02:25:17 +02:00
Cosmin Sabou 09e4d6e7d0 Backed out 4 changesets (bug 1570792, bug 1593358, bug 1575905) for causing bug 1593402 to near permafail. CLOSED TREE
Backed out changeset 43490702945f (bug 1593358)
Backed out changeset cf2f28971e64 (bug 1570792)
Backed out changeset 67f284b0e4c2 (bug 1575905)
Backed out changeset 13d8e61774f1 (bug 1575905)

--HG--
extra : amend_source : 9541e3e941e7b62095715bb4859991bd48ea0489
extra : histedit_source : 51dd3724c2e8b806b2c9e531aa14119ff38f37e4
2019-11-23 01:57:15 +02:00
Cosmin Sabou b1bde23dbf Backed out changeset e9d1379c65f5 (bug 1585904) for browser-chrome failures on browser_pageinfo_security.
--HG--
extra : histedit_source : 70a6520faf1fe6c83ae6cba3781d534cc3ae81b6
2019-11-23 01:25:02 +02:00
Andrew Halberstadt 5099e76c5d Bug 1583364 - [manifestparser] Fix regression to ChunkByManifest filter. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54369

--HG--
extra : histedit_source : 6728719847f307627f3ff10535169ee71354b14b
2019-11-22 23:27:21 +02:00
Stephen Donner 6da4395fc7 Bug 1589267 - Add conditioned-profile support for desktop Firefox in Browsertime; follow-up fix to include missing raptor.py.
Differential Revision: https://phabricator.services.mozilla.com/D54378

--HG--
extra : histedit_source : 82d5f3e9ed43f75a2e50fdd220c53142b18f3797
2019-11-23 01:30:48 +02:00
Drew Willcoxon f50356c887 Bug 1598107 - Set inputHandling=true for the browser.urlbar.onResultPicked event r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54025

--HG--
extra : source : 4126c23bb67c7a950f3683cd4490320ad464d58a
2019-11-22 10:18:15 +00:00
Steve Fink 5232fd68ef Bug 1598709 - Fix up the Windows platforms that were overriding the variant settings r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D54335

--HG--
extra : moz-landing-system : lando
2019-11-22 20:04:42 +00:00
Punam Dahiya c76d2e3fa0 Bug 1595842 - Import settings wizard dynamic triplets onboarding card for chrome switchers r=fluent-reviewers,k88hudson,flod
Differential Revision: https://phabricator.services.mozilla.com/D54176

--HG--
extra : moz-landing-system : lando
2019-11-22 20:33:49 +00:00
Dão Gottwald 4b03dfa26b Bug 1598345 - [urlbar.view.stripHttps] Strip single trailing slash from URLs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D54163

--HG--
extra : moz-landing-system : lando
2019-11-22 20:01:27 +00:00
emcminn 940d17feab Bug 1598670 - Added license header to pip-message-icon.svg r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D54354

--HG--
extra : moz-landing-system : lando
2019-11-22 20:53:24 +00:00
Andrew Halberstadt 099aff4f59 Bug 1596426 - [mozbuild] Add a 'manifest_relpath' key to all tests in the TestManifestBackend, r=froydnj
I would prefer if this (and the other keys there) were added by the
ReftestManifest object instead:
https://searchfox.org/mozilla-central/rev/652014ca1183c56bc5f04daf01af180d4e50a91c/layout/tools/reftest/reftest/__init__.py#39

But since there is already precedent here, it's easiest to tag
'manifest_relpath' along with the others. Bug 1590388 will likely handle
cleaning all this up.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:27:32 +00:00
Michael Froman 842fad844f Bug 1524049 - pref on Vorbis decoding on RDD for Windows. r=drno
Also, make sure it is disabled for MinGW builds because of Bug
1597408.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 20:49:14 +00:00
Chris H-C 27eb092aff Bug 1591563 - Only build the fogotype crate on Nightly r=janerik,lina
Depends on D53713

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

--HG--
extra : moz-landing-system : lando
2019-11-22 20:38:50 +00:00
Chris H-C 305aa7f710 Bug 1591563 - Add an empty do-nothing crate for fogotype work r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D53713

--HG--
extra : moz-landing-system : lando
2019-11-22 20:38:48 +00:00
Greg Tatum 63557d95ad Bug 1597972 - Remove the JS frames array from being stack allocated; r=gerald
The native allocations feature added stackwalking that can happen anywhere that
memory is allocated. This means that stackwalking happens in places where the
execution already has a very large execution stack. Stackwalking was relying
on stack-allocated buffers used for merging stacks. This was taking up 64kb of
stack space. On Linux, this was causing a stack overflow, as there is only 256kb of
stack space. I encountered a crash while using GDB. Using pointer arithmetic,
I determined that the stack size before stack walking was around 20kb, and during
stackwalking, we overflowed the stack (>256kb). The largest culprit was the
JS::ProfilingFrameIterator::Frame jsFrames[MAX_JS_FRAMES]. In addition,
Bug 1468789 added another member to the Frame class, also increasing the size
of the stack allocation.

I changed the implementation to allocate some memory on the CorePS class, and
share that with every stackwalk that happens. I tested this loading a large news
site, and didn't get any crashes.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 19:50:25 +00:00
Chris Manchester 09ba0f0398 Bug 1595674 - Make the rust build respect -j1. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54060

--HG--
extra : moz-landing-system : lando
2019-11-22 19:42:38 +00:00
André Bargull 03641f5a5a Bug 1568903 - Part 11: Update ecma-globals list in mocha interfaces tests. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D53169

--HG--
extra : moz-landing-system : lando
2019-11-22 18:22:08 +00:00
André Bargull e7a425a43c Bug 1568903 - Part 10: Update test_xrayToJS to handle the new AggregateError object and the Promise method. r=peterv,jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D51660

--HG--
extra : moz-landing-system : lando
2019-11-22 18:21:30 +00:00
André Bargull d75254445f Bug 1568903 - Part 9: Implement the Promise.any proposal. r=jorendorff
As with AggregateError, `Promise.any` is only enabled in Nightly.

Now that everything is in place, the actual `Promise.any` implementation is
relatively straight forward. The only tricky part is probably just the
`ThrowAggregateError` function, when the async stack is created to give a
better stack trace.

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

--HG--
rename : js/src/jit-test/tests/promise/promise-race-with-non-default-resolving.js => js/src/jit-test/tests/promise/promise-any-with-non-default-resolving.js
extra : moz-landing-system : lando
2019-11-22 18:15:20 +00:00
André Bargull 10045f84fe Bug 1568903 - Part 8: Add separate struct to work with Promise combinator elements arrays. r=jorendorff
Adds a separate struct to hold the elements arrays and to apply wrapping and
unwrapping at the correct points. This will let us avoid copying this code
another time for the `Promise.any` proposal.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:14:20 +00:00
André Bargull b22b17f4e9 Bug 1568903 - Part 7: Add function to check if Promise combinator element function was already called. r=jorendorff
The first five steps in each Promise combinator element function are always the
same. Add a helper function for this task to reduce more code duplication.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:14:02 +00:00
André Bargull b2de006657 Bug 1568903 - Part 6: Add helper to create Promise combinator element functions. r=jorendorff
Moves the `NewNativeFunction` and the two `setExtendedSlot` calls into a helper
function to reduce code duplication.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:13:39 +00:00
André Bargull 5ec1ee4af6 Bug 1568903 - Part 5: Rename shared functions for Promise combinators. r=jorendorff
The draft proposal calls `Promise.all`, `Promise.allSettled`, `Promise.any`, and
`Promise.race` "Promise combinators". Let's reuse that name to avoid having to
spell each function name in shared functions. For example instead of
`CommonStaticAllRace`, or soon `CommonStaticAllRaceAny`, we get
`CommonPromiseCombinator`.

- `PromiseAllDataHolder` is currently used for `Promise.all` and
`Promise.allSettled`, and soon also for `Promise.any`. Rename it to
`PromiseCombinatorDataHolder` to express that different Promise combinators use
this object.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:35:47 +00:00
André Bargull 8e0ef36914 Bug 1568903 - Part 4: Implement AggregateError for Nightly. r=jorendorff
Adds AggregateError, but only enables it for Nightly builds, because the draft
proposal is still incomplete, so it doesn't make sense to let this feature ride
the trains at this moment.

- The `other_error_properties` array was changed to individual static variables,
because AggregateError has more than three properties, which prevents it to be
stored in `JSPropertySpec[][3]`.

- `AggregateErrorObject` can't use the normal `ErrorObject` class, because it
needs an additional slot for the [[AggregateErrors]].

- For similar reasons it can't use the shared `Error` constructor function,
because the `AggregateError` constructor has an additional `errors` iterable
argument which it needs to process.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:12:56 +00:00
André Bargull fd0ad767f8 Bug 1568903 - Part 3: Apply include-what-you-use for jsexn and ErrorObject. r=jorendorff
Update the #includes after moving the code in part 2.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:12:33 +00:00
André Bargull 65208d4ad2 Bug 1568903 - Part 2: Move ErrorObject parts from jsexn.cpp to ErrorObject.cpp. r=jorendorff
The ErrorObject classes are already declared in ErrorObject.h, so it seems
useful to also move their definitions into the corresponding cpp file.

Also adds `js::CaptureStack` to jsexn.h so it can be called from ErrorObject.cpp
and to remove the duplicated implementation in JSContext.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:12:10 +00:00
André Bargull 9a0989d349 Bug 1568903 - Part 1: Clean-up GlobalObject.h includes. r=jorendorff
GlobalObject.h had an unnecessary #include for ErrorObject.h, which led to
recompiling more or less all of SpiderMonkey when modifying ErrorObject.h,
because GlobalObject.h is (transitively) included in most files.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 18:11:48 +00:00
Benjamin De Kosnik a72f7d8189 Bug 1580077 - Exfiltrate selected histograms for performance metrics via geckoview_streaming. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D54046

--HG--
extra : moz-landing-system : lando
2019-11-22 18:18:17 +00:00
Cosmin Sabou 12925c3ab3 Backed out changeset 4126c23bb67c (bug 1598107) for causing browser chrome failures on browser_bug399606.js. CLOSED TREE 2019-11-23 00:16:02 +02:00
Noemi Erli 92d932148c Backed out changeset 8cdae49ab472 (bug 1598539) for causing build bustages in EditorBase.cpp CLOSED TREE 2019-11-22 22:04:00 +02:00
Carolina f652812231 Bug 1585904 - Avoids opening the same certificate in multiple tabs each time.r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D50110

--HG--
extra : moz-landing-system : lando
2019-11-22 17:40:18 +00:00
Andrew Halberstadt b483d6326c Bug 1583364 - Generate 'manifest-runtimes.json' and update mochitest harness to use it, r=gbrown
As a side-effect this will also update runtime data for all suites using
'--chunk-by-runtime'.

This change simultaneously:

1. Stores runtime data from all suites
2. Stores runtime data from all tests (no more percentile)
3. Stores distinct data for android, unix (osx/linux) and windows
4. Reduces the size of 'testing/runtimes' from 408k -> 168k

The chunks look more balanced from my unscientific glance (especially on Windows).

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

--HG--
extra : moz-landing-system : lando
2019-11-22 19:23:17 +00:00
Andrew Halberstadt 36a34a745b Bug 1583364 - Update testing/runtimes/writeruntimes script to write info at the manifest level, r=gbrown
The new format will be:

    { <path/to/manifest.ini>: <average duration> }

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

--HG--
extra : moz-landing-system : lando
2019-11-20 21:21:17 +00:00
Andrew Halberstadt f4e6a0c32a Bug 1583364 - Remove ability to specify platforms/e10s in testing/runtimes/writeruntimes, r=gbrown
The script should just do the thing that we want. Providing options just
increases the chance of user error. I don't see any need to specify either of
these things.

Depends on D53699

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

--HG--
extra : moz-landing-system : lando
2019-11-19 19:34:39 +00:00
Andrew Halberstadt 974c21a789 Bug 1583364 - Convert testing/runtimes/writeruntimes.py to a 'mach python' script, r=gbrown
The main motivation here was to gain access to the mach enviroment for the
future refactor.

Depends on D53698

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

--HG--
rename : testing/runtimes/writeruntimes.py => testing/runtimes/writeruntimes
extra : moz-landing-system : lando
2019-11-19 00:28:00 +00:00
Andrew Halberstadt a1d66863ae Bug 1583364 - Create a 'build_flavor' key mapping 'moztest.resolve.TEST_SUITES' to their build flavor, r=gbrown
Build flavors are defined in 'python/mozbuild/mozbuild/testing.py'.

This change is needed by D52729 but it's also a good way to tell which suites
are integrated into the TestManifestBackend in the build system. So I'm landing
it here instead.

Depends on D53030

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

--HG--
extra : moz-landing-system : lando
2019-11-19 00:30:21 +00:00
Drew Willcoxon 06bf4f86d4 Bug 1598107 - Set inputHandling=true for the browser.urlbar.onResultPicked event r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54025

--HG--
extra : moz-landing-system : lando
2019-11-22 10:18:15 +00:00
Andreas Pehrson 78c9444d74 Bug 1536156 - Make VideoFrameContainer::ClearFutureFrames keep the current frame instead of the first frame. r=padenot
Depends on D54117

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

--HG--
extra : moz-landing-system : lando
2019-11-22 15:48:06 +00:00
Andreas Pehrson 0e8f3eae51 Bug 1536156 - Clear future frames when VideoSink is finished. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D54117

--HG--
extra : moz-landing-system : lando
2019-11-22 15:02:27 +00:00
Andreas Pehrson 3c385b4b80 Bug 1536156 - Stop doing EndCloningVisually in Unlink. r=mconley
Unlink must not cause an AddRef on the unlinked object, or it is at risk of
leaking. See 1593739 for an example of where this happens.

EndCloningVisually is dangerous in that it tries to do more than just unlink the
video element. It does AddRef in NotifyUAWidgetSetupOrChange, so that must be
avoided.

Previous patches to this bug make sure that MediaDecoder shutdown takes care of
clearing the secondary video container in the MediaDecoder stack, so this is not
actually necessary anymore.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 12:52:48 +00:00
Andreas Pehrson f80cfacedb Bug 1536156 - Simplify setting the current frame in the secondary video container. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D53733

--HG--
extra : moz-landing-system : lando
2019-11-22 12:52:48 +00:00
Andreas Pehrson 626de4fb8d Bug 1536156 - Let cloneElementVisually() return a promise that resolves when frames have been rendered. r=alwu,mconley,bzbarsky
This patch does the following:
- Makes cloneElementVisually() return a promise
- Plumbs an event from the MediaDecoderStateMachine's VideoSink to
  HTMLVideoElement
- Hooks the event up to resolve the promise from cloneElementVisually()
- Updates tests and their expectations.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 12:52:48 +00:00
Andreas Pehrson e19d00c349 Bug 1536156 - Remove unused MediaSink::ClearSecondaryVideoContainer. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D53731

--HG--
extra : moz-landing-system : lando
2019-11-22 12:52:47 +00:00
Andreas Pehrson e025090eae Bug 1597216 - Handle changes to mMediaSink in MediaDecoderStateMachine. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D53712

--HG--
extra : moz-landing-system : lando
2019-11-22 00:07:02 +00:00
Andreas Pehrson 3c62bb84d8 Bug 1596777 - Hook up the SecondaryVideoContainer with state mirroring. r=alwu
This better follows how MediaDecoder and MediaDecoderStateMachine was
architected.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 00:07:04 +00:00
Mike de Boer 7adc7cdede Bug 1595076 - Add ad-count and adclick counting for DuckDuckGo and Bing SERPs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52640

--HG--
extra : moz-landing-system : lando
2019-11-22 17:06:42 +00:00
Masayuki Nakano f846ab4ab6 Bug 1598327 - part 2: Make `TopLevelEditSubActionData::mCachedInlineStyle` create only in `HTMLEditor` r=m_kato
The initialization cost of `AutoStyleCacheArray` is still expensive and it's
used only by `HTMLEditor`.  Therefore, we should make it `Maybe` and construct
it only when the editor is an `HTMLEditor`.

Depends on D54253

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

--HG--
extra : moz-landing-system : lando
2019-11-22 15:02:57 +00:00
Masayuki Nakano 1ecc9bd28e Bug 1598327 - part 1: Make `AutoStyleCacheArray` initialize itself with initialization list r=m_kato
Calling `AppendElement()` a lot causes the constructor appearing in profile.
`AutoTArray` has a constructor taking initialization list.  Let's use it.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 16:11:10 +00:00
Emily Toop 6364098a35 Bug 1598010 - Move examples into mozilla-central r=agi
Examples are currently in github. They should be kept alongside the documentation and code and built along with other projects in Android Studio.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 13:30:57 +00:00
Stephen Donner 2b779548ae Bug 1589267 - Add conditioned-profile support for desktop Firefox in Browsertime. r=perftest-reviewers,sparky,ahal
Differential Revision: https://phabricator.services.mozilla.com/D53708

--HG--
extra : moz-landing-system : lando
2019-11-22 15:41:19 +00:00