Commit Graph

604845 Commits

Author SHA1 Message Date
Kris Maglione
9b7d0838b7 Bug 1475899: Part 1 - Track live nsThreads and add a method of enumerating them. r=erahm
This will allow us to enumerate active threads in order to report their
memory.

MozReview-Commit-ID: IExELSkFdwB

--HG--
extra : source : 2916b5e05b6d100e91448f21cb4082e41a86e87c
2018-07-14 02:19:59 -07:00
Nathan Froyd
e8ffb68819 Bug 1476799 - remove references to Stylo from bindgen configure code; r=gps
At some point, either bindgen will begin generating not-related-to-Stylo
things or we will start using bindgen in multiple places.  Either way,
the references to Stylo should go away.
2018-07-18 19:11:07 -04:00
Brindusan Cristian
9cde10a0a1 Backed out 5 changesets (bug 1475899) for build bustages on /workspace/build/src/xpcom/base/MemoryMapping.cpp. CLOSED TREE
Backed out changeset fbf0e4b12c8e (bug 1475899)
Backed out changeset b4394660fde2 (bug 1475899)
Backed out changeset e89ebe1f22f2 (bug 1475899)
Backed out changeset 391b97f0e5c0 (bug 1475899)
Backed out changeset 2916b5e05b6d (bug 1475899)
2018-07-19 02:02:40 +03:00
sotaro
432fb44cee Bug 1475187 - Remove AsyncImagePipelineManager::ApplyAsyncImages() call from WebRenderBridgeParent::RecvSetDisplayList() r=kats 2018-07-19 07:51:37 +09:00
Kris Maglione
4dab7b4343 Bug 1475899: Part 5 - Add thread stack memory reporter for Windows. r=erahm,aklotz
MozReview-Commit-ID: Bv6OPmUhl5Y

--HG--
extra : rebase_source : b159db438a3c1a7b9d2bbb11f36100f9a89d567e
2018-07-17 13:09:45 -07:00
Kris Maglione
3d58783354 Bug 1475899: Part 4 - Add memory reporter for committed thread stack sizes on Linux. r=erahm
Later patches add support for Windows. OS-X will need a follow-up.

MozReview-Commit-ID: DDd6uir4KzM

--HG--
extra : rebase_source : a28826d3331d057f4d35bec56da7738a727d9768
2018-07-14 02:21:30 -07:00
Kris Maglione
c13f3c0a1d Bug 1475899: Part 3 - Add helper for parsing memory mappings on Linux. r=erahm,jld
The only real way to get memory mapping information on Linux is to read and
parse /proc/self/maps, and infer information about a specific pointer based on
its contents.

This patch adds a helper which parses the entire contents of smaps, and
returns an array of objects describing each region. It also updates resident
unique reporter to use that helper. Later patches use it to map stack base
addresses to VM regions, and report their usage data.

MozReview-Commit-ID: 8VUu1kMT77L

--HG--
extra : rebase_source : e9c233aa828b57efa5c0c154cdb9c7d049cc3312
2018-07-14 02:20:55 -07:00
Kris Maglione
9ce29230ec Bug 1475899: Part 2 - Store stack base pointer for nsThreads on Linux. r=erahm,jld
This change stores the base allocation address and actual allocated stack size
(as opposed to the requested size, which may be 0), so that we can map them to
VM regions in a memory reporter.

MozReview-Commit-ID: IZbbyQ9pKHr

--HG--
extra : rebase_source : 1b61bfd63931ce9e2bf9a71905468336971d0956
2018-07-14 02:28:05 -07:00
Kris Maglione
7d18889141 Bug 1475899: Part 1 - Track live nsThreads and add a method of enumerating them. r=erahm
This will allow us to enumerate active threads in order to report their
memory.

MozReview-Commit-ID: IExELSkFdwB

--HG--
extra : rebase_source : 94b63857357639b201b85bdd7bfc4fbe1d4b7f62
2018-07-14 02:19:59 -07:00
Gijs Kruitbosch
3c7235e904 Bug 1476035, r=jkt
--HG--
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.html => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.html
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.js => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.js
extra : rebase_source : 3322967a084f771186a0de05eaadc98059e399c5
2018-07-17 15:36:43 +01:00
Nicolas Chevobbe
2fef8acb19 Bug 1473923 - Autocomplete console commands; r=yulia.
MozReview-Commit-ID: LpbIzheFmeT

