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

541652 Коммитов

Автор SHA1 Сообщение Дата
James Willcox 1ee305812e Bug 1370308 - Don't crash when using SkiaGL with SurfaceTexture on Android r=jgilbert
MozReview-Commit-ID: EKxBaU6SfdB
2017-06-15 10:59:01 -05:00
Ben Kelly 01bd1df36e Bug 1363848 P5 Update WPT test expectations. r=dragana 2017-06-15 07:52:42 -07:00
Ben Kelly 48263c68de Bug 1363848 P4 Only set LOAD_BYPASS_SERVICE_WORKER when resetting the child channel if we're not in "manual" redirect mode. r=dragana 2017-06-15 07:52:42 -07:00
Ben Kelly b3523ebd61 Bug 1363848 P3 Don't set LOAD_BYPASS_SERVICE_WORKER flag on internal redirects in nsHttpChannel. r=dragana 2017-06-15 07:52:42 -07:00
Ben Kelly 45b30214c3 Bug 1363848 P2 Do not intercept internal redirects regardless of LOAD_BYPASS_SERVICE_WORKER flag. r=dragana 2017-06-15 07:52:41 -07:00
Ben Kelly 92ebf95b57 Bug 1363848 P1 Record the last redirect flags on the http channel. r=dragana 2017-06-15 07:52:41 -07:00
Ben Kelly fb3f580b62 Bug 1372962 Use idl defined state constants in test_devtools_track_serviceworker_time.html. r=tt 2017-06-15 07:34:35 -07:00
Joel Maher 24c01a95de Bug 1309759 - Intermittent browser_rules_style-editor-link.js. temporarily disabled on !debug. r=ahal
MozReview-Commit-ID: Bof2yy1IzBY
2017-06-15 09:44:33 -04:00
Joel Maher 636cc64791 Bug 1208197 - temporarily disable test_bug533845.xul. r=ahal
MozReview-Commit-ID: DtXdztv9uJS
2017-06-15 09:44:31 -04:00
Joel Maher 9a83cb2a11 Bug 1372857 - allow xperf in debug mode to upload more data to blobber. r=rwood
MozReview-Commit-ID: 55Kfcg3SBMO
2017-06-15 09:44:09 -04:00
Joel Maher c0180560e9 Bug 1361002 - ensure we use environment variables during the profile warmup run. r=rwood
MozReview-Commit-ID: JDT1kMDlalR
2017-06-15 09:44:06 -04:00
Ehsan Akhgari 7fccf77722 Bug 1373063 - Make nsFormFillController::HandleEvent() a bit faster by avoiding some string comparisons; r=MattN 2017-06-15 09:39:30 -04:00
Honza Bambas e5332cb32b Bug 1345939 - Protect TimeStamp::Now() from going backwards on hardware with non-stable TSC. r=nfroyd 2017-06-13 05:12:00 -04:00
Jessica Jong 98b67c9ce2 Bug 1371121 - [DateTimeInput] Remove activeElement check in blur event handler. r=smaug
In the original code, we check if input element is still the
document.activeElement in blur event handler, if so, we do nothing and early
return.
This check is not necessary, since it's not possible to refocus an element
during a blur. It also breaks the case of date/time input being in an iframe,
since when the iframe loses focus, the activeElement in the iframe is still the
date/time input, so we behave incorrectly after that.

MozReview-Commit-ID: 4matbsfxC0A
2017-06-14 02:06:00 -04:00
Andrew McCreight ef2442e781 Bug 1373057 - Normalize script source counts in about:memory diffs. r=erahm
We care about the memory used by these scripts, not by the precise
count of them.
2017-06-14 15:36:00 -04:00
Benjamin Bouvier 6d50d62258 Bug 1372883: wasm baseline: don't read returned values from x87 FPU stack on x86; r=lth
MozReview-Commit-ID: L2ovA8EXqy1

