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

541908 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly 36f2e5562d Bug 1371787 P2 Don't adjust Timeout::When() values in TimeoutManager::Resume(). r=ehsan 2017-06-15 17:30:47 -07:00
Ben Kelly f4263c76a4 Bug 1371787 P1 Rename TimeoutManager "min timeout" values to "min clamp timeout" for clarity. r=ehsan 2017-06-15 17:30:47 -07:00
Ryan VanderMeulen d55d9c97c5 Bug 1373467 - Update pdf.js to version 1.8.450. r=bdahl 2017-06-15 20:27:11 -04:00
domfarolino@gmail.com 77604ded87 Bug 1274663 - Add command button to trigger device reset in nightly & dev about:support. r=milan
--HG--
extra : rebase_source : 97b809cc1905528c3ab60ab6f1bf1ce9065692b6
2017-06-15 14:35:00 -04:00
domfarolino@gmail.com 0cfb387dec Bug 1274663 - Add mochitest. r=dvander
--HG--
extra : rebase_source : 256d3b1cb3715a6e227ce119cdebcfabc7a45ed6
2017-06-15 14:35:00 -04:00
domfarolino@gmail.com d4253766db Bug 1274663 - Expose API to trigger device reset. r=dvander
--HG--
extra : rebase_source : 5a9d2757f8e7378083ce42131d5a250027569814
2017-06-15 14:34:00 -04:00
Robert Strong f9ae3f3f52 Bug 1373267 - Remove hashFunction and hashValue attributes from nsIUpdatePatch and code related to these attributes. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadAndHashCheckMar.js => toolkit/mozapps/update/tests/unit_aus_update/downloadInvalidMar.js
2017-06-15 17:15:28 -07:00
Nicholas Nethercote 8179018d28 Bug 1373154 (part 3) - 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 : 61f4bf75ff5a2c331e8e39dcbb2bf3563606ebb0
2017-06-16 08:29:19 +10:00
Nicholas Nethercote 4b3df390dc Bug 1373154 (part 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 : 2b943889be2afafdf6c166661ec607c3df0e9b6b
2017-06-15 22:02:08 +10:00
Nicholas Nethercote d0c2d996a1 Bug 1373154 (part 1) - Remove TickSample::mTimeStamp. r=mstange.
We can just TimeStamp::Now() directly when needed.

--HG--
extra : rebase_source : 94653b716da43c43c41cff20a26dc58ec15d1de5
2017-06-15 22:01:10 +10:00
Wes Kocher c0147ff641 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gpr1rVG4pMo
2017-06-15 16:26:40 -07:00
Wes Kocher 208ec84119 Merge inbound to central, a=merge
MozReview-Commit-ID: AiSwcmvIrE
2017-06-15 16:22:40 -07:00
Eitan Isaacson 309b4202e7 Bug 1366837 - Add AccessibleHandler registration info to aboutSupport. r=smaug r=aklotz 2017-06-15 15:55:06 -07:00
Eitan Isaacson 109fff34b9 Bug 1366374 - Check if AccessibleHandler.dll is registered before using. r=aklotz 2017-06-15 15:55:06 -07:00
Brendan Dahl 33ec005421 Bug 1341493 - Wait for accessibility element if accessibility doc is busy. r=automatedtester
Occasionally marionette tries to get the accessibility element while the
elements are still being built. This causes getAccessibleFor to return
null when there actually should be an accessibility element available.
Instead, if the document is busy, wait until it finishes to get the
accessibility element.
2017-06-15 14:53:14 -07:00
Valentin Gosu 7a1ca14038 Bug 1367810 - Don't race cache with network when CORS preflight is required for a channel r=michal
MozReview-Commit-ID: CPyafHsMYoy
2017-06-16 00:32:00 +03:00
Michael Layzell b2730ca921 Bug 1373281 - Null-check mStackToFill before collecting psuedostacks, r=froydnj
This was causing a crash on nightly. The browser would try to collect only a
native stack, and then attempt to dereference the null pointer for the
pseudostack. I think this didn't happen on infra as it only occurs when the user
has hung a sufficient number of times.

MozReview-Commit-ID: 6RSW2llKBjT
2017-06-15 17:04:42 -04:00
Ryan Hunt fd8c1c280d Bug 1373285 - Remove keyboard apz telemetry probes. r=smaug
These are no longer needed as we have the data we were looking for.

MozReview-Commit-ID: 3WlPng3mAwt

--HG--
extra : rebase_source : 73a390f85f5c0894d53a5e8ee10b19278af58282
extra : amend_source : 6a2b9ff4191715d0ac6e43f92af1e64c59123ac6
2017-06-15 13:55:26 -05:00
Sebastian Hengst 9b6197930c merge mozilla-central to autoland. r=merge a=merge 2017-06-15 20:13:40 +02:00
Sebastian Hengst 43c84014a1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HYo8pUZXJ8Z
2017-06-15 20:12:28 +02:00
Sebastian Hengst 5e87ebd65f merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DslWw03hayw
2017-06-15 20:04:31 +02:00
ffxbld 2170a219e8 No bug, Automated blocklist update from host bld-linux64-spot-382 - a=blocklist-update 2017-06-15 08:38:38 -07:00
ffxbld c365df1999 No bug, Automated HPKP preload list update from host bld-linux64-spot-382 - a=hpkp-update 2017-06-15 08:38:35 -07:00
ffxbld fc60e8619a No bug, Automated HSTS preload list update from host bld-linux64-spot-382 - a=hsts-update 2017-06-15 08:38:32 -07:00
Andreas Tolfsen 3802e2befd Bug 1373218 - Add invalid cookie domain error to status lookup; r=automatedtester
The InvalidCookieDomainError type is missing a status lookup key in
testing/marionette/error.js.  This adds "invalid cookie domain" as a
reverse lookup for the type.

MozReview-Commit-ID: 69hkk28axtt

--HG--
extra : rebase_source : 19628df79d89f7fbaf821cc1847e1be241ff56af
2017-06-15 13:36:47 +01:00
Anthony Ramine 98940e5acb servo: Merge #17337 - Use CustomIdent in more properties (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 4b633c8637ec8bf5da7538a04506941325807701

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 68d19e6b1133667d4599fdc0299014c0d86d3454
2017-06-15 05:24:17 -07:00
Honza Bambas 5faa1a752e Bug 1373064 - Add null-check for a connection entry to nsHttpConnectionMgr::IsConnEntryUnderPressure. r=mcmanus 2017-06-15 07:55:00 -04:00
Michael Layzell cd7d12f6e7 Bug 1370971 - Enable dom.noopener.newprocess by default, r=bz
MozReview-Commit-ID: 2XNmnVkIicV
2017-06-15 15:07:44 -04:00
Joel Maher 9c8d73fcdc Bug 1372857 - whitelist additional addons which show up in pgo only. r=Kwierso
MozReview-Commit-ID: ELxmalEZ676
2017-06-15 14:55:54 -04:00
Michael Layzell b24cba603e Bug 1369627 - Part 2: Send DimensionInfo down to the content process synchronously when creating a new window, r=smaug
MozReview-Commit-ID: GlzJ491RLUE
2017-06-15 14:34:48 -04:00
Michael Layzell f9f7306ed3 Bug 1369627 - Part 1: Add a test for the behavior of window.resizeBy right after opening a new window, r=smaug
MozReview-Commit-ID: GLqs4YU0lbX
2017-06-15 14:34:46 -04:00
Sebastian Hengst a672914c01 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 20:14:54 +02:00
Felipe Gomes 0f9563ee01 Bug 1369500 - Adjust about:license note about GPLv3. r=gerv. DONTBUILD
MozReview-Commit-ID: GcyU6sEb9zU
2017-06-15 15:03:45 -03:00
Sebastian Hengst 20d16dadd3 merge mozilla-inbount to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36YqbsnO3en
2017-06-15 11:11:30 +02:00
Sebastian Hengst 02c5cf4167 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ALl7GQHEApt
2017-06-15 10:53:50 +02:00
Andrew Osmond fdb5476ee6 Bug 1365231 - WebRender should not use FLAG_HIGH_QUALITY_SCALING with RasterImage::GetImageContainer. r=jrmuizel 2017-06-14 12:53:07 -04:00
Ben Hearsum ef8dce082d bug 1359084: remove unused mozharness config file. r=asasaki 2017-06-14 12:40:26 -04:00
Michael Layzell e51690c5b9 Bug 1357829 - Part 4: Remove TickController, r=njn
MozReview-Commit-ID: 2IHa6ybR9ug
2017-06-14 12:27:52 -04:00
Michael Layzell 3e295cfe16 Bug 1357829 - Part 3: Remove profiler_get_stack_top, r=njn
MozReview-Commit-ID: C4DvuOvYSrs
2017-06-14 12:27:51 -04:00
Michael Layzell 7121551189 Bug 1357829 - Part 2: Use profiler_suspend_sample_thread in the background hang monitor, r=froydnj
This patch uses the profiler_suspend_sample_thread method which was added in
part 1.

With this patch, we no longer manually run code to pause the target thread,
instead using the profiler's provided code to do so. In addition, we no longer
manually walk the stack to collect native stack frames, instead relying on the
profiler's cross-platform stack walking logic.

This helps remove some of the code from ThreadStackHelper which was redundant
with the profiler. Much of the pseudostack code in ThreadStackHelper is also
redundant, and should hopefully be eliminated in a follow-up.

MozReview-Commit-ID: 4RjLHt6inH9
2017-06-14 12:27:49 -04:00
Michael Layzell 029576f19d Bug 1357829 - Part 1: Expose profiler_suspend_and_sample_thread, r=njn
This patch performs a refactoring to the internals of the profiler in order to
expose a function, profiler_suspend_and_sample_thread, which can be called from a
background thread to suspend, sample the native stack, and then resume the
target passed-in thread.

The interface was designed to expose as few internals of the profiler as
possible, exposing only a single callback which accepts the list of program
counters and stack pointers collected during the backtrace.

A method `profiler_current_thread_id` was also added to get the thread_id of the
current thread, which can then be passed by another thread into
profiler_suspend_sample_thread to sample the stack of that thread.

This is implemented in two parts:

1) Splitting SamplerThread into two classes: Sampler, and SamplerThread.