--HG--
extra : rebase_source : 2e40528ff43b76571ec59ce8af591cd71c828251
2018-07-13 08:54:23 +02:00
Margareta Eliza Balazs
8f114fd737 Backed out changeset 6cc8354ce3c5 (bug 1378647) for causing failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_basic.html on a CLOSED TREE 2018-07-19 15:17:42 +03:00
Gijs Kruitbosch
22172a0279 Bug 1441039 - same-document changes should cause empty URL bar to fill back up for current tab, r=mak
Make URLBarSetURI more explicit about what it's looking for in `value`,
and ensure the tabbrowser's progress listeners reset the userTypeValue if it's
empty already and there's a same-site document change.

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

--HG--
extra : moz-landing-system : lando
2018-07-19 10:47:23 +00:00
Shane Caraveo
1466ab5a62 Bug 1378647 - support creating lazy tabs from extensions, r=mikedeboer,rpl
MozReview-Commit-ID: 9QMkNtCQG6P

--HG--
extra : rebase_source : 97a1e41f681ae3614c5db87d40c12bbe54ef18ed
2018-07-18 16:17:30 -03:00
Kanika Saini
ef19b4d62b Bug 1469943 - Enterprise policy to set a custom app update URL. r=felipe 2018-07-12 22:33:50 +05:30
Kanika Saini
f25545119e Bug 1476734 - Remove URI_SAFE_FOR_UNTRUSTED_CONTENT for aboutPolicies.xhtml. r=felipe 2018-07-19 00:32:59 +05:30
shindli
44fb8511ea Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-19 00:50:20 +03:00
shindli
6cdfd81b2e Merge inbound to mozilla-central. a=merge 2018-07-19 00:45:25 +03:00
Kris Maglione
70f741edc9 Bug 1472342: Part 2 - Update SharedMap iterator methods to use provided JSContext. r=bz
MozReview-Commit-ID: E9RHi41HJCy

--HG--
extra : rebase_source : 1d89f88cf67d56367314d1aa909dccb340719e34
2018-07-18 13:08:44 -07:00
Kris Maglione
72ae1375d1 Bug 1472342: Part 1 - Properly support iterator getters which need JSContexts. r=bz
The IterableIterator helper currently only supports iterator methods which
return types which are supported by ToJSValue, but do not need a JSContext* to
construct them. That means that getters which need to return native JS objects
or values can't do so safely, or without resorting to hacks.

This patch adds templated helpers which will call a JSContext-accepting,
JS::Value-returning version of the getter methods if they exist, and fall back
to the simpler versions if they don't.

MozReview-Commit-ID: hedZOc3lqR

--HG--
extra : rebase_source : b92cdc3900b3c9bee41836af4d4b9f4e65f3d5f6
2018-07-18 13:09:04 -07:00
Xidorn Quan
99d822fb5f Bug 1474959: Add a visited reftest for different logical border color with different writing modes. r=emilio
MozReview-Commit-ID: 7kWSEsuXQzC
2018-07-18 22:15:11 +02:00
Emilio Cobos Álvarez
7a19e88052 Bug 1474959: Remove IS_STYLE_IF_VISITED. r=xidorn
MozReview-Commit-ID: 8rnlaMOJisA
2018-07-18 22:15:10 +02:00
Emilio Cobos Álvarez
7fb0be4298 Bug 1474959: Push visited style computation a bit further down. r=xidorn
MozReview-Commit-ID: 1DILenWIw4D
2018-07-18 22:15:09 +02:00
Ryan Hunt
c7eb70ba65 Bug 1471639 - Allow OMTP with edge-padding. r=nical
MozReview-Commit-ID: JUNk79jLQcj

--HG--
extra : source : a6aacf58c4a6dc5621c3faa0387f775d699aa6f1
2018-07-16 15:01:26 -05:00
Luca Greco
c8560a19b2 Bug 1470213 - Collect some per-addon telemetry related to the storage.local data migration results. r=chutten,mixedpuppy
MozReview-Commit-ID: BOWPHEwE9Cg

--HG--
extra : rebase_source : 91bf44a2c28521085d75ad52deb2f110c5ef7d19
2018-07-06 18:56:20 +02:00
Dão Gottwald
8941462ca7 Bug 1470394 - Make bookmark panel width localizable. r=mak
MozReview-Commit-ID: 5vtMOxxlQH6

