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

602110 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey e44bfe7b57 Bug 1471685 - Work around MSVC linker adding padding during incremental builds. r=froydnj
--HG--
extra : rebase_source : 0e6f711d5f8517ca37d39c6f5a39cd0c0e3ec387
2018-06-28 15:53:25 +09:00
Xidorn Quan 8a7d143341 Bug 1471766 - Ensure scrollcorner is handled for webrender. r=kats
MozReview-Commit-ID: JIIuG46WF3f

--HG--
extra : rebase_source : b5914ce3e77d0a3e64918d013e7eaf70611d9b41
2018-06-28 21:28:41 +10:00
Margareta Eliza Balazs b7abfb1fa3 Backed out changeset 9aa9b21d0108 (bug 1458917) for android reftest failures @ mozilla::net::nsSocketTransport::InitiateSocket on a CLOSED TREE 2018-06-28 15:47:07 +03:00
Nicolas Chevobbe e27df170c7 Bug 1471849 - Add mock for Services in json-viewer; r=Honza.
Services is now used in the reps bundle but can't be loaded in the json-viewer.
Since it's only used in the ObjectInspector, which we don't use in the json-viewer,
we can mock it.

MozReview-Commit-ID: DvAxzXTb67K

--HG--
extra : rebase_source : 59c907824e94825357e5049b83ba60afebeddc9a
2018-06-28 10:43:02 +02:00
Andi-Bogdan Postelnicu b61fe0d579 Bug 1471285 - [Clang-Tidy 5.0.1] Checker misc-suspicious-missing-comma has faulty test case. r=janx
MozReview-Commit-ID: 2COIi47WQBO

--HG--
extra : rebase_source : 4ea6e4cb26cad89a94f8453ca811daa895588bbf
2018-06-26 17:44:44 +01:00
Kris Maglione f66e192f39 Bug 1470716: Remove unused ExtensibleStringBundle support. r=gandalf
MozReview-Commit-ID: HpNjXK0IURv

--HG--
extra : rebase_source : 988d650e15f4082ad0b778163b661ec105d71096
extra : absorb_source : 55ede0cae193e3dfb6c1ce9e1caffe51a9005aa6
2018-06-23 23:12:31 -07:00
Kris Maglione 54bf3bc3c5 Bug 1470608: Remove StringBundleOverride service. r=gandalf
MozReview-Commit-ID: GYEvzmstW54

--HG--
extra : rebase_source : 9ae0a0cef7f4ae0e373f6ace7d26767616881409
extra : absorb_source : 98dae21cc3acda425cc885f7ae473a54a5ac71b4
2018-06-23 22:56:19 -07:00
Kris Maglione e6da28f1ce Bug 1470365: Part 3 - Use shared memory for StringBundles loaded in the content process. r=erahm,smaug
MozReview-Commit-ID: LunnQyndnBf

--HG--
extra : rebase_source : f67e08fc83e8c2e280d886b2d69150c09fb48200
extra : absorb_source : 3b9b226aaca168e3b6537f3031ff22275bd27133
2018-06-29 22:53:12 -07:00
Kris Maglione d89b3482b9 Bug 1470365: Part 2 - Add StringBundle implementation using shared memory maps. r=erahm,gandalf
This adds a basic StringBundle implementation using shared memory maps, but
doesn't yet hook them up to anything. They behave the same as ordinary string
bundles, but have the additional restriction that they are permanent for the
length of the session, and cannot be removed from the cache.

MozReview-Commit-ID: 4juGhhpCWPn

--HG--
extra : rebase_source : 3a9e30eeb64482056ad5c5b1fc480cf1e8333691
extra : absorb_source : e38998a347b641d4fd4243a6a1b7365543fee3c4
2018-06-28 14:45:21 -07:00
Kris Maglione 2bbae5374b Bug 1470365: Part 1 - Add a compact, read-only, shared-memory string map class. r=erahm
This class implements a shared memory key-value store that fits into a single
memory mapped segment. All of the runtime data for its instances are stored in
the shared memory region, which means that memory overhead for each instance
in each process is only a few bytes.