--HG--
extra : rebase_source : efc48ad1244dbb298eec937d738eb32d7a37e247
extra : amend_source : f8577e6f60e51df6733f0ab2422b1ce16c12ab8a
2017-06-14 16:46:29 +02:00
Nicolas B. Pierron 531bc552f1 Bug 1307633 - XDRScript: Do not attempt to free 0-initialized scriptData_ on OOM. r=shu 2017-06-15 12:32:27 +00:00
Jan de Mooij 538e83fc86 Bug 1372182 part 6 - Inline PurgeEnvironmentChain. r=anba 2017-06-15 14:30:42 +02:00
Jan de Mooij e9095f3667 Bug 1372182 part 5 - Inline PropertyTree::getChild in NativeObject::getChildProperty. r=evilpie 2017-06-15 14:30:00 +02:00
Jan de Mooij cc48a0fe76 Bug 1372182 part 4 - Refactor/optimize PropertyTree::getChild a bit. r=jonco 2017-06-15 14:29:24 +02:00
Nicolas Silva f209188047 bug 1373135 - Mark wr_thread_pool_delete destructor-safe. r=kats 2017-06-15 14:20:12 +02:00
Michal Novotny 17a6f52d45 Bug 1367742 - Crash in mozilla::net::nsHttpChannel::ContinueProcessRedirection, r=valentin, r=honzab
Setting mFirstResponseSource in nsHttpChannel::OnStartRequest when cache wins is too late, because the channel might already started redirecting in nsHttpChannel::ReadFromCache. In this case nsHttpChannel::OnStartRequest is not call at all for the cache pump and we would proceed the network response which should be ignored.
2017-06-15 13:47:33 +02:00
Sebastian Hengst 1b26da1b2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 11:17:07 +02: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
JerryShih 011987c967 Bug 1372803 - Handle GPUVideoTextureHost type for WR. r=sotaro
In windows platform, gecko will use GPUVideoTextureHost type for remote video decoding.
Implement the WR related functions for this type.

MozReview-Commit-ID: KSpndcApK3H
2017-06-15 17:07:46 +08:00
JerryShih 8731715817 Bug 1372803 - Move the RenderTextureHost creation from WebRenderTextureHost to the corresponding TextureHost. r=sotaro
MozReview-Commit-ID: JF19ntiQKfa
2017-06-15 17:07:46 +08:00
JerryShih 6175226606 Bug 1372803 - Remove the unnecessary AsMacIOSurfaceTextureHostOGL() interface in RenderTextureHostOGL. r=sotaro
This function is not necessary in our current implementation.

MozReview-Commit-ID: IyfzLTs3uQ6
2017-06-15 17:07:46 +08: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
Wes Kocher 1c6a87f4be Backed out 2 changesets (bug 1345365) for frequent failures in test_data.html a=backout
Backed out changeset 0ea7a5deacf6 (bug 1345365)
Backed out changeset bba1dee06769 (bug 1345365)

MozReview-Commit-ID: KURUgnesr8B
2017-06-15 00:52:04 -07:00
sotaro a1ccf002a7 Bug 1372066 - Fix animations leak on abnormal shutdown and tab move between different windows r=kats
This bug handles abnormal client shut down case and Tab move between different windows.

Abnormal client shut down case, WebRenderBridgeParent does not receive IPC messages that are sent during WebRenderLayerManager and WebRenderBridgeChild destruction. In this case, animations under the WebRenderBridgeChild are not removed from CompositorAnimationStorage. Abnormal shut down could happen when content process was crashed or content process was killed by ContentParent if shutdown takes too long time.

In the tab move case, the WebRenderBridgeParent will need to be re-bound to a different CompositorBridgeParent and CompositorAnimationStorage, and so will need to clear all its active animations from the old CompositorAnimationStorage and add animations into the new CompositorAnimationStorage. This will happen in a future patch.
2017-06-15 16:36:03 +09: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
Mats Palmgren c7e9bf0310 Bug 1372429 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=michal
MozReview-Commit-ID: IAupx4Eu75h
2017-06-14 17:27:25 +02:00
Mats Palmgren 3d62b7ca50 Bug 1372413 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=mak
MozReview-Commit-ID: 1isuxbPXV94
2017-06-14 17:27:25 +02:00
Mats Palmgren 185a60c094 Bug 1372327 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 5J6Ea73JX4f
2017-06-14 17:27:25 +02:00
Mats Palmgren 2979d4b762 Bug 1372368 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: trugd3ihLh
2017-06-14 17:27:25 +02:00
Mats Palmgren 9fc0c76c2f Bug 1372356 part 2 - Use mWindowMap.LookupForAdd instead of Get+Put, and LookupRemoveIf instead of Get+Remove, to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: 9L3GGGKDoJZ
2017-06-14 17:27:25 +02:00