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

693176 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian cec1932e5b Backed out changeset 270d0ffaf825 (bug 1615259) for build bustages at BasePrincipal.h. CLOSED TREE 2020-02-26 16:21:03 +02:00
Sebastian Streich d694e543b1 Bug 1615259 - Refactor GetUri in WorkerLoadInfo.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D62737

--HG--
extra : moz-landing-system : lando
2020-02-26 13:52:01 +00:00
Jon Coppeard 43803c34ee Bug 1617902 - Move GCParallelTask methods from vm/HelperThreads.cpp to new gc/GCParallelTask.cpp file r=sfink
This moves some GC-specific code to a new file under the GC directory.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:00:41 +00:00
Jon Coppeard dbc25fc9f0 Bug 1617902 - Make AutoRunParallelTask take a pointer to a GCRuntime member function and remove static methods r=sfink
Rather than having AutoRunParallelTask call a function that mostly has to interact with GCRuntime, it's more sensible to make this call a GCRuntime method via member function pointer.  The syntax is a little gross but this means we can get rid of a few friend declarations that were only necessary to allow these functions access to GCRuntime again.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:00:08 +00:00
Jon Coppeard 8ddbf6c1fe Bug 1617902 - Make GCParallelTask work function back into a virtual method r=sfink
This was previously turned from a virtual method into a function pointer because of threading concerns (destroying an instance of a class with virtual methods will write to the vtable before calling superclass destructors which may cause race conditions).  However this concern is moot since we made runTask() virtual so that it could be used by XPCOM thread pools.  The concern about race conditions is handled by an assertion in the GCParallelTask destructor.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 13:59:24 +00:00
Ted Campbell d286a3d930 Bug 1615710 - Remove Debugger::ScriptQuery::lazyScriptVector. r=jandem
Once we use BaseScript as the root type, we can combine the ScriptQuery
result vectors which will be concatenated anyways.

Depends on D64124

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

--HG--
extra : moz-landing-system : lando
2020-02-26 08:03:43 +00:00
Ted Campbell 0ac67e20a4 Bug 1615710 - Remove the Debugger::lazyScripts weakmap. r=jandem
This can be combined with the Debugger::scripts map since keys will not
conflict. This is now all possible since we use js::BaseScript as the root
type.

Depends on D64123

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

--HG--
extra : moz-landing-system : lando
2020-02-26 13:52:18 +00:00
Ted Campbell 5603c8e0b3 Bug 1615710 - Remove Debugger::wrapLazyScript. r=jandem
Replace with calls to wrapScript instead. Within wrapScript we now check if
script is lazy or not. This paves way to removing LazyScript* from the
DebuggerReferentVariant.

Depends on D64122

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

--HG--
extra : moz-landing-system : lando
2020-02-26 07:52:08 +00:00
Ted Campbell e68ab58cf6 Bug 1615710 - Use BaseScript in Debugger ScriptWeakMap. r=jandem
This lets us eventually combine the lazy and non-lazy lists. To make this
work, we need to explicitly pass the expected type of variant element instead
of deducing it from the map.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 07:48:09 +00:00
Ted Campbell 8e142f7202 Bug 1615710 - Use BaseScriptVector in Debugger. r=jandem
Replace the uses of ScriptVector and LazyScriptVector.

Depends on D64120

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

--HG--
extra : moz-landing-system : lando
2020-02-26 07:57:00 +00:00
Ted Campbell 7cee9e4c9c Bug 1615710 - Simplify parts of debugger affecting LazyScript. r=jandem
- Simplify js::CheckDebugeeThing
- Simplify DelazifyScript
- Inline js::EnsureFunctionHasScript into callers and avoid using
  JSFunction::nonLazyScript() method.

Depends on D64119

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

--HG--
extra : moz-landing-system : lando
2020-02-26 07:42:37 +00:00
Ted Campbell 2d1aa63ece Bug 1615710 - Simplify debugger usage of BaseScript::sourceObject. r=jandem
In Bug 1512509 we simplified BaseScript::sourceObject() to never use
cross-compartment edges. As a result we can simplify the debugger access of
sourceObject within this patch.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 07:38:23 +00:00
Florens Verschelde b5994c2d76 Bug 1616343 - Align EagerEvaluation vertical spacing to message spacing; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D63243

--HG--
extra : moz-landing-system : lando
2020-02-26 13:49:53 +00:00
Julien Wajsberg 8d66af6027 Bug 1497403 - Account for cases where the buffer gets full during the run of the test r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D64098

--HG--
extra : moz-landing-system : lando
2020-02-25 16:58:00 +00:00
Jon Coppeard 75df4ae4ff Bug 1618131 - Poison moved GC thing contents sooner r=jandem
This makes sure we will detect use of the contents of moved GC things during the update phase of the GC, not just when we return to the mutator as previously. Annoyingly we need to preserve contents for native objects with fixed elements because the elements flags are stored there and these may be accessed from other objects if they are COW elements.

