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

604710 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
Robert Bartlensky 96ad373359 Bug 1476011: Initialize opcode on different value. r=jandem
MozReview-Commit-ID: 10GPnHgwD24

--HG--
extra : rebase_source : e7e11b2eb4565785864fa6c82c043cb811761cb7
2018-07-16 17:45:18 +01:00
Robert Bartlensky 4313eb7124 Bug 1476009: Remove unnecessary initialization. r=mak
MozReview-Commit-ID: LyDzKB6gein

--HG--
extra : rebase_source : 11b65a89fdc90263e46f69c67909c5a8a43046f6
2018-07-16 17:56:02 +01:00
Rob Wood f3f62796a4 Bug 1473389 - Port raptor-speedometer to google chrome (chromium) on win7/win10/osx/linux64; r=jmaher
MozReview-Commit-ID: FE7XC4JNLD1

--HG--
extra : rebase_source : 15bafd218eebea8393ea311dbb22660c61a8bc06
2018-07-06 14:41:00 -04:00
Robert Bartlensky 85ef2b4c49 Bug 1475282: Fix DEAD_STORE issues in ProfileReset. r=erahm
MozReview-Commit-ID: 45COqLBdEze

--HG--
extra : rebase_source : 915361d1464c751c693f091cc2926661d6dbfa59
2018-07-16 18:27:16 +01:00
Robert Bartlensky b357f1861c Bug 1476015: Fix DEAD_STORE issues reported by infer. r=froydnj
MozReview-Commit-ID: 6DYpX3kCAl9

--HG--
extra : rebase_source : 6557dd1fcf967e0e242cd220f70fe4878c6fea15
2018-07-16 17:21:00 +01:00
Robert Bartlensky 7685bc5e80 Bug 1474973: Fix NULL_DEREFERENCE errors. r=nalexander
MozReview-Commit-ID: 8petRuuRGv

--HG--
extra : rebase_source : dfcf4c22fa7b6bcedb041f7ea5a43615bdbf07ae
2018-07-12 10:53:44 +01:00
Robert Bartlensky 9bca3bcbe3 Bug 1474967: Fix resource leaks. r=nalexander
MozReview-Commit-ID: GzENpXSdltH

--HG--
extra : rebase_source : c899e93a1bc4819d16a079704f0db3818e602b18
2018-07-11 18:30:25 +01:00
Robert Bartlensky 81e9f4f29d Bug 1474928: Close files and connections. r=nalexander
MozReview-Commit-ID: DZ6kzl7Lcf4

--HG--
extra : rebase_source : 30a94105586d7fe45593b481556541cfc9cda4b3
2018-07-11 16:54:35 +01:00
Jan-Erik Rediger 392c429071 Bug 1475988 - Track histogram memory usage r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2160

--HG--
extra : moz-landing-system : lando
2018-07-18 13:47:19 +00:00
Jan-Erik Rediger 57a3d0e057 Bug 1475988 - Report memory usage per Telemetry submodule r=gfritzsche
Differential Revision: https://phabricator.services.mozilla.com/D2159

--HG--
extra : moz-landing-system : lando
2018-07-18 13:46:27 +00:00
Rob Wu 7d65dd2559 Bug 1459404 - Add permalink of explanation to garbageCollection logic r=mixedpuppy
At the time of the commit that introduced the original comment in
damp.js, the non-permalink pointed to
https://searchfox.org/mozilla-central/rev/33c21c060b7f3a52477a73d06ebcb2bf313c4431/xpcom/base/nsMemoryReporterManager.cpp#2574-2585
This commit changes the non-permalink to the following permalink:
https://searchfox.org/mozilla-central/rev/33c21c060b7f3a52477a73d06ebcb2bf313c4431/xpcom/base/nsMemoryReporterManager.cpp#2574-2585,2591-2594