Importantly, the key and value strings returned by this class are also
pointers into the shared memory region, which means that once an instance is
created, its memory cannot be unmapped until process shutdown.

For the uses I intend to put it to, this is a reasonable constraint. If we
need to use it for shorter-lived maps in the future, we can add an option to
return non-literal dependent strings that will be copied if they need to be
kept alive long term.

MozReview-Commit-ID: 5BwAaDsb7HS

--HG--
extra : rebase_source : b472fe628018f88a2c4d6b3de4b7143aeca55e14
extra : absorb_source : 5cdeb568cfd2b4a5a767191402e699e61e653b3b
2018-06-29 22:50:41 -07:00
Abdoulaye O. Ly d59d524fbe Bug 1458060 - Implement ability to pin/unpin a selection of tabs. r=jaws
MozReview-Commit-ID: Hqt8QrqQ62V

--HG--
extra : rebase_source : d7edcc85fbe7dd217b4a129f9c7d87457eca3284
2018-06-23 18:07:48 +00:00
Marco Bonardo b1e7eefd9a Bug 1472127 - Update to Firefox 61.0 may wrongly remove incorrectly parented roots. r=standard8
MozReview-Commit-ID: 6ZRBERi0PaW

--HG--
extra : rebase_source : f09dae0f0f818a763b14dafe014e59c543471638
2018-06-29 17:46:59 +02:00
Razvan Caliman e0808fc9a0 Bug 1466816 - Ensure rule models are available to the font editor even if the Rule view is not visible. r=gl
MozReview-Commit-ID: 2OHQp3cfk08

--HG--
extra : rebase_source : b3671508e0928bcee41041eb87e0cd84d6cb724c
2018-06-27 20:26:00 +02:00
Kris Maglione fd093e7cca Bug 1463587: Part 1 - Add helper class for creating snapshots of shared memory regions. r=jld,erahm
This class allows us to map a read-write shared memory region, and then safely
remap it read-only, so that it can be shared with sandboxed content processes.

MozReview-Commit-ID: 2PJMQgOwA4V

--HG--
extra : rebase_source : c556cabfa7d379a91dc9ef7171ac0a7d7d8fb32e
extra : absorb_source : e78e304ed95891c694050f79a0bb5d40d11ee884
2018-06-22 20:30:23 -07:00
Jesse Ruderman 5b6cf04d31 Bug 1233607 - Add crashtest. r=me DONTBUILD 2018-06-30 20:54:35 +02:00
Nils Ohlmeier [:drno] bfea03ea24 Bug 1335206: enable emitting datachannel draft 21 format. r=bwc
MozReview-Commit-ID: 9zWz8ct4ERZ

--HG--
extra : rebase_source : 83a7fc8f3d20e59436bbc37fe93dc00ec8c30683
2018-06-22 15:49:03 -07:00
J. Ryan Stinnett 84c4eba82e Bug 1365626 - Remove View MathML Source feature. r=mconley
The in-tree version of View MathML Source appears to have low usage, so it seems
reasonable to remove.  A similar feature is available as an add-on.

In recent months, the in-tree version has actually been broken, which wasn't
noticed for quite a while.  This adds further evidence for removal given the
lack of maintenance and interest in this feature.

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

--HG--
extra : moz-landing-system : lando
2018-06-28 20:45:31 +00:00
Kiran 47c93cc6da bug 1427765 - Add gtest coverage for accumulating using strings r=chutten
MozReview-Commit-ID: CSXigsG8TI0

--HG--
extra : rebase_source : 0e0ff739c4ea8f13f8aab06af2b134691a1f4f84
2018-06-28 15:10:37 -04:00
Anny Gakhokidze 535e3c83a1 Bug 1470540 - Improve performance of DataTransfer::CacheExternalClipboardFormats, r=baku,mccr8
Currently, in order to retrieve supported clipboard formats
DataTransfer::CacheExternalClipboardFormats repeatedly makes the same calls to
clipboard->HasDataMatchingFlavors.