This caught a use of unforwarded scripts during invalidation caused by OOM during sweeping type information.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 13:36:45 +00:00
Jon Coppeard 7556ab1743 Bug 1618131 - Assert that compacting GC only ever updates unmoved GC things or new copies of moved things and never the old copy r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D63871

--HG--
extra : moz-landing-system : lando
2020-02-26 13:36:12 +00:00
Jan de Mooij 7b9484a975 Bug 1617564 part 2 - Add minimal WarpBuilder prototype. r=iain
This has just enough code to be able to compile a "return 0;" function,
including off-thread MIR building.

The new builder consists of two parts:
* WarpOracle: runs on the main thread, produces a WarpSnapshot.
* WarpBuilder: can run off-thread, uses the WarpSnapshot to generate MIR.

WarpOracle will make a lot of the optimization decisions (which scripts can be
compiled, which ICs are copied, which functions we want to inline). WarpBuilder
will do 'just' MIR building.

This is an early prototype; the code is expected to change significantly the
coming weeks/months.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 13:30:21 +00:00
Jan de Mooij 124d08ccb2 Bug 1617564 part 1 - Add a --warp shell flag. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D64012

--HG--
extra : moz-landing-system : lando
2020-02-26 09:21:44 +00:00
Dão Gottwald 65e9ed9d0a Bug 1617899 - gBrowserInit._delayedStartup shouldn't call SessionStore in the middle of announcing that delayed startup has finished. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64088

--HG--
extra : moz-landing-system : lando
2020-02-25 15:59:35 +00:00
Dão Gottwald bb21ab7764 Bug 1617206 - Remove dropmarker checks from browser_openViewOnFocus.js since the openViewOnFocus pref doesn't control the dropmarker anymore. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D64094

--HG--
extra : moz-landing-system : lando
2020-02-25 21:00:56 +00:00
Gijs Kruitbosch 4c02a9a736 Bug 1615767 - re-introduce a min-width for flexible spacers so they work as expected outside the navbar, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D64105

--HG--
extra : moz-landing-system : lando
2020-02-26 12:41:19 +00:00
Mark Banner 21c81ecc56 Bug 1590896 - Switch SearchService from using nsICollation to use localeCompare. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D64127

--HG--
extra : moz-landing-system : lando
2020-02-26 11:37:44 +00:00
Michal Novotny 17f7cb5283 Bug 1616507 - Intermittent PID 13265 | SUMMARY: ThreadSanitizer: data race /builds/worker/workspace/build/src/netwerk/cache2/CacheFile.cpp:2362:48 in EntryWouldExceedLimit r=mayhemer
There is a possible race condition between CacheFile::OnFileOpened() called on the cache I/O thread as a result of calling CacheFileIOManager::OpenFile() and CacheFile::EntryWouldExceedLimit() and CacheFile::SetMemoryOnly(), both called on main thread from CacheEntry::OpenOutputStream(). Both methods now grab the CacheFile's lock to synchronize the access.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 11:56:21 +00:00
Sebastian Zartner 70f1b4f8ba Bug 1152321 - Added tests for measuring tool resizing via mouse. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D54433

--HG--
extra : moz-landing-system : lando
2020-02-23 19:49:39 +00:00
Sebastian Zartner e989717d58 Bug 1152321 - Added handlers to measuring tool allowing to resize the selected area via mouse. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D57198

--HG--
extra : moz-landing-system : lando
2020-02-23 19:49:01 +00:00
Brindusan Cristian 7492073dff Backed out 2 changesets (bug 1618131) for linux build bustages at Poison.h. CLOSED TREE
Backed out changeset e3c661a8798f (bug 1618131)
Backed out changeset 86e126a20395 (bug 1618131)
2020-02-26 13:00:51 +02:00
Tanny_m 010d102d37 Bug 1597046 - addressing the revision. r=sebo
Differential Revision: https://phabricator.services.mozilla.com/D55384

--HG--
extra : moz-landing-system : lando
2019-12-10 21:54:05 +00:00
Sylvestre Ledru 374863b8ad Bug 1605934 - Add nested namespaces in the C++ coding style r=sg
Differential Revision: https://phabricator.services.mozilla.com/D64301

--HG--
extra : moz-landing-system : lando
2020-02-26 09:31:44 +00:00
Simon Giesecke c555939e30 Bug 1617170 - Encapsulate DatabaseConnection::UpdateRefcountFunction::FileInfoEntry. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63648

--HG--
extra : moz-landing-system : lando
2020-02-26 10:09:04 +00:00
Simon Giesecke b3d3e37d2a Bug 1617170 - Reduce statefulness of FileManager. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63647

--HG--
extra : moz-landing-system : lando
2020-02-26 10:08:38 +00:00
Jon Coppeard b465bdf8f7 Bug 1618131 - Poison moved GC thing contents sooner r=jandem
This makes sure we will detect use of the contents of moved GC things during the update phase of the GC, not just when we return to the mutator as previously. Annoyingly we need to preserve contents for native objects with fixed elements because the elements flags are stored there and these may be accessed from other objects if they are COW elements.