This permalink does not only include the original snippet, but also
highlights the member and explanation that explains the need for the
three iterations of the loop (at https://bugzil.la/610166#c12 ).

MozReview-Commit-ID: 14Ypsq4mdIy

--HG--
extra : rebase_source : ca92f07e122b3655b7477c751f620626b49379d5
2018-07-17 22:01:46 +02:00
Rob Wu 34e59e9d47 Bug 1459404 - Add regression test for GC of ExtensionPageContextChild r=mixedpuppy
MozReview-Commit-ID: 65NexMbRlDh

--HG--
extra : rebase_source : 1785ef9bd3f6ea6e281fc7fa9dead9552913c317
2018-07-17 18:22:27 +02:00
Rob Wu 49d25fee18 Bug 1459404 - Ensure that ChildAPIManager can be garbage-collected. r=mixedpuppy
MozReview-Commit-ID: IEGq1mo4WWq

--HG--
extra : rebase_source : fac5e24382cdeda4fb2573f09f85e111c629fe47
2018-07-17 18:17:52 +02:00
Martin Robinson b4ca607f57 Bug 1475252 - Update for API changes in WR PR 2871. r=kats
This change has WrClipId contain the ClipId type (except for clip
chains, which are handled separately) in the least significant bit of
the size_t. On 32-bit systems this limits the number of clip and spatial
nodes to 2,147,483,648 which is likely more than what WebRender can
handle.

MozReview-Commit-ID: 1cpZCBt1wL7

--HG--
extra : rebase_source : 8183570e37bf6da69a3e7335d63fc47cad191fe9
2018-07-04 13:27:59 +02:00
Kartikaya Gupta 2e759049d9 Bug 1475252 - Update Cargo lockfiles, re-vendor rust dependencies, and re-generate FFI header. r=jrmuizel
MozReview-Commit-ID: 72cMhrmtbIq

--HG--
extra : rebase_source : a66d0da4efd86d3a6f164f35c753053719ebc5f8
2018-07-18 12:04:12 -04:00
Kartikaya Gupta f2b5cc3b94 Bug 1475252 - Update webrender to 88dab3f611b05516c1c54a7cb35813b796b08584. r=jrmuizel
MozReview-Commit-ID: 8LaR1FMY1M3

--HG--
extra : rebase_source : 1de336969d47ca8d2ce21585844bb261f7e3d10b
2018-07-18 12:04:12 -04:00
Kashav Madan 1b2d8260ea Bug 1465616 - Add a mochitest for fixed position hit-testing. r=botond
MozReview-Commit-ID: IC82JZoVgPs

--HG--
extra : rebase_source : 44c01a0433c255bbdc51521e75b1aee4680cd198
2018-07-04 16:17:31 -04:00
Kashav Madan 7077153dc5 Bug 1465616 - Add reftests for fixed and sticky elements. r=botond
MozReview-Commit-ID: IzSUQqvjrUp

--HG--
extra : rebase_source : 3fe48273aae060e32491e6aea7c83f197561a743
2018-07-04 16:16:09 -04:00
Kashav Madan 0c865cee42 Bug 1465616 - Use layout viewport size to compute visible rect for fixed position elements. r=mstange
Since fixed position elements are now scrollable, we need to ensure that they're
drawn using the layout viewport size instead of only the SPC-SPS, since
otherwise they'd be inaccurately clipped when scrolled.

MozReview-Commit-ID: 4p3pWnwluvz

--HG--
extra : rebase_source : f5bc1eae9bf2c8f4b9f78675e9da071de012160e
2018-07-04 16:10:04 -04:00
Kashav Madan bf18fe089c Bug 1465616 - Remove call to AlignFixedAndStickyLayers for RCD-RSF. r=botond
MozReview-Commit-ID: B8HH6mbjTnv

--HG--
extra : rebase_source : 15eff992861e9a51b40a580df57067bfc5b88760
2018-07-04 15:52:03 -04:00
Kashav Madan 5261c87fd1 Bug 1465616 - Don't use SPC-SPS to layout fixed position elements. r=mstange
MozReview-Commit-ID: 5D4ErVFx8Bm

--HG--
extra : rebase_source : a930c2cb9492a6361ab16f0121b7a71dd6f6949c
2018-07-04 15:16:17 -04:00
Abdoulaye O. Ly b5f60976d9 Bug 1458049 - Implement ability to move a selection of tabs into a new window through tab context menu. r=jaws
MozReview-Commit-ID: KrjavwyoF4s

--HG--
extra : rebase_source : 57ef831467cc648b8f5c81e38704c5466955c3a7
2018-07-13 19:30:58 +00:00
Luca Greco dd38ea4159 Bug 1475306 - Changes to the detection of extensions already migrated to ExtensionStorageIDB and rename successfully migrated JSONFile. r=mixedpuppy
This patch applies the following changes to the storage.local data migration behaviors:

- An about:config preference is set when an extension has been migrated successfully to the
  storage.local IndexedDB backend (cleared automatically if the addon is uninstalled).
- If the above about:config preference is set, the storage.local IndexedDB backend is enabled
  without attempting to open an IndexedDB connection for the new backend.
- While migrating an extension, if we fail to open the IndexedDB connection, the data migration
  is cancelled and the storage.local API is going to fallback to the storage.local JSONFile backend
  (until the next extension startup, when a new data migration is going to be tried).
- When a migration is completed successfully, the old JSONFile is renamed (by appending ".migrated"
  to its original file name) instead of being removed.

MozReview-Commit-ID: LPM0fQUagTd

--HG--
extra : rebase_source : 11c3e291ac8323a679c2bb29efc7df3700023591
2018-07-06 19:07:28 +02:00
Oriol Brufau a50c798f7a Bug 1474132 - Choose right add-on icon size in about:addons and install popup r=rpl
MozReview-Commit-ID: L5O2OwlK879

--HG--
extra : rebase_source : ee405d9a41a940f5a77df8eba2249ca9c9164101
2018-07-13 13:51:28 +02:00
Johann Hofmann e4580d39d9 Bug 1476317 - Fix identity popup display for pages with exceptions that have blocked content. r=nhnt11
The identity popup will now show that there's an exception on the site instead of being confused.

We previously didn't handle this state because I assumed it wouldn't be possible to enter.
Turns out if you open the same (tracking) site in two tabs and then add an exception in one tab,
the other tab will be in this state until reload.

MozReview-Commit-ID: GVVdNpsAm6h

--HG--
extra : rebase_source : 3ace3cd4f99094edf3c678c56a39adebdc37d1f3
2018-07-18 16:33:06 +02:00
Nicolas Chevobbe 02c427558a Bug 1475165 - Fix inspector tests; r=gl.
Adapt inspector test to the new order of the search results.
This was an easy task since we were already flipping the
expected results to make the test more readable (which makes
me think that this is the "natural" order).

MozReview-Commit-ID: DpxW2O1eOi4

--HG--
extra : rebase_source : 8d579c94bdaaee396a29b4674d4f9764bcadbb5d
extra : source : 96c82bb5fa591470483263aea55fa33a10192afc
2018-07-12 16:25:06 +02:00
Nicolas Chevobbe d5d42a661f Bug 1475165 - Show inspector search results from top to bottom; r=gl.
For some reason, we were flipping the search result, which
was not ideal in the inspector. This patch changes this to
show results in the same order the server return them.

MozReview-Commit-ID: Ak9FnrrW8z5

--HG--
extra : rebase_source : 0846cda90ac45c70a9ee5cd49f64f1894863ec5c
2018-07-17 10:05:04 +02:00
Nicolas Chevobbe efb1295368 Bug 1475165 - Adapt webconsole tests to new autocomplete behavior; r=Honza.
Some tests needed to be adapted to the new alpa-sorted
autocomplete popup.

MozReview-Commit-ID: 3GOAJqH0CvD

--HG--
extra : rebase_source : ca9bafa6e78f2a1609618e5c258db0358a006300
2018-07-17 08:37:33 +02:00
Nicolas Chevobbe 130eb0cf73 Bug 1475165 - Do not reverse completion results in webconsole; r=Honza.
The autocompletion results were flipped in order to have them in reverse
order since the popup was displayed at the top of the input.
We do not want to do that anymore because of two reasons:
- I couldn't find any example in the wild doing the same thing, thus
we were making the user switch their habit to use it
- Bug 1136299 will make it so that the popup could be displayed either
at the top or at the bottom of the caret. We shouldn't have different
sorting for those different cases as it would make the popup even
harder to use.

MozReview-Commit-ID: CAzsKIaeKgV

--HG--
extra : rebase_source : 967e43e5d86f7f35945ba5742c1a25823a2d0064
2018-07-13 17:06:49 +02:00
Nicolas Chevobbe 405cda88ac Bug 1475165 - Make autocomplete always select first item by default; r=Honza.
Previously, we were trying to select the item the closest
to the input used for the autocompletion. It was causing
some weird behaviour when the popup wasn't displayed at
the expected position.
Always selection the top-most item seems will avoid those
cases, bring us consistency across the toolbox as well as
with other tool having autocompletion (code editors, Chrome, …).
The autocomplete-popup test is modified to assert the new behavior.

MozReview-Commit-ID: DhNovX51KRO

--HG--
extra : rebase_source : cfb2ebaaed23ce5c51ef9d8f447f3fabe0a04a49
2018-07-13 16:52:37 +02:00