--HG--
extra : rebase_source : 25b8c413fe5c65d65b0d2712e299e256a5a18af6
2018-07-18 14:08:53 +02:00
Margareta Eliza Balazs
0cf58ddcab Backed out 9 changesets (bug 1152401) for android gv-junit failures org.mozilla.geckoview.test.PermissionDelegateTest.media on a CLOSED TREE
Backed out changeset 987f2e0b2cb1 (bug 1152401)
Backed out changeset e45630a7c7b1 (bug 1152401)
Backed out changeset 95661c6cd914 (bug 1152401)
Backed out changeset d68ab111809f (bug 1152401)
Backed out changeset 10b039210911 (bug 1152401)
Backed out changeset aebabaa96ad3 (bug 1152401)
Backed out changeset 93457990e40f (bug 1152401)
Backed out changeset 1630f67ac197 (bug 1152401)
Backed out changeset aef64bf5b024 (bug 1152401)
2018-07-19 13:35:58 +03:00
Gurzau Raul
636e7285e3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-19 12:57:55 +03:00
Emilio Cobos Álvarez
f206e569cd Bug 1476470: Remove dead code from nsStyleUtil. r=jwatt
This is dead since we started serializing the relevant stuff with Servo.

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

--HG--
extra : moz-landing-system : lando
2018-07-19 09:50:09 +00:00
Masayuki Nakano
2fa716ed4d Bug 1467799 - part 2: Stop using nsIEditor::GetDocumentIsEmpty() from C++ code r=m_kato
nsIEditor::GetDocumentIsEmpty() is a virtual code and there is non-virtual
method, TextEditor::IsEmpty().  So, any callers in C++ should use
TextEditor::IsEmpty() instead.

MozReview-Commit-ID: CQE8LP6XI96

--HG--
extra : rebase_source : e0027c3d71856adcd5fa7820bf936a6b405560c5
2018-07-18 17:51:49 +09:00
Masayuki Nakano
0d09e1a26a Bug 1467799 - part 1: Remove implementation of EditorBase::GetDocumentIsEmpty() and rename TextEditor::DocumentIsEmpty() to TextEditor::IsEmpty() r=m_kato
EditorBase::GetDocumentIsEmpty() is never called since it's overridden by
TextEditor::GetDocumentIsEmtpy() and never called directly.  So, we can remove
its implementation.

Additionally, DocumentIsEmpty() is redundant. We can make it just IsEmpty().

MozReview-Commit-ID: CGsNzCHyVf

--HG--
extra : rebase_source : 3a8eeaf108bb387ea559e0643acfa96e26768577
2018-07-18 17:44:14 +09:00
Bharat Raghunathan
ed18aadb0f Bug 1476135 - Remove unused FileUtils.jsm import from layout/tools/reftest/bootstrap.js r=marco
MozReview-Commit-ID: HbvvS4xY8TN

--HG--
extra : rebase_source : eeef72c3f8c15447d760b26a103ae1ca16c4610e
2018-07-18 22:22:33 +05:30
Paul Adenot
5dae77130d Bug 1152401 - Augment AudioDeviceInfo with a cubeb device id. r=padenot
MozReview-Commit-ID: 7QOcM5ITrxv

--HG--
extra : rebase_source : 41071cfbccfc22b0c8a3b2d6a5405d4fbf23c16d
2018-07-18 10:38:34 +02:00
Alex Chronopoulos
9e3e8b757e Bug 1152401 - Rename SourceSet to MediaDeviceSet to help readability. r=jib
MozReview-Commit-ID: KLXeicyEBFG

--HG--
extra : rebase_source : 02b70606e708d414cfeb3e38a2569c1d85c1d853
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
fb5a69fe6f Bug 1152401 - Create pref to enable enumeration of output devices. r=jib
MozReview-Commit-ID: G1oB6hlBcsl

--HG--
extra : rebase_source : f966c58496394947094ca66de0079a79b33a745d
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
0237439056 Bug 1152401 - Use mKind member of MediaDevice in MediaDeviceInfo to avoid string comparisons. r=jib
MozReview-Commit-ID: Kfqb7DZlwO2

--HG--
extra : rebase_source : 9e3ec1b4df4d90a20ff270f0e83a789631890cbe
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
c893b1d98d Bug 1152401 - Implement enumeration of speaker devices. r=jib
MozReview-Commit-ID: CppImscUcz4

