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

542686 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 4bc2a74510 Bug 1374566 - remove methods that have no callers. r=gerald
MozReview-Commit-ID: 7Ze0q32VS0h

--HG--
extra : rebase_source : 470fdf5d480b9115039faeb519756e05787011af
extra : source : be2cd2df4469cec5ded0f9d07977f8f09ba60cb6
2017-06-20 16:47:03 +08:00
Boris Zbarsky b87612bde1 Bug 1374119. Use a bool pref cache for interface object enablement conditions instead of calling GetBool. r=qdot 2017-06-19 23:52:04 -04:00
Hiroyuki Ikezoe 52c50332ed Bug 1356141 - Skip print-no-animations.html. r=birtles
reftest-print mode for animations does not work well yet.
We will handle it in bug 1374154.

MozReview-Commit-ID: GUGSEE4VJwQ

--HG--
extra : rebase_source : fd8ee42fd26fc6caaaded7bbaed69188f6005896
2017-06-20 06:31:02 +09:00
Hiroyuki Ikezoe ade75cf304 Bug 1356141 - Don't traverse any elements that needed only for animation-only restyles in normal traversal. r=heycam
Before this patch, we were setting the dirty descendants bit in animation-only
restyles and it triggered unnecessary traversal for elements that does not need
the traversal (i.e no need selector matching).

MozReview-Commit-ID: 6pmF3ojVzgb

--HG--
extra : rebase_source : 5d83b203d4f5121c648be903165a0e9c77ca4a0c
2017-06-20 06:30:48 +09:00
Xidorn Quan 27b5e819e7 Bug 1373484 - Drop all reference to StyleSheet when last strong reference is dropped. r=bz
MozReview-Commit-ID: 2RrNZDIjx3s

--HG--
extra : rebase_source : b9b89aba8d1aa31e91d1cc90e63a9b056dd34ea8
2017-06-19 10:15:49 +10:00
Hiroyuki Ikezoe caab4777af servo: Merge #17400 - Don't run normal traversal for animation only restyle element (from hiikezoe:dont-do-normal-traversal-for-animation-only-restyle-element); r=heycam
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1356141

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 546c9db7a7bb762659d1a6d8188eae7bc69902dd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a0366f843c5f3b3c3534c7a50eee80eb65fa7fd6
2017-06-19 20:19:16 -07:00
Chris Pearce 3d1e87597e Bug 1374475 - Don't throttle download of media files under 8MB in size. r=jwwang
The startup latency for an HTTP transaction can be high, this adds delay when
we're seeking into an unbuffered range. So we should not throttle the download
for small files, to speed up seeking.

This also works around the problem in bug 1373618 in the case where the
download is fast enough for the entire file to predownload before a seek.

MozReview-Commit-ID: A8Hqi71IJ1H

--HG--
extra : rebase_source : 30648d3ad62b8c0417b1244c896b43b670382e9c
2017-06-20 13:03:49 +12:00
Mason Chang 65fc4594b7 Bug 1371037 - Support for record and replay of ClientPaintedLayers on the main thread. r=dvander 2017-06-15 16:32:59 -07:00
Ehsan Akhgari b306e0842e Bug 1373677 - Remove support for the moz-extremely-unstable-and-will-change-webcomponents permission; r=wchen 2017-06-19 22:12:24 -04:00
Ethan Lin 84176294e0 Bug 1367994 - Remove skip-if for 1272475-1.html since the issue is fixed in webrender. r=kats 2017-06-20 10:08:23 +08:00
Kan-Ru Chen 2025397d67 Bug 1373603 - Initialize the mEventTarget after we setup MessageLoop::current() to silence a DCHECK. r=billm
MozReview-Commit-ID: EnMm4uhlfQV
2017-06-20 09:07:36 +08:00
Wes Kocher 17a16ffd2f Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gf5xDaCWnPi
2017-06-19 17:34:36 -07:00
Wes Kocher 57da9036bb Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Steve Fink a4aeac7e8e Bug 1366925 - add regression test for JS shell ordering problem, r=me
--HG--
extra : source : 4135740caaa4588b80449a58a5f6582f834f5306
extra : histedit_source : 4cb6892f7a341dfe5688d75c42a367fd0fcf9159
2017-06-19 17:22:45 -07:00
Wes Kocher 3c6127896a Backed out changeset 4135740caaa4 (bug 1366925) for SM failures in bug1366925.js a=backout CLOSED TREE
MozReview-Commit-ID: 2LQVDRmNiJK
2017-06-19 17:13:30 -07:00
Wes Kocher 1e80580419 Merge autoland to central, a=merge
MozReview-Commit-ID: 4NzLU3zKJOz
2017-06-19 17:01:09 -07:00
Nicholas Nethercote c078fc6036 Bug 1374127 (part 7) - Remove Registers' constructor. r=mstange.
We rely partly on the constructor to set Registers, and partly on subsequent
assignments. This patch changes things so we rely entirely on subsequent
assignments, for consistency.