In the case when aPlainTextOnly == true only 1 call is made -
clipboard->HasDataMatchingFlavors(kUnicodeMime, ...), and when
aPlainTextOnly == false we have 1 call made for every member of the list
{ kCustomTypesMime, kFileMime, kHTMLMime, kRTFMime, kURLMime, kURLDataMime,
kUnicodeMime, kPNGImageMime } - a total of 8 calls.

We can see that in nsClipboardProxy::HasDataMatchingFlavors, there is a call to
ContentChild::GetSingleton()->SendClipboardHasType.
So when aPlainTextOnly == true, we will have 1 sync message, and when
aPlainTextOnly == false, we will have 8 sync messages.

With the proposed solution, in DataTransfer::CacheExternalClipboardFormats
we will only have 1 sync message regardless of the case because
GetExternalClipboardFormats() will retrieve all supported clipboard
formats at once.

MozReview-Commit-ID: CAmBfqB459v

--HG--
extra : rebase_source : 27f1b420f2613e6a747ed63762f1583ab71ba3e0
2018-06-22 14:28:27 -04:00
Doug Thayer b7326c7d5f Bug 1471964 - Fix RSS feeds after Places observer redesign r=mak
1. Hold onto the weak callback reference inside livemarks so it
   doesn't get GC'd.
2. Update other consumers of updateURIVisitedStatus to use the
   string spec.

MozReview-Commit-ID: 2GOROCIJ4aA

--HG--
extra : rebase_source : e408ad53524d60f9e8ca07fa180d53b2a83dd643
2018-06-28 13:39:00 -07:00
Gijs Kruitbosch 4758d21e57 Bug 1472230 - warm up tab we'd switch to on-middle-mouse-button-down on tabs, r=mconley
Warm up tabs when users mouse down with the middle mouse button.

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

--HG--
extra : moz-landing-system : lando
2018-06-29 16:21:05 +00:00
Johannes Willbold cebc31c9ec Bug 1436403: Setting rtpmap channels in rust. r=dminor
Removed the code setting the channels for an rtpmap attribute in the C++ glue code.
Added Rust code that accounts the data in SdpMedia accordingly for rtpmap.

MozReview-Commit-ID: 2D5MVLJxXoh

--HG--
extra : rebase_source : ae54885e3d2cccdd04f5f758bddcf2d134f3a843
2018-06-25 14:01:37 -07:00
Michael Ratcliffe 36f5977d20 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n

--HG--
extra : rebase_source : c15d2768be6c551c8f2bfea51de7d96c1fcff11f
2018-06-29 16:36:24 +01:00
Michael Kaply df559c955a Bug 1463846 - Switch enterprise only policies to be machine on Windows. r=Felipe
MozReview-Commit-ID: 3lWwfzjVbhS

--HG--
extra : rebase_source : ab618361eed0ceaba64a50865ff4c628101c5922
2018-06-28 14:33:32 -05:00
Michael Kaply 0a4b780d16 Bug 1471355 - Block all chrome URLS if about: policy is active. r=Felipe
MozReview-Commit-ID: Ei1HglhfHjo

--HG--
extra : rebase_source : db67b71f759a3ae398d4c181e1354bb8b120387d
2018-06-26 16:08:16 -05:00
Dão Gottwald c80515dd88 Bug 1468060 - Fix disabled styling for toolbaritem-combined-buttons in appMenu-popup. r=jaws
MozReview-Commit-ID: 2GfHwaiQL73