--HG--
extra : rebase_source : aed0355743d547bd7b405a6b834cf9ab50edc4ee
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
0a08cf0372 Bug 1152401 - Update enumerate methods of MediaManager and MediaEngine to accept audio sink type. r=jib
MozReview-Commit-ID: 1RClh9UNQck

--HG--
extra : rebase_source : 23e3f1b9e4ad42f0cff86d3903e2b0c7e5bc6a01
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
0e13e8f104 Bug 1152401 - Add MediaDeviceKind member in MediaDevice to differentiate sink devices. r=jib
MozReview-Commit-ID: E6SGabjpqIA

--HG--
extra : rebase_source : ec79f2f8d949334209c0346e624fa4b16c8732a5
2018-07-16 11:29:12 +02:00
Alex Chronopoulos
43ba614cd9 Bug 1152401 - Use MediaDevice in MediaEngine to allow enumeration of both sinks and sources. r=jib
MozReview-Commit-ID: 6ntA5YUFSnN

--HG--
extra : rebase_source : d90bc121bc8e4152d76429e2a49f4d4cc1cf439e
2018-07-11 08:59:13 +02:00
Alex Chronopoulos
97c47e4336 Bug 1152401 - Create MediaSinkEnum for speakers. r=jib
MozReview-Commit-ID: 2FUrm3ZI05S

--HG--
extra : rebase_source : 02552f5ab399f075d5128037a0743b3a7dbb350d
2018-07-11 08:59:13 +02:00
Tim Nguyen
6813f7f034 Bug 1435191 - Enforce limit in additional_backgrounds field. r=jaws
MozReview-Commit-ID: E5QuWn48kdm

--HG--
extra : rebase_source : c3adb3b6133d32df94fd6160176fb45d4a720016
2018-07-18 23:05:36 +01:00
Johannes Willbold
5b98a7844f Bug 1432920: Part 2: Added C++/Rust glue code for dtls-message, r=bwc
Added C++/glue code for the dtls-message attribute.
Enabled the C++ unit test CheckDtlsMessage.
Added a branch in the rust parsing that discardes dtls-messages on media level.

MozReview-Commit-ID: 9tcWOtH8GbV

--HG--
extra : rebase_source : 4853e51e1cc6734760c243da8e27dc714c89d219
2018-07-05 17:09:10 -07:00
Johannes Willbold
c0ae9af419 Bug 1432920: Part1: Added dtls-message parsing in rust, r=bwc
Added dtls-message parsing in rust.
Added a rust testcase for the dtls-message parsing.

MozReview-Commit-ID: G8boBkxlJmX

--HG--
extra : rebase_source : 40ee205294adf099f51321ec7bde8cbff5db6297
2018-07-05 16:33:30 -07:00
Petru Lingurar
4e1a76e259 Bug 1476352 - Building Fennec fails with crash reporting off; r=jchen
MozReview-Commit-ID: AvKQIoxNVRJ

--HG--
extra : rebase_source : 86bb81ab25cf16e864fbff743b82913bc12ab6a0
2018-07-18 17:28:40 +03:00
Cosmin Sabou
099320d8ad Merge mozilla-central to autoland. a=merge 2018-07-18 20:21:59 +03:00
Cosmin Sabou
88199de427 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-18 20:19:59 +03:00
Kartikaya Gupta
bbf5082371 Bug 1475252 - Update for API change in WR PR 2893. r=jrmuizel
MozReview-Commit-ID: JOxruqyKcFp

--HG--
extra : rebase_source : c9814622ebe9ad409b1edab44fa7e56407861f77
2018-07-18 12:04:13 -04:00
Ryan Hunt
72b3d724c5 Bug 1471704 - Reftest annotation changes for tiling on linux. r=nical
MozReview-Commit-ID: 4dqnHHJQZ8r

--HG--
extra : source : 388b977365765c5e0edac355fbe4576687c09878
2018-07-16 12:30:48 -05:00
Robert Bartlensky
e0e5aaf219 Bug 1476014: Remove unnecessary postincrement. r=froydnj
MozReview-Commit-ID: 6tvC4VWcUiC

--HG--
extra : rebase_source : b40fe3e8cd827f15a947a889b154fd1ba0ffca75
2018-07-16 17:36:36 +01:00