--HG--
extra : rebase_source : ca69186f5755003e710985bfb40c90072067305c
2017-06-20 08:45:43 +10:00
Nicholas Nethercote cc6bc3e49b Bug 1374127 (part 6) - Rename FillInRegs(), and introduce a similar function for Windows to avoid repetition. r=mstange.
--HG--
extra : rebase_source : 5dcc319804661858e8d58b41d1f8b8f452d80c2b
2017-06-20 08:45:43 +10:00
Nicholas Nethercote 5e6717e1af Bug 1374127 (part 5) - Remove SyncPopulate's argument. r=mstange.
We can use a static ucontext_t on Linux for synchronous samples instead of
declaring one on the stack in profiler_get_backtrace(). This neatens
SyncPopulate()'s signature.

SyncPopulate() is also only used when HAVE_NATIVE_UNWIND is defined, so the
patch guards the definitions.

--HG--
extra : rebase_source : b71e6d76f24b37bc236ac8f4359d401b1551e2de
2017-06-20 08:45:43 +10:00
Nicholas Nethercote 376df7b9bd Bug 1374127 (part 4) - Clean up GeckoProfiler.h a bit. r=mstange.
The patch:

- Removes some unnecessary forward declarations.

- Moves some macros to more logical locations.

- Improves and removes some comments.

--HG--
extra : rebase_source : 23f1de029bbe4a37d2cc1ebe1df76e9a6aa1b335
2017-06-20 08:45:41 +10:00
Mats Palmgren a0ff91e5d1 Bug 1374089 part 2 - Use nsRefPtrHashtable instead of nsDataHashtable with a RefPtr<> data type, since it's clearer and avoids unnecessary AddRef/Release calls. r=froydnj
MozReview-Commit-ID: 3PshFI1cO38
2017-06-19 18:19:14 +02:00
Mats Palmgren 1da7b46948 Bug 1374089 part 1 - Use LookupForAdd instead of Contains+Put, and remove an unnecessary Contains call before GetAndRemove, to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 599FkcgcRj0
2017-06-19 18:19:14 +02:00
Mats Palmgren cddeb03b03 Bug 1374126 - Use LookupForAdd instead of Contains+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: EI6vKlMqG5i
2017-06-19 18:19:14 +02:00
Mats Palmgren 882d4be4d7 Bug 1374125 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: DYad7czMWBu
2017-06-19 18:19:14 +02:00
Sebastian Hengst c153d4ba27 Backed out changeset a4230d2eab5f (bug 1362330) for failing asan-fuzzing (Bof) job, undeclared identifier TaskCategory at nsContentPolicy.cpp:142. r=backout 2017-06-19 17:43:39 +02:00
Sebastian Hengst e027b845e7 Backed out changeset 6660b55684d3 (bug 1362330) 2017-06-19 17:42:25 +02:00
ffxbld 2bcd258281 No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-06-19 08:39:22 -07:00
ffxbld 604ae6476d No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-06-19 08:39:19 -07:00
Kartikaya Gupta b8d2c3798a Bug 1369678 - Follow-up to remove stale comment. r=me and DONTBUILD
MozReview-Commit-ID: DYZ4oy36DVv
2017-06-19 11:33:12 -04:00
Ben Kelly 57c553c1a1 Bug 1372933 Relax time checks in browser_timeout_throttling_with_audio_playback.js back to previous levels. r=ehsan 2017-06-19 08:19:33 -07:00
Carsten "Tomcat" Book d14a5a593a merge mozilla-inbound to mozilla-central a=merge 2017-06-19 13:37:20 +02:00
Dragana Damjanovic e80186dffd Bug 1372897 - Test only the necko part of TFO, i.e. disable the nspr part. r=mcmanus 2017-06-19 09:16:38 +02:00
Christoph Kerschbaumer 829704554e Bug 1370788 - Move XFO out of nsDSURIContentListener.cpp into dom/security. r=smaug 2017-06-19 06:59:44 +02:00
Nicholas Nethercote f8bf8ca8f0 Bug 1374127 (part 3) - Reorder macros in GeckoProfiler.h. r=mstange.
It's bugged me for some time that the comments explaining what all the
PROFILER_* macros do are on the empty definitions that are used when the
profiler is disabled. This patch switches the order.