--HG--
extra : rebase_source : df492dccdbfe74d4d6a9a29696b0991e70fb210f
2018-06-29 14:15:32 +02:00
Gurzau Raul 8895c91208 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-29 18:23:21 +03:00
Bryce Van Dyk 7928956283 Bug 1450952 - If TrackBuffersManager is sent the same init segment, reuse same StreamID. r=jya
Some MSE streams will resend the same init segment. In these cases we can treat
the following data as belonging to the already existing stream. We do this by
reusing the same stream id. This stops us tearing down and restarting decoders
in these cases.  This has the benefit of stopping us introducing gaps to audio
and/or video.

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

--HG--
extra : moz-landing-system : lando
2018-06-29 07:33:23 +00:00
Dave Townsend 1a6acb1b36 Bug 1435721: Use NS_MakeRandomString for salting the profile directory. r=florian
This function is practically identical to the code used to salt the profile
directory except it was fixed to not return matching strings when called in the
same second by bug 867769.

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

--HG--
extra : moz-landing-system : lando
2018-06-29 13:23:18 +00:00
Israel Madueme ff24bc0a85 Bug 1468821 - Remove .menu-iconic-right selectors from menu.css. r=dao
The .menu-iconic-right class is not used anymore so it can be removed.

MozReview-Commit-ID: 9hBGemRLB1l

--HG--
extra : rebase_source : 8a86d6cf5f244321a1eee61739878d3215ec077e
2018-06-29 01:37:04 -04:00
Michael Ratcliffe 4e428a3269 Bug 1463092 - Instrument inspection of 'Jump to Source' in the Web Console with event telemetry r=jdescottes
MozReview-Commit-ID: DF54uBCDX1n

--HG--
extra : rebase_source : e1466cc046a5cd5a211bbc39a050fc40df9b4522
2018-06-22 16:56:51 +01:00
Michael Ratcliffe 8ff298bb4c Bug 1470432 - Land approved debugger.html telemetry event probes in Events.yaml r=miker
MozReview-Commit-ID: LD1mNET7xPk

--HG--
extra : rebase_source : 2d195e7134590e8c274220dbd58de8c57070aa25
2018-06-22 14:44:02 +01:00
Dave Townsend a518f2709e Bug 1469374: Remove code that tracks failed favicon loads. r=mak
Reviewers: mak

Tags: #secure-revision

Bug #: 1469374

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

--HG--
extra : rebase_source : 44e3a25e3c925307281f7a5bda12060aa2ad811a
2018-06-18 15:09:01 -07:00
Geoff Brown bea4bee944 Bug 1472032 - Increase Android browser time-out to 110 minutes; r=me,a=test-only
This time-out has traditionally been 90 minutes. It mustn't exceed the 120 minute
task time-out for android browser tests. Let's try 110 minutes.
2018-06-29 16:05:58 -06:00
Coroiu Cristina faf5fca2f0 Merge mozilla-central to mozilla-inbound a=merge on a CLOSED TREE 2018-06-30 01:02:10 +03:00
arthur.iakab 482de2e667 Backed out changeset 1151417e03e5 (bug 1464610) for failing mochitests and crashtest on gfx\gl\GLLibraryEGL.h:342
--HG--
extra : rebase_source : 753f93c24c6bc268d5348088dc0e0888178f8762
2018-06-30 00:20:14 +03:00
Eric Rahm e36783bdd1 Bug 1472018 - Limit the lock scope in WebCryptoThreadPool::Shutdown. r=bz
In bug 1364624 we switched over to SRWLock on Windows for our internal
implementation of mozilla::Mutex. This doesn't allow for re-entrancy. The
WebCryptoThreadPool shutdown code has potential for re-entrancy due to the
spinning of the main thread event loop while shutting down the worker threads.

By limiting the scope of the lock protecting mPool during shutdown we can avoid
the re-entrancy. Addtionally we track the shutdown status to avoid dispatching
events once shutdown has started.