Sampler was created to extract the core logic from SamplerThread which manages
unix signals on android and linux, as well as suspends the target thread on all
platforms. SamplerThread was then modified to subclass this type, adding the
extra methods and fields required for the creation and management of the actual
Sampler Thread.

Some work was done to ensure that the methods on Sampler would not require
ActivePS to be present, as we intend to sample threads when the profiler is not
active for the Background Hang Reporter.

2) Moving the Tick() logic into the TickController interface.

A TickController interface was added to platform which has 2 methods: Tick and
Backtrace. The Tick method replaces the previous Tick() static method, allowing
it to be overridden by a different consumer of SuspendAndSampleAndResumeThread,
while the Backtrace() method replaces the previous MergeStacksIntoProfile
method, allowing it to be overridden by different consumers of
DoNativeBacktrace.

This interface object is then used to wrap implementation specific data, such as
the ProfilerBuffer, and is threaded through the SuspendAndSampleAndResumeThread
and DoNativeBacktrace methods.

This change added 2 virtual calls to the SamplerThread's critical section, which
I believe should be a small enough overhead that it will not affect profiling
performance. These virtual calls could be avoided using templating, but I
decided that doing so would be unnecessary.

MozReview-Commit-ID: AT48xb2asgV
2017-06-14 12:27:48 -04:00
Andrew Osmond 9e4c9d88a1 Bug 1365927 - Part 6. Remove CompositorThreadHolder reference from CompositorBridgeParent. r=dvander 2017-06-14 11:40:00 -04:00
Andrew Osmond cafe9dcd45 Bug 1365927 - Part 5. Make PCompositorManager the manager protocol of PCompositorBridge. r=dvander 2017-06-14 11:40:00 -04:00
Andrew Osmond 27eaaaed2f Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond 9abc5f52d5 Bug 1365927 - Part 3. Move PCompositorBridge toplevel protocol overrides to PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond fc4e6a00ae Bug 1365927 - Part 2. Add minimal PCompositorManager protocol. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond a3d11c8688 Bug 1365927 - Part 1. Add missing headers and other build housekeeping. r=dvander 2017-06-14 11:39:59 -04:00
ffxbld c49a70b53f No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-14 08:33:27 -07:00
ffxbld b98ce20b57 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-14 08:33:24 -07:00
Mats Palmgren d40a0ac6c8 Bug 1372431 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=michal
MozReview-Commit-ID: 7zOWbhd8MnN
2017-06-14 17:27:25 +02:00