--HG--
extra : rebase_source : d783aa996f91b305cbebd678e6652d6bc939fb98
2017-06-19 13:34:32 +10:00
Nicholas Nethercote 453b6f2d11 Bug 1374127 (part 2) - Clean up ProfilerMarkerPayload. r=mstange.
This patch does the following.

- Renames some ProfilerMarkerPayload subclasses so they all of the form
  "FooMarkerPayload", to make the subclass relationship clearer.
  (ProfilerMarkerTracing -- now TracingMarkerPayload -- was the worst
  offender.)

- Removes ProfilerMarkerImagePayload and TouchDataPayload, neither of which are
  used.

- Changes streamCommonProps() to StreamCommonProps().

- Does some minor style and comment fixes in ProfilerMarkerPayload.h.

--HG--
extra : rebase_source : dd732905e96da83bcbf124c70b20011c661fc332
2017-06-19 13:32:32 +10:00
Nicholas Nethercote feb7783eed Bug 1374127 (part 1) - Add `using namespace mozilla;` to ProfilerMarkerPayload.cpp. r=mstange.
--HG--
extra : rebase_source : 37961947dbc0151903dabcda2d5fa00c99a1a333
2017-06-16 12:46:10 +10:00
Steve Fink f72b945898 Bug 1366925 - add regression test for JS shell ordering problem, r=me
--HG--
extra : rebase_source : fa04dfbf5279e3b2f13af00282c588e0cd2776c6
extra : histedit_source : 641d06898f036aea2136ad00c4f3ba2f338fa813
2017-06-19 15:35:38 -07:00
Kris Maglione c3e2a420ec Bug 1374457: Key cached manifest and locale data by add-on version. r=rhelmer
MozReview-Commit-ID: 7NdS0Etmhot

--HG--
extra : rebase_source : cdb25c5c25c78eca14deb36d05d36bc44cca9906
2017-06-19 15:14:08 -07:00
Nicholas Nethercote 5d3808c6e5 Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange.
Once the |aPayload| argument to profile_add_marker() became a UniquePtr the
default value of nullptr caused compilation difficulties that could only be
fixed by #including ProfilerMarkerPayload.h into lots of additional places
(because the UniquePtr<T> instantiation required the T to be fully defined). To
get around this I just split profile_add_marker() into two functions, one with
1 argument and one with 2 arguments.