--HG--
extra : rebase_source : 6e97a1fbdf4033ef93b3ecbafcf4b7898d9b19af
2018-06-28 15:34:40 -07:00
Gabriele Svelto 6390ab3471 Bug 1469309 - Remove an unused sensor type; r=agaynor
--HG--
extra : source : 12d7dd36b8ccb80e866d0da7fcb7e44fcb690b0b
extra : histedit_source : b5aedb2bcf0adc8ce650124544cebd82cecbdc33
2018-06-19 09:18:09 +02:00
Dragana Damjanovic c73d6a6cda Bug 1453204 - Fix 425 return code for websocket. r=michal
--HG--
extra : rebase_source : 7455df696dd97cf3b457edf6d227128432bce04a
2018-06-29 09:10:00 +03:00
Ryan VanderMeulen d143d55d8a Bug 1472312 - Update pdf.js to version 2.0.641. r=bdahl 2018-06-29 17:02:22 -04:00
Kai Engert 414d1a4cdd Bug 1470914, NSS 3.39 beta revision c84a61acb17d UPGRADE_NSS_RELEASE r=me 2018-06-29 22:49:35 +02:00
André Bargull 4db79fda8c Bug 1471931 - Part 5: Use MakeUnique in more places and replace manual js_delete with UniquePtr. r=sfink
--HG--
extra : rebase_source : cb6018da067352c1c1a04c3ff0385fa0cf70e020
2018-06-29 02:33:51 -07:00
André Bargull 8695012030 Bug 1471931 - Part 4: Add NewString and NewStringDontDeflate functions which accept UniquePtr. r=sfink
--HG--
extra : rebase_source : 19abdbf337c92c6d01440330fd582852b2821753
2018-06-28 09:30:46 -07:00
André Bargull 996da1bf7f Bug 1471931 - Part 3: Switch to pod_calloc_with_extra, new_, make_pod_array, and make_zeroed_pod_array where possible. r=sfink
--HG--
extra : rebase_source : 221362e7e3932ecb3f5bcf748035d5671e15e63b
2018-06-28 09:26:02 -07:00
André Bargull 3a0781eb94 Bug 1471931 - Part 2: Replace manual memory management with UniquePtr in a few places. r=sfink
--HG--
extra : rebase_source : dbdd66450524fd4b10704a557df0fe5b7c45a040
2018-06-28 09:17:05 -07:00
André Bargull 1a557942d7 Bug 1471931 - Part 1: Replace some js_malloc/js_calloc/js_realloc with their js_pod_malloc/js_pod_calloc/js_pod_realloc counterparts. r=sfink
--HG--
extra : rebase_source : bb479e5f058fe51f62fc5584ec41b33eeffc77f5
2018-06-28 09:07:44 -07:00
James Willcox dc6c4980b7 Bug 1464610 - Don't use EGL_KHR_surfaceless_context on Mali devices r=jgilbert
MozReview-Commit-ID: 2YlTVo86u0c
2018-06-29 14:50:34 -05:00
Eric Rahm d545dc0998 Bug 1470831 - Only disable sandboxing in dmd builds. r=bc
Disabling sandboxing seems to cause a memory regression for win32 builds which
affects our AWSY numbers. This switches over to only disabling sandboxing if
using a DMD build so that we can still run without crashing.

--HG--
extra : rebase_source : 9887c19cdd746aec9f6d9e64561f2226cd1ce443
2018-06-25 11:52:21 -07:00
Martin Robinson 34359c5dd9 Bug 1470125 - Update WR bindings for changes in WR PR 2848. r=Gankro
MozReview-Commit-ID: D2hLIqlnfU6

--HG--
extra : rebase_source : 6a0ef8c6d61ab937695c42224eb3acb0a5e531f7
2018-06-13 15:40:13 -07:00
Kartikaya Gupta f15fbbcb7b Bug 1470125 - Update bindings for changes in WR PR 2849. r=Gankro
MozReview-Commit-ID: JZtSKH5hZtO

--HG--
extra : rebase_source : c2543e9925efbdd0249d8f6e306f62455e12ac48
2018-06-28 11:48:47 -04:00