Commit Graph

570067 Commits

Author SHA1 Message Date
Nicholas Nethercote
0736ef385a Bug 1417806 - Add a comment about gCacheData. r=glandium
MozReview-Commit-ID: 1oVYUMtobRF

--HG--
extra : rebase_source : 3c7b35684b94b8aeabb73e0eb278a51ef8a4697b
2017-11-16 18:39:00 +11:00
Nicholas Nethercote
b547f1b959 Bug 1417806 - Reduce gPrefNameArena's alignment to 1. r=glandium.
Because it holds 8-bit strings, which only need 1 byte alignment.

For the profile on my Linux box, in every process this reduces the size of the
arena by 1 chunk, from 120 KiB to 112 KiB.

MozReview-Commit-ID: 8ozrLIq5ZZ4

--HG--
extra : rebase_source : 1f7d337875d5f554772bec6395e7f4241900a26c
2017-11-16 16:02:07 +11:00
Nicholas Nethercote
7abaa53d96 Bug 1417806 - Overhaul gWatchingPref et al. r=glandium
This patch renames it as gInstallingCallback, adds a comment, and reduces the
scope of the AUTO_INSTALLING_CALLBACK() objects to the minimum.

MozReview-Commit-ID: EGfnBPVFtmw

--HG--
extra : rebase_source : 9feafbb4c92c6b9dbe37466fefb777a8638b1c6e
2017-11-16 16:02:07 +11:00
Bob Owen
5a64c2aeb7 Bug 1417959: Bump Alternate Desktop to Level 5 and make that the Default on Nightly. r=jimm 2017-11-16 18:10:00 +00:00
Mats Palmgren
e6b1085aea Bug 1415541 - No need to destroy frames if Destroy was called on the shell. r=bz
MozReview-Commit-ID: CgiFqeKHF3N
2017-11-16 18:58:29 +01:00
Mats Palmgren
b7af3313b9 Bug 1416544 - Don't report COMPLETE reflow status when we still have pushed floats on some next-in-flow frame. r=dholbert
This patch amends an existing workaround, but as the NOTE there says,
we should have pulled up those floats and reflowed them somewhere
(and pushed them again potentially, and then we wouldn't be COMPLETE).
It's unclear to me where that pull-up is supposed to happen though.

MozReview-Commit-ID: ES2rb1l7jyi
2017-11-16 18:58:29 +01:00
Jan de Mooij
25ed9f2982 Bug 1417398 - Use a single JitCode instance for JitRuntime trampolines. r=nbp 2017-11-16 18:32:35 +01:00
Sebastian Hengst
f9ef12a248 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-16 18:44:51 +02:00
Sebastian Hengst
9bab9dc5a9 Backed out changeset 6f0e650b0e53 (bug 1416465) on request from nalexander for many busted build environments. r=backout a=backout 2017-11-16 18:41:24 +02:00
Geoff Brown
2a110bd38b Bug 1394671 - Disable test browser_perwindow_privateBrowsing.js on linux/debug for frequent intermittent leaks; r=me,test-only 2017-11-16 09:11:13 -07:00
Geoff Brown
70f583af0a Bug 1339568 - Disable 4 dom/media mochitests on Linux Debug, in hopes of avoiding a shutdown hang; r=jmaher
This is a speculative "fix" for a chronic shutdown hang in mochitest-media-e10s-2,
generally reported in bug 1411358. Experiments on try suggest that the hang
occurs much less frequently when these tests are not run.
2017-11-16 09:11:10 -07:00
Csoregi Natalia
aec7df4aef Backed out 2 changesets (bug 1415963) for failing reftests on Android 4.3 API16 css-invalid/select/select-disabled-fieldset-1.html r=backout a=backout on a CLOSED TREE
Backed out changeset f592e4962e2b (bug 1415963)
Backed out changeset b98f2fff0e17 (bug 1415963)
2017-11-16 17:41:58 +02:00
Nathan Froyd
fd656b936c Backout b0eedb4c140b (bug 1412983 part 6) for breaking local Windows builds; r=bustage; a=bustage 2017-11-16 09:53:34 -05:00
Gurzau Raul
6dcee027d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-16 12:04:45 +02:00
sotaro
222b1d574f Bug 1411472 - Add support of PersistentBufferProviderShared r=nical 2017-11-16 14:47:26 +09:00
Narcis Beleuzu
af710e4746 Backed out changeset 0f783930e1b2 (bug 1406727) for GTest failures on ArenaAllocator. r=backout on a CLOSED TREE 2017-11-16 07:45:06 +02:00
Emilio Cobos Álvarez
f98054e952 Backed out changeset 9418c23dfdba (bug 1414999) for asserting in layout/reftests/generated-content/display-types-01.html, even though I can't reproduce it. r=me
MozReview-Commit-ID: A5gYlHivHTa
2017-11-16 05:56:16 +01:00
Emilio Cobos Álvarez
90bcf3fcca Bug 1414999: Synchronously clean style data from the DOM tree when the shell goes away. r=bz
There's nothing preventing the flat tree from changing while the document
doesn't have a shell. In that case, we really really don't want to lose track
of elements with stale style data, since then we'll mess up.

It's ok to _not_ clear the style data when the document goes into the BFCache
though, because the document is thrown away if other document runs script and
touches the cached DOM.

MozReview-Commit-ID: 4W3xDAnnLPL
2017-11-16 04:42:39 +01:00
Matt Woodrow
5e1a10f3be Bug 1406727. r=froydnj 2017-11-16 16:09:28 +13:00
Matt Woodrow
12d7cfd60d Bug 1416291 - Don't do partial display list building within preserve-3d contexts. r=miko 2017-11-16 16:09:19 +13:00
Aki Sasaki
1aa3186ceb bug 1417731 - fix fennec email notifications. r=rail a=release
MozReview-Commit-ID: H2RgwdsVYZ1

--HG--
extra : rebase_source : 27eeff7b0b8b452aabc6ff3e07441c91409ce9fd
extra : source : 0fad48717ca18a4dc5b1f149c7b90a817130d1d2
2017-11-15 16:55:58 -08:00
Csoregi Natalia
cb7f426f17 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-16 18:02:21 +02:00
Joel Maher
eb7c7c286f Bug 1417653 - clean up a few moz.build files that have typos. r=gbrown 2017-11-16 08:56:51 -05:00
Csoregi Natalia
635fe8c86f Backed out 4 changesets (bug 1417123) for failing Spidermonkey builds js/src/jspubtd.h:100 r=backout
Backed out changeset 5af31f9f6bb5 (bug 1417123)
Backed out changeset f287a77b84c2 (bug 1417123)
Backed out changeset 57be86412a37 (bug 1417123)
Backed out changeset 14a6856d7361 (bug 1417123)
2017-11-16 15:05:54 +02:00
Julian Seward
5c81253f01 Bug 1415494 - Uninitialised value use in mozilla::layers::CompositorManagerChild::IsInitialized. r=aosmond.
--HG--
extra : rebase_source : 5879cf17e81c25a5fe343c834e5c1eeb6693a0cf
2017-11-16 11:31:51 +01:00
Jon Coppeard
853c90510c Bug 1417123 - Remove or replace inclusion of js/GCAPI.h r=mccr8 2017-11-16 12:21:08 +00:00
Jon Coppeard
28fca947a5 Bug 1417123 - Move rooting-related classes from jspubtd.h to public/RootingAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jon Coppeard
65b7a83d09 Bug 1417123 - Move high level GC APIs to public/GCAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jon Coppeard
08052a293d Bug 1417123 - Move barrier function declarations to public/HeapAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Andrea Marchesini
97baa05333 Bug 1398229 - Save-link-as feature should use the loading principal - part 3 - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb, r=tanvi 2017-11-16 12:27:01 +01:00
Andrea Marchesini
5ed6994506 Bug 1398229 - Save-link-as feature should use the loading principal - part 2 - context menu using nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb 2017-11-16 12:26:30 +01:00
Andrea Marchesini
7fc45ac652 Bug 1398229 - Save-link-as feature should use the loading principal - part 1 - test, r=ckerschb 2017-11-16 12:26:13 +01:00
sotaro
da9b8d1a30 Bug 1417306 - Fix leaking pipelines of Tabs r=nical 2017-11-16 09:47:55 +09:00
Mike Hommey
6e39384683 Bug 1417689 - Move elfhack related things to python configure. r=nalexander 2017-11-16 09:37:31 +09:00
Mike Hommey
9ec14dddcb Bug 1417689 - Remove explicit --enable-elf-hack in mozconfigs. r=nalexander
--enable-elf-hack is the default on all platforms where it's supported,
and is completely ignored on platforms where it's not supported.
While moving the flag to moz.configure, we're going to make it only
work on platforms where elfhack is supported, so we at least need to
remove it from mozconfigs for those platforms where it's not supported.
But generally speaking, we want less things in mozconfigs, so just
remove it from there, since it's the default anyways.
2017-11-16 09:37:17 +09:00
Marco Castelluccio
97619e8164 Bug 1417447 - Don't hardcode path separator in jit test paths, as on Windows it might be different. r=nbp
--HG--
extra : rebase_source : 3124d6e72a6e58cd9e72429b2f0119d6937765f5
2017-11-15 15:35:14 +01:00
Ryan VanderMeulen
6f628fbb68 Bug 1411417 - Upgrade to SQLite 3.21.0. r=mak
--HG--
extra : rebase_source : c6b3dac3cb1bd25edb2a46f7b9c7c60ddc1760af
2017-11-15 18:40:32 -05:00
Kilik Kuo
382d21250c Bug 1369548 - HTMLMediaElement::SetMediaKeys should continue working even the decoder is shutting down. r=cpearce
The MediaKeys status inside a HTMLME cannot be reflected correctly if the mSetCDMRequest is disconnected in HTMLME::ShutdownDecoder.
This may happen when a page calls load() or sets new src right after setting MediaKeys to null.

MozReview-Commit-ID: 3BZOmw7BNFO

--HG--
extra : rebase_source : f06ae54944133e8e48471e71f0bb8fe46290cca8
2017-11-15 12:32:50 +08:00
André Bargull
055644cae3 Bug 1416793 - Part 7: Inline FunctionContextFlags into FunctionBox. r=jandem 2017-11-14 08:01:44 -08:00
André Bargull
e24b429bfd Bug 1416793 - Part 6: Pack ParseContext more efficiently. r=jandem 2017-11-14 07:13:03 -08:00
André Bargull
c8c02dabde Bug 1416793 - Part 5: Inline AnyContextFlags into SharedContext. r=jandem 2017-11-13 08:59:40 -08:00
André Bargull
159d69394f Bug 1416793 - Part 4: Pack SharedContext more efficiently. r=jandem 2017-11-14 07:54:21 -08:00
André Bargull
6fae921503 Bug 1416793 - Part 3: Remove unused insideUseAsm field in FunctionBox. r=jandem 2017-11-13 07:56:59 -08:00
André Bargull
13ca11bc00 Bug 1416793 - Part 2: Make generator and async kind storage more consistent in various classes. r=jandem 2017-11-13 07:55:41 -08:00
André Bargull
804c9179e6 Bug 1416793 - Part 1: Remove array and generator comprehension leftovers. r=jandem 2017-11-16 01:12:14 -08:00
Gurzau Raul
ef1ba4921a Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-16 12:17:24 +02:00
Tim Taubert
fdbcf7df8e Bug 1417433 - Remove unused U2FSoftTokenManager::IsCompatibleVersion() r=jcj
Summary:
This check was replaced a while ago, by [1]

[1] https://searchfox.org/mozilla-central/search?q=kRequiredU2FVersion

Reviewers: jcj

Reviewed By: jcj

Bug #: 1417433

Differential Revision: https://phabricator.services.mozilla.com/D246
2017-11-16 10:45:22 +01:00
Matt Woodrow
aab0cbe92c Bug 1406727. r=froydnj 2017-11-16 16:09:28 +13:00
Nicholas Nethercote
ba94f2d107 Bug 1417746 - Overhaul libpref's memory reporter. r=glandium
This splits the measurements into several buckets, like so:

> 718,528 B (00.40%) -- preferences
> ├──262,176 B (00.14%) ── hash-table
> ├──181,952 B (00.10%) ── callbacks
> ├──122,880 B (00.07%) ── pref-name-arena
> ├───91,872 B (00.05%) ── root-branches
> ├───38,296 B (00.02%) ── string-values
> ├───21,272 B (00.01%) ── cache-data
> └───────80 B (00.00%) ── misc

The patch also measures some things that were previously overlooked.

- String pref values. (The old code had a comment that incorrectly claimed they
  were allocated out of an arena.)

- The PrefCallback objects pointed to by entries in nsPrefBranch::mObservers.

And it makes the code more like typical reporters.

- It removes the "AndOtherStuff" from Preferences' measuring method, and
  measuring those global structures in
  PreferenceServiceReporter::CollectReports().

- It adds `const` where appropriate.

MozReview-Commit-ID: dyNg7ldQdh
2017-11-16 15:55:58 +11:00
Munro Mengjue Chiang
653acd9c49 Bug 1399413 - add mochitests to check multi-tabs gUM. r=jib
MozReview-Commit-ID: 8ZtD1ArafvN

--HG--
extra : rebase_source : 9149dfca4254f3a455c1ee44e9fac07e4673dd04
2017-11-07 18:53:47 +08:00