The patch also removes the definition of PROFILER_MARKER_PAYLOAD in the case
where MOZ_GECKO_PROFILER isn't defined. A comment explains why.
2017-06-16 12:26:26 +10:00
Nicholas Nethercote 8fccd59ba6 Bug 1373436 (part 3) - Use UniquePtr more with ProfilerMarkerPayload. r=mstange. 2017-06-16 10:51:05 +10:00
Nicholas Nethercote 442ac55216 Bug 1373436 (part 2) - Use a UniquePtr for CorePS::mLul. r=mstange. 2017-06-16 10:30:35 +10:00
Nicholas Nethercote 8d89035364 Bug 1373436 (part 1) - Use UniquePtr more for ProfileBuffer and ProfilerBacktrace . r=mstange. 2017-06-16 09:43:16 +10:00
Nicholas Nethercote d529284168 Bug 1373154 (part 3, attempt 2) - Overhaul TickSample and things around it. r=mstange.
Bug 1357829 added a third kind of sample, in addition to the existing
"periodic" and "synchronous" samples. This patch cleans things up around that
change. In particular, it cleans up TickSample, which is a mess of semi-related
things.

The patch does the following.

- It removes everything from TickSample except the register values and renames
  TickSample as Registers. Almost all the removed stuff is available in
  ThreadInfo anyway, and the patch adds a ThreadInfo argument to various
  functions. (Doing it this way wasn't possible until recently because a
  ThreadInfo wasn't available in profiler_get_backtrace() until recently.)

  One non-obvious consequence: in synchronous samples we used to use a value of
  0 for the stackTop. Because synchronous samples now use ThreadInfo directly,
  they are able to use the proper stack top value from ThreadInfo::mStackTop.
  This will presumably only improve the quality of the stack traces.

- It splits Tick() in two and renames the halves DoPeriodicSample() and
  DoSyncSample().

- It reorders arguments in some functions so that ProfileBuffer (the output) is
  always last, and inputs are passed in roughly the order they are obtained.

- It adds a comment at the top of platform.cpp explaining the three kinds of
  sample.

- It renames a couple of other things.

--HG--
extra : rebase_source : 4f1e69c605102354dd56ef7af5ebade201e1d106
2017-06-19 09:38:15 +10:00
Nicholas Nethercote 61516fe3a0 Bug 1373154 (part 2, attempt 2) - Don't call AllocPlatformData() in profiler_get_backtrace(). r=mstange.
We already have a PlatformData for the thread in its ThreadInfo.

--HG--
extra : rebase_source : 4b7a4f70c3b38f38928bfa7d10b6362ac2cc3ed6
2017-06-19 09:38:11 +10:00
Nicholas Nethercote 16b88972ff Bug 1373154 (part 1, attempt 2) - Add more comments about the profiler's critical section. r=me.
--HG--
extra : rebase_source : 16d1ba39fa04e1df82231c347fffe49251cf9f33
2017-06-19 09:09:46 +10:00
Mats Palmgren 06d9d2ec37 Bug 1373884 - s/FramePropertyTable/FrameProperties/ in a couple of places. r=me
MozReview-Commit-ID: ID1bBk6hbOR
2017-06-19 00:07:36 +02:00
Mats Palmgren 8924a195df Bug 1373999 part 3 - Create dom/base/SelectionChangeListener.cpp and move mozilla::dom::SelectionChangeListener code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: E8kiDtyWVdQ

--HG--
rename : dom/base/Selection.cpp => dom/base/SelectionChangeListener.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren 18cc369911 Bug 1373999 part 2 - Create layout/generic/nsFrameSelection.cpp and move nsFrameSelection code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: 2uTrJ9SO63s

--HG--
rename : dom/base/Selection.cpp => layout/generic/nsFrameSelection.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren d582beef4f Bug 1373999 part 1 - Move layout/generic/nsSelection.cpp verbatim to dom/base/Selection.cpp, and layout/generic/Selection*.h to dom/base/. Also export a few table header files that it needs. r=smaug
MozReview-Commit-ID: 9YUmEOIHUdc

--HG--
rename : layout/generic/nsSelection.cpp => dom/base/Selection.cpp
rename : layout/generic/Selection.h => dom/base/Selection.h
rename : layout/generic/SelectionChangeListener.h => dom/base/SelectionChangeListener.h
2017-06-19 00:07:36 +02:00
Sebastian Hengst 1f7d31312c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 20:50:40 +02:00