Commit Graph

521935 Commits

Author SHA1 Message Date
Noam Schmitt
6d25595821 Bug 1342022 - Remove useless a "using" declaration in WebrtcTelemetry.cpp. r=gfritzsche 2017-02-23 13:27:13 +01:00
Thinker K.F. Li
60b7a61d43 Bug 1329929 - Fix memory leaking of TaskTracer. r=cervantes 2017-02-22 00:26:00 -05:00
Nils Ohlmeier [:drno]
5600346fac Bug 1315248 - Hold on to references for WrapRunnable in UDPSocketParent. r=jesup
MozReview-Commit-ID: CA14BbXYtcj

--HG--
extra : amend_source : aedd161e24a6a3d741651d8e96a1c842a66f5ca3
2017-02-23 08:55:35 -05:00
Andrea Marchesini
d0b50071c8 Bug 1341218 - nsNullPrincipal should serialize its URL, r=qdot 2017-02-23 14:30:23 +01:00
Joel Maher
d637db915a Bug 1341799 - annotate storage/* with BUG_COMPONENT in moz.build files. r=mak
MozReview-Commit-ID: 3g7WuMN6hR7
2017-02-23 08:01:50 -05:00
Joel Maher
60a321a7a2 Bug 1341794 - annotate startupcache/* moz.build file with BUG_COMPONENT. r=froydnj
MozReview-Commit-ID: BQkxYXk6tl
2017-02-23 08:01:45 -05:00
Andrew Osmond
13df27efb8 Bug 1341624 - Include shared handle totals in memory reports for images. r=tnikkel 2017-02-22 09:30:22 -05:00
Benjamin Bouvier
e54d365a47 Bug 1341090: Implement a JIT code counter; r=jonco, r=jandem
MozReview-Commit-ID: Hq8g3qmEsjG

--HG--
extra : rebase_source : 44e4d0d579894d56800fb2b3ae9a8bb297df48c1
extra : histedit_source : 5b68c6fae9a24e6186bcdf7a594966a917c48a6c
2017-02-21 19:02:31 +01:00
Benjamin Bouvier
ec65139cde Bug 1341090: Refactor malloc counters in Zone and GCRuntime; r=jonco
MozReview-Commit-ID: K52KzVc4zSV

--HG--
extra : rebase_source : d540aef55c42f06fa9be1861c0f48b31d469597c
extra : histedit_source : e7cd0f0e433121d438bfc112e8fa708ed897e5dd
2017-02-21 16:09:07 +01:00
Deepa
96cbc67918 Bug 1341056 - Stop setting a border for .button-box on Linux. r=dao 2017-02-22 23:08:48 +05:30
Benjamin Bouvier
67a5e08ada Bug 1341650: Don't clobber the last stack slot when calling into CurrentMemory/GrowMemory in the wasm baseline; r=lth
MozReview-Commit-ID: 4BxLPKakvdV

--HG--
extra : rebase_source : a76672c147b1ab76720a6e93bc91b400a372d5e0
2017-02-22 18:39:39 +01:00
Benjamin Bouvier
4e3ebaf242 Bug 1341650: Pass TLS when calling wasm current_memory in the Ion backend; r=luke
MozReview-Commit-ID: 2mLxEqdvGtK

--HG--
extra : rebase_source : 6c82c1a51143236458c2464ae0fb3ffcce28f0b9
2017-02-22 18:44:34 +01:00
Benjamin Bouvier
fafada56ef Bug 1341650: A few drive-by nits fixing in WasmBaselineCompile.cpp; r=lth
MozReview-Commit-ID: 9SpdNG8sL9y

--HG--
extra : rebase_source : 090ffd90a120ffd7211862bbd31f2b7d85d874dc
2017-02-22 18:37:49 +01:00
Andrea Marchesini
7316b0a5c0 Bug 1340450 - When containers are disabled, it should not be possible to reopen container tabs, r=mdeboer 2017-02-23 10:51:52 +01:00
Ethan Lin
d52379d334 Bug 1340082 - Convert nsDisplayOutline to WebRenderDisplayItemLayer. r=mattwoodrow
--HG--
extra : rebase_source : 171473c12467e70726ff57f6597cd9b9281a647c
2017-02-23 17:34:14 +08:00
cku
3edceb1620 Bug 1224207 - (followup) remove an unused local var. r=me
MozReview-Commit-ID: B7MJkHS1S88

--HG--
extra : rebase_source : 73b3a175baf4752d7df53d090e5c39eeb4150afd
2017-02-23 17:08:17 +08:00
Sebastian Hengst
0c5732d145 Bug 1341586 - Fix localization of Inspector's attribute context menu by adding quotations to the values: Fix quote characters. r=test-fix on a CLOSED TREE 2017-02-23 10:28:54 +01:00
Makoto Kato
06128d8281 Bug 833889 - Part 2. Update test result of web platform tests. r=masayuki
Update web platfrom tests's result since some tests contain this situation.

MozReview-Commit-ID: vm33zObiOW

--HG--
extra : rebase_source : fbd053d5f4d8507b13d3a2bdab3e9b6fdba1b751
extra : histedit_source : 9203ec1ffde72daf44cf15813979fae83910ff4c
2017-02-22 14:52:25 +09:00
Makoto Kato
d2b6ed15ad Bug 833889 - Part 1. Remove CSS properties even if it is default value. r=masayuki
When selected nodes are <span style="font-weight: normal;">A</span>, toggle bold inserts new span element into parent node like <span style="font-weight: bold;"><span style="font-weight: normal;">A</span><span>.  So bold isn't applied correctly.

IsCSSEquivalentToHTMLInlineStyleSet might return false even if style is applied.  Because it returns true that style isn't default value.  Since "font-weight: normal" is default property, it isn't removed.

So when style is already applied even if it is default value, we should remove it.

MozReview-Commit-ID: LgImkHRp9Ff

--HG--
extra : rebase_source : dd4d894495754a81abaf5a2aede1132056920beb
extra : histedit_source : 72d196cd9f90296eb00b97c1538704c714cc871c
2017-02-23 17:10:27 +09:00
djmdev
4e078cff7a Bug 1341586 - Fix localization of Inspector's attribute context menu by adding quotations to the values. r=gl
Removed quotes from context menu item and added them to their respective localization string.
2017-02-23 09:21:09 +05:30
Jeff Walden
938292cf1f Bug 1287006 - Final bustage followup. r=bustage in a still-CLOSED TREE 2017-02-22 20:46:46 -08:00
Jeff Walden
a457461dd8 Bug 1287006 - Followup bustage fix. r=bustage in a CLOSED TREE 2017-02-22 20:41:37 -08:00
Jeff Walden
fceda02d9b Bug 1287006 - Use |alignas(T) unsigned char mStorage[sizeof(T)]| instead of AlignedStorage2 inside Maybe. r=froydnj
--HG--
extra : rebase_source : 59e8039481b332decacd1acc7cf1cb73ec8b78cf
2017-01-30 15:56:04 -08:00
Jeff Walden
c7aace8b67 Bug 1287006 - Make JsepTrackPair::mBundleLevel size_t instead of Maybe<size_t>, with SIZE_MAX encoding the previous not-size_t state. (mBundleLevel counts things in memory, so SIZE_MAX is excluded from the typical semantics.) r=bwc
--HG--
extra : rebase_source : 580a13b93cbec088c8937172948b30b4881d31ec
2017-02-21 23:57:56 -08:00
Jim Chen
78cdb2292f Bug 1257366 - Try setting designMode again; r=gbrown
If the first set designMode call fails, schedule another call for a
later time.
2017-02-22 23:10:18 -05:00
Jim Chen
371103fac0 Bug 1340960 - Correctly invoke print callbacks; r=sebastian
generatePDF returns a Promise. We shouldn't feed the Promise to the
callback, but rather invoke the callbacks when the Promise is
resolved/rejected.
2017-02-22 23:10:17 -05:00
Jim Chen
f85ea35de2 Bug 1337459 - Update to selected tab when ToolbarDisplayLayout is ready; r=sebastian
We don't update ToolbarDisplayLayout when it's not ready (i.e. when it's
not attached to a window yet), but when it does become ready, we should
update it to the selected tab, if any.
2017-02-22 23:10:16 -05:00
Nicholas Nethercote
33da826017 Bug 1340928 (part 15) - Inline and remove ToJSObject(). r=mstange.
It has a single call site.

--HG--
extra : rebase_source : ac17c229cffc6a25014c6060f99892ecbdda74cf
2017-02-22 13:42:14 +11:00
Nicholas Nethercote
354d0d388f Bug 1340928 (part 14) - Factor out code repeated in both ProfileGatherer::Start() methods. r=mstange.
--HG--
extra : rebase_source : 47deafe39aa208654398cb0795831bd273aa3265
2017-02-22 11:46:28 +11:00
Nicholas Nethercote
aedaf0a73c Bug 1340928 (part 13) - Merge two ProfileGatherer::Start() variants. r=mstange.
The |nsIFile*| one is only called by the |const nsACString&| one, so this patch
combines them.

--HG--
extra : rebase_source : d8338e88cef4799d95e590c056ab343d5a1c546a
2017-02-22 11:35:43 +11:00
Nicholas Nethercote
348841f745 Bug 1340928 (part 12) - Remove profiler_get_gatherer(). r=mstange.
profiler_get_gatherer() exposes ProfileGatherer to the outside world in a way
that makes future changes difficult.

This patch:

- Removes ProfileGatherer.h from the list of headers exported from the
  profiler.

- Removes nsIProfiler.profileGatherer and nsProfiler::GetProfileGatherer().

- Replaces profiler_get_gatherer() with three new functions that provide
  minimal but sufficient access to ProfileGatherer:
  profiler_will_gather_OOP_profile(), profiler_gathered_OOP_profile(), and
  profiler_OOP_exit_profile().

  These functions provide access to the ProfileGatherer in a similar fashion to
  the pre-existing functions profiler_get_profile_jsobject_async() and
  profiler_save_profile_to_file_async()

This significantly reduces the size of the profiler's API surface.

--HG--
rename : tools/profiler/public/ProfileGatherer.h => tools/profiler/gecko/ProfileGatherer.h
extra : rebase_source : d8e06a1133d4098c3a214858d3ff2c4bdcd9f1f2
2017-02-22 10:19:53 +11:00
Nicholas Nethercote
2eced700aa Bug 1340928 (part 11) - Inline and remove ContentParent::InitializeMembers. r=baku.
It looks like it used to be called by multiple constructors, but that's no
longer the case.

--HG--
extra : rebase_source : 2aba63c0786ddd0ce355ed80569cad62810393ad
2017-02-22 10:19:49 +11:00
Nicholas Nethercote
352554c8f6 Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange.
The profiler can currently handle nested calls to profiler_{init,shutdown}() --
only the first call to profiler_init() and the last call to profiler_shutdown()
do anything. And sure enough, we have the following.

- Outer init/shutdown pairs in XRE_main()/XRE_InitChildProcess() (via
  GeckoProfilerInitRAII).

- Inner init/shutdown pairs in NS_InitXPCOM2()/NS_InitMinimalXPCOM() (both shut
  down in ShutdownXPCOM()).

This is a bit silly, so the patch removes the inner pairs, and adds a
now-needed pair in XRE_XPCShellMain. This will allow gInitCount -- which tracks
the nesting depth -- to be removed in a future patch.

--HG--
extra : rebase_source : 7e8dc6ce81ce10269d2db6a7bf32852c396dba0e
2017-02-15 17:08:38 +11:00
Nicholas Nethercote
883fc3f925 Bug 1340928 (part 9) - Remove MOZ_PROFILER_STACK_SCAN env var. r=mstange.
It's used to set gUnwindStackScan, which is never used.

--HG--
extra : rebase_source : 3993df4cba27eb7eec39a40125df9a3190fe25a6
2017-02-21 13:53:19 +11:00
Nicholas Nethercote
d60b476a02 Bug 1340928 (part 8) - Pass gStartTime to DuplicateLastSample(). r=mstange.
This removes the one use of gStartTime outside of platform*.cpp, which lets us
restrict its visibility to just that compilation unit.

--HG--
extra : rebase_source : bf7207572cba5c1a31b544ea73e783ecd559978a
2017-02-21 10:18:51 +11:00
Nicholas Nethercote
45a8d3ea6a Bug 1340928 (part 7) - Factor out gIsActive handling in platform-*.cpp. r=mstange.
PlatformStart() and PlatformStop() are currently responsible for setting and
clearing gIsActive, but it's better if we do it in profiler_{start,stop}().

The patch also does the following.

- Adds some missing emacs/vim modelines.

- Makes Platform{Start,Stop}() crash if they have failures. I'm not at all
  confident that ignoring the errors as is currently done will result in
  sensible behaviour, so brittleness is better.

--HG--
extra : rebase_source : b9ab8437f5b92f6a8993ba7677ecb74a321ce219
2017-02-16 15:08:07 +11:00
John Lin
d3b1eacd8b Bug 1340582 - fix exception logging. r=jchen
MozReview-Commit-ID: 2PnTCeFAW4e
2017-02-23 11:16:28 +08:00
David Major
31d1777634 Bug 1341490: Remove bitrotting disabled layer gtest. r=nical
MozReview-Commit-ID: 9vZ4lZWgxi0

--HG--
extra : rebase_source : 47ce860c39d61939c55a74952cc94b84a27398df
2017-02-23 15:29:57 +13:00
David Major
529e7a8a12 Bug 1341490: Remove bitrotting disabled fonts gtests. r=jfkthame
MozReview-Commit-ID: 4TQv5nSclyj

--HG--
extra : rebase_source : fe2cf5a131d860f3d6dfb1d865446c8480e56d42
2017-02-23 15:29:53 +13:00
David Major
17f71c7f9f Bug 1341490: Unified-build bustage fixes.
MozReview-Commit-ID: CTBa12qhMai

--HG--
extra : rebase_source : e48409d3dcd38b95e567c823050a5633e89ed643
2017-02-23 15:29:46 +13:00
Andrea Marchesini
43fa40bb63 Bug 1341536 - Get rid of duplicate functions in fileutils.js, r=qdot 2017-02-23 03:24:54 +01:00
Andrea Marchesini
68feb209f4 Bug 1341327 - Add assertions to be sure that FileBlobImpls are created on the parent process only, r=smaug 2017-02-23 03:23:51 +01:00
David Parks
4d5f8afdc0 Bug 1328996 - Add tests that run the intercepted DLL methods, in order to test their harness. r=aklotz
Adding this has exposed harness failures in CreateFileA. Additionally, we haven't added a test for ImmSetCandidateWindow as it is not easily tested.

--HG--
extra : rebase_source : db84ecbc09a19e7644c551957ba7787e36358eb1
2017-02-16 23:50:47 -08:00
David Parks
10b12f1194 Bug 1328996 - Enable tiptsf.dll's ProcessCaretEvents DLL Interceptor test on 64-bit Windows. r=aklotz
--HG--
extra : rebase_source : 73ec0cc52ba524cb24a915923298472adddbecef
2017-02-03 12:00:56 -08:00
David Parks
d884f8d253 Bug 1328996 - Add ability for 64-bit MOV instructions (those with REX.W bit set) to be patched in the DLL interceptor harness. r=aklotz
Also adds some ASSERTs to catch failures in the DLL interceptor.

--HG--
extra : rebase_source : 1de8f5f73ca8b802fd5338fa87f33cc742a63e47
2017-02-03 11:58:20 -08:00
Timothy Nikkel
442d47eb2c Bug 1341881. Don't do sync decode for SVG <image> elements images. r=aosmond
SVG <image> elements have approximately the same level of visibility tracking as regular html <img>s so we shouldn't need to do sync decode. It shows up in some profiles.

The comment being removed was written a long time ago, before image visibility tracking for one.

We could even go a step further and ask for no sync decoding at all, but one step at a time to make sure this doesn't cause any regressions.
2017-02-22 18:58:42 -06:00
Wander Lairson Costa
90611046e2 Bug 1339038 - Replicate BB environment variables. r=dustin
There are some environment variables necessary to run test jobs in BB
which are also necessary for taskcluster-worker. They were copied from
[1].

Additionally, native-engine was broken by bug 1325701. We fix it in this
commit.

[1] https://github.com/mozilla-releng/build-buildbotcustom/blob/master/env.py#L89-L96
2017-02-22 14:47:00 -05:00
André Bargull
af0bb93cff Bug 1339986 - Handle export* when checking for duplicate export. r=jonco 2017-02-22 06:58:29 -08:00
Emanuel Hoogeveen
8867f10c5a Bug 1338574 - Assertions.cpp can't use MOZ_CRASH_ANNOTATE, so set the crash reason directly. r=froydnj 2017-02-22 15:42:00 -05:00
Julian Descottes
596f377474 Bug 1339783 - use theme-toolbar-hover for accordion header background on hover;r=gl
Move toolbar only variable toolbar-tab-hover to variables.css and reuse it in
accordion.

MozReview-Commit-ID: KgBLlYIYlrr
2017-02-22 16:55:05 +01:00