This caught a use of unforwarded scripts during invalidation caused by OOM during sweeping type information.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 10:17:39 +00:00
Jon Coppeard 558314a58a Bug 1618131 - Assert that compacting GC only ever updates unmoved GC things or new copies of moved things and never the old copy r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D63871

--HG--
extra : moz-landing-system : lando
2020-02-26 10:17:07 +00:00
Henri Sivonen 77c7d03244 Bug 1618125 - Remove EventStateManager::GetContentViewer as dead code. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64321

--HG--
extra : moz-landing-system : lando
2020-02-26 09:58:02 +00:00
André Bargull f812612132 Bug 1617848: Assert ObjectGroup addendum is tenured. r=jandem
Uses a reinterpret_cast so we don't need to include `JSFunction.h` in this
header.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 09:59:19 +00:00
octavian.negru 5348ca01b5 Bug 1617877 - TypeError: environment can only contain strings with mach try fuzzy on Windows r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D64062

--HG--
extra : moz-landing-system : lando
2020-02-26 09:07:31 +00:00
Drew Willcoxon f0e5f5d0cb Bug 1615301 - Announce search tips as alerts for a11y. r=mak,Jamie,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D62759

--HG--
extra : moz-landing-system : lando
2020-02-26 08:44:07 +00:00
Coroiu Cristina 175d854d2c Backed out changeset 6b8f95b09b8e (bug 1617854) for build bustage at src/modules/libpref/Preferences.cpp on a CLOSED TREE 2020-02-26 10:36:09 +02:00
Jeff Gilbert 91ab854fc8 Bug 1617785 - Optimize GetDrawFetchLimits and vertexAttribPointer. r=lsalzman
Our goal here is to just be fast enough that we don't need to cache.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 00:44:26 +00:00
Martin Stransky e9f29bfa0a Bug 1617854 [Linux] Ship widget preferences at StaticPrefList.yaml r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D64047

--HG--
extra : moz-landing-system : lando
2020-02-26 08:18:28 +00:00
Jason Laster 65cbf8cd38 Bug 1616322 - Update Async Stack UI.
Differential Revision: https://phabricator.services.mozilla.com/D63212

--HG--
extra : moz-landing-system : lando
2020-02-26 06:24:04 +00:00
Marco Zehe c8821fff8b Bug 1608883 - Add test for multiple aria-details relations, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64109

--HG--
extra : moz-landing-system : lando
2020-02-26 00:05:29 +00:00
Arthur Iakab 49ed791eec Backed out 6 changesets (bug 1616716) forcausing multiple mochitest failures on test_ext_protocolHandlers.html
Backed out changeset 609cbe8b736e (bug 1616716)
Backed out changeset 9e61658c1778 (bug 1616716)
Backed out changeset a0e842d96cd6 (bug 1616716)
Backed out changeset 0174164a21e5 (bug 1616716)
Backed out changeset 35186917e79a (bug 1616716)
Backed out changeset 156d2898edb7 (bug 1616716)
2020-02-26 07:17:55 +02:00
Andrew McCreight de671d8e92 Bug 1604593 - Weaken assert in getNonWrapperObjectForCurrentCompartment(). r=bzbarsky
If we try to wrap an inner whose outer has navigated out of process,
then we'll get a remote window proxy, not a window proxy.

This was happening during the JS devtools test
browser_webconsole_block_mixedcontent_securityerrors.js

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

--HG--
extra : moz-landing-system : lando
2020-02-26 04:22:13 +00:00
Tetsuharu OHZEKI 8d0c3f46a5 Bug 1496147 - part 2: Remove nsAutoPtr usages from layout/inspector/. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D64058

--HG--
extra : moz-landing-system : lando
2020-02-26 04:14:14 +00:00
Tetsuharu OHZEKI bc1492747e Bug 1496147 - part 1: Remove nsAutoPtr usages from dom/bindings. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64057

--HG--
extra : moz-landing-system : lando
2020-02-25 17:20:34 +00:00
Tetsuharu OHZEKI 2a9b28c762 Bug 1496147 - part 0: Use alias template to define StrongPtrForMember<T>. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64056

--HG--
extra : moz-landing-system : lando
2020-02-25 16:49:58 +00:00
Mike Hommey 356b8e5725 Bug 1617801 - Add UPX as an explicit dependency. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64008

--HG--
extra : moz-landing-system : lando
2020-02-26 04:00:01 +00:00
Matt Woodrow aa0c8f3ec7 Bug 1616716 - Remove BrowserParent from DocumentLoadListener. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63429

--HG--
extra : moz-landing-system : lando
2020-02-26 02:56:21 +00:00
Matt Woodrow b76b3f5d8c Bug 1616716 - Remove BrowserParent from ParentChannelListener entirely. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D63428

--HG--
extra : moz-landing-system : lando
2020-02-26 02:55:43 +00:00
Matt Woodrow ef5d5d313a Bug 1616716 - Implement nsIRemoteWindowContext on ParentChannelListener. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D63427

--HG--
extra : moz-landing-system : lando
2020-02-26 02:55:05 +00:00