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

541908 Коммитов

Автор SHA1 Сообщение Дата
Brian Birtles f94eed9781 Bug 1371518 - Use Servo backend to determine if a property is transitionable; r=hiro
This allows Gecko to use the same criteria as Servo for evaluating if a property
should be transitioned and will cause Gecko to exclude discretely animated
properties, including, in future, the 'display' property.

MozReview-Commit-ID: H2wWVo5isKS

--HG--
extra : rebase_source : 34798306aa5f485b0583d3640caf24d123922584
2017-06-15 09:54:06 +09:00
Brian Birtles 7a76319c9a Bug 1371518 - Drop Servo_AnimationValueMap_Push; r=hiro
This is no longer needed as of bug 1311257 since we now compose animations on
the Servo side.

MozReview-Commit-ID: 8VbgYjhIQmu

--HG--
extra : rebase_source : 7dc5ea57cd2f0991bc65810c9eb98cc9044c5d77
2017-06-15 09:49:14 +09:00
Brian Birtles 066d307211 servo: Merge #17331 - Support animation of the display property (from birtles:animate-display); r=hiro
These are the Servo-side changes of [Mozilla bug 1371518](https://bugzilla.mozilla.org/show_bug.cgi?id=1371518).

These changes have been reviewed by @hiikezoe.

Source-Repo: https://github.com/servo/servo
Source-Revision: 09b8f124f59f98d83e4fe72a3fe4d506e912cdb6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c1d1941bcbf78d38a7ec6c1201d1df4061dbc18a
2017-06-14 20:17:47 -07:00
Manish Goregaokar 8491f45cf8 Bug 1372812 - stylo: Make nsListControlFrame::AboutToDropDown work in servo mode; r=emilio
MozReview-Commit-ID: JHzH6oqyu0K

--HG--
extra : rebase_source : b40cd4493f4094a85897212ba5e5c897f7e86790
2017-06-14 19:40:20 -07:00
Robert Longson f055bf18d2 Bug 1369904 - Bounding box should not include control points. r=lsalzman 2017-06-14 06:34:01 +01:00
Gabriel Luong 8cda8dcb70 Bug 1348004 - Display a new! indicator and a promote message bar to the layout panel. r=jdescottes 2017-06-14 00:52:03 -04:00
Mark Banner 3e55f32f5b Bug 1372738 - A test timing out may show false uncaught errors in subsequent tests. r=mossop
MozReview-Commit-ID: 3HMWssBcwqX

--HG--
extra : rebase_source : 2ba5b05e127d495c0d12900c4a12dba75ad32c33
2017-06-13 22:55:44 +01: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
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
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
Nicholas Nethercote e7083443e9 Bug 1372864 - Change CheckResponsivenessTask::mMonitor to a Mutex. r=mstange.
A mutex is good enough.

--HG--
extra : rebase_source : af7494cd308f67a3599e18f8740cbb36da2f0fac
2017-06-14 21:06:41 +10:00
JerryShih 23bde0778f Bug 1372489 - Update GLConsts.h and GLDefs.h. r=jgilbert.
Get the latest gl.xml, egl.xml, wgl.xml and glx.xml.
Then, execute the |GLParseRegistryXML.py|. Please check the details in |GLParseRegistryXML.py|.

The ANGLE_stream_producer_d3d_texture_nv12 and ANGLE_keyed_mutex extension are not exist in egl.xml,
so add the "LOCAL_EGL_DXGI_KEYED_MUTEX_ANGLE" and "LOCAL_EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE" manually in GLDefs.h.

egl:
2e6e7ff7bf
gl, glx and wgl:
23a3a95673
2017-06-15 14:43:53 +08:00
JerryShih 5309fc0478 Bug 1372490 - GetError() returns GL_CONTEXT_LOST not GL_CONTEXT_LOST_WEBGL. r=jgilbert
MozReview-Commit-ID: KYr0cKoeWJo
2017-06-15 14:43:53 +08:00
sotaro 33a0f76b05 Bug 1372816 - Send WebRenderParentCommands When EmptyTransaction is aborted r=jrmuizel 2017-06-15 13:38:22 +09:00
Robert Strong 31214d5a1c Bug 1372523 - Update tests for the removal of the isSecurityUpdate, showNeverForVersion, and showPrompt attributes from nsIUpdate. r=mhowell
Converts the test functions getLocalPatchString, getLocalUpdateString, getRemotePatchString, and getRemoteUpdateString to use an object as a param.
2017-06-14 16:18:42 -07:00
Robert Strong 604fac26dd Bug 1372523 - Remove the isSecurityUpdate, showNeverForVersion, and showPrompt attributes from nsIUpdate and the use of these attributes. r=mhowell 2017-06-14 16:18:05 -07:00
Florian Quèze 65e6947718 Bug 1373053 - nsObserverService::NotifyObservers should add a pseudo stack frame showing the topic of the notification, r=mstange. 2017-06-15 00:58:25 +02:00
Florian Quèze a5e2cbd774 Bug 1373047 - mozJSSubScriptLoader::LoadSubScript should add a pseudo stack frame showing which script is loaded, r=mstange. 2017-06-15 00:58:25 +02:00
Florian Quèze fd8b6d1c71 Bug 1372901 - Add a pseudo stack frame showing which module is being imported by a Cu.import call, r=mstange. 2017-06-15 00:58:25 +02:00
Ted Campbell 8b0a6d7518 Backed out changeset a40056f67040 (bug 1169746) for breaking six-speed benchmark 2017-06-14 18:25:29 -04:00
Andrew McCreight 9407ff76bb Bug 1372714 - Add an option to output parse_about_memory.py results in mebibytes. r=erahm
This makes it easier to compare results to about:memory.
2017-06-14 10:30:00 -07:00
Eric Rahm 225659c3fd Bug 1372667 - Part 2: Clean up path_total. r=mccr8
This attempts to make the path_total function more legible.

MozReview-Commit-ID: 4quRaQ4DV9j
2017-06-14 15:09:49 -07:00
Andrew McCreight 1c02e9be58 Bug 1372667 - Only count heap memory once in totals_heap. r=erahm 2017-06-13 11:59:00 -07:00
Eric Rahm 61c1bb639a Bug 1372437 - Part 2: Update paths to include slash for prefix match. r=mccr8
MozReview-Commit-ID: Br5FN3mOzYD
2017-06-14 15:09:47 -07:00
Eric Rahm a60afc36f3 Bug 1372437 - Part 1: Perform an exact match if path does not end in a slash. r=mccr8
This changes the about memory parser to only perform prefix matches if the
path ends in a '/'. For example:

> parse_about_memory.py memory-report.json.gz 'resident'

Will match the 'resident' node, but not 'resident-unique'.

MozReview-Commit-ID: CK2jAemGNDn
2017-06-14 15:09:46 -07:00
Ehsan Akhgari 02b2136122 Bug 1372761 - Avoid needlessly grabbing the timer thread lock when selections change in order to reset the caret timer; r=mats 2017-06-14 17:53:48 -04:00
Bill McCloskey d7df561295 Bug 1372426 - More detailed names for nsInputStreamReadyEvent (r=erahm)
MozReview-Commit-ID: 6beE0eMCxg7
2017-06-14 14:44:04 -07:00
Bob Silverberg d2bd410230 Bug 1362787 - Implement chrome.privacy.websites.referrersEnabled, r=aswan
MozReview-Commit-ID: JGowabu23cG

--HG--
extra : rebase_source : 450828771095b936c911de74224cde54ec319b6a
2017-06-12 13:15:53 -04:00
Sebastian Hengst a4809151b2 Backed out changeset d6be7dc56cc5 (bug 1370580) for failing test-oop-extensions/browser_ext_browserAction_popup_resize.js. r=backout 2017-06-15 19:24:39 +02:00
Jeongkyu Kim 65d67622d4 Bug 1371676 - Improve Sync Notification Titles r=eoger
MozReview-Commit-ID: 5SZJpicDuXC

--HG--
extra : rebase_source : 6fa58119de3814026dd92615fce2c3e28e096a6a
2017-06-13 21:26:58 +09:00
Nils Ohlmeier [:drno] 4252852455 Bug 1373144: turn multiple msid's error into warning. r=bwc
MozReview-Commit-ID: 5jxHFAsbvRf

--HG--
extra : rebase_source : 5ac29c3dc12f4b8f24846a9d50cccaf2df66bb7c
2017-06-14 22:25:36 -07:00
Nils Ohlmeier [:drno] f6cddda6c5 Bug 1373103: log TCP read callback log message only if more then 5 callback are pending. r=mjf
MozReview-Commit-ID: E0oAG89XGwg

--HG--
extra : rebase_source : 21d14ddd28d819a498fce03d1b484e5a82e22a0d
2017-06-14 18:35:59 -07:00
Mark Banner 3309e57749 Bug 1372496 - Speed up bookmarks.eraseEverything and bookmarks.remove APIs by handling updating of frencencies outside of the main transaction. r=mak
MozReview-Commit-ID: FuSLHB23yNt

--HG--
extra : rebase_source : 8b08d11ba04845711335ac72d1974c93705b67bd
2017-06-15 11:38:22 +01:00
Mike de Boer 5704197fbf Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : f142e3dbba0d70effe129dad43f139e494070d82
2017-06-15 12:49:18 +02:00
Andrew Sutherland 13e936cdab Bug 1345421 - Part 2: Ensure mOriginsHavingData is up-to-date via flushing. r=baku
The intermittent failure appears to have been due to mOriginsHavingData
only being updated when the db thread flushes.  The db thread has a
hard-coded 5 second flush interval.  It's likely that e10s startup was
previously so slow that we were assured of having a flush happen by the
time our fresh process created its parent actor.

We correct this by reliably ensuring a flush before spinning up the
process to check preload state.  We also ensure a flush at the start of
the test for our check that there was no preload in the initial cases.
We were actually more vulnerable in that case, I believe, but as a
browser chrome test, there were no other tests that would have used
content localStorage.

We additionally ensure that the content process has received and
populated mOriginsHavingData by having the tab opening process wait for
about:blank to load in the process before actually opening our origin.
Prior to this change we were depending on orderings that aren't
guaranteed.

--HG--
extra : rebase_source : 92d3c675cee82ffe8b562e83860601e0c6dc1a9b
2017-06-12 04:52:21 -04:00
Andrew Sutherland c742aa9555 Bug 1345421 - Part 1: Clean up mechanism used to create fresh processes. r=baku
Bug 1345990 introduced a "forceNewProcess" argument in
BrowserTestUtils.openNewForegroundTab.  By switching to this we can
stop bloating the process count pref to try and produce equivalent
results.  To minimize test churn and because it doesn't really hurt to
double-check, the code that asserts that our tabs are each in different
processes and related book-keeping infrastructure have been left intact.

We also set a preference to disable preallocated processes in the interest
of maximizing test consistency and minimizing breakage.  It's conceivable
that a preallocated process might end up creating its StorageDBParent
actor prior to when we want, breaking things.  By ensuring the process
isn't created until we want it, we avoid a lot of brittleness.

--HG--
extra : rebase_source : 5736f7b2d06b720cefbe82eb6052e71b9fc14f23
2017-06-12 03:17:17 -04:00
Olli Pettay 0bb08227bb Bug 1372042 - Add telemetry about running collectors during idle time, r=mccr8 2017-06-14 23:41:22 +03:00