Commit Graph

542007 Commits

Author SHA1 Message Date
Fernando Jiménez Moreno
2c72d1419f servo: Merge #17324 - stylo: set location for NestedRuleParser during prelude parsing (from ferjm:bug1371393.column); r=SimonSapin
From https://bugzilla.mozilla.org/show_bug.cgi?id=1371393

Source-Repo: https://github.com/servo/servo
Source-Revision: b0392dbf39d36f19cd16ec06e29b6aca6e6135e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2d9901d5de8634c9656453b7755a0d42f5b75e28
2017-06-15 01:36:22 -07:00
Sebastian Hengst
768c6d1b63 merge mozilla-central to autoland. r=merge a=merge 2017-06-15 11:15:42 +02:00
Sebastian Hengst
a964b1b3bb Backed out changeset 30424746d0f7 (bug 1370296) for build bustage, failing test_recursivemake.py. r=backout 2017-06-14 09:48:58 +02:00
Sebastian Hengst
fee544138e Backed out changeset b27d3da9e60e (bug 1370296) 2017-06-14 09:48:19 +02:00
Sebastian Hengst
c567bc5197 Backed out changeset 32edaa349976 (bug 1370296) 2017-06-14 09:48:14 +02:00
Brian Birtles
4358805216 Bug 1371518 - Update test expectations; r=hiro
MozReview-Commit-ID: Bdx8ENT4nna

--HG--
extra : rebase_source : 4ba26705c4c96946854f428514a08cb4d198ed1c
2017-06-14 15:24:23 +09:00
Brian Birtles
22d0b7d971 Bug 1371518 - Make KeyframeUtils::IsAnimatable consult the Servo backend; r=hiro
When styling with the Servo backend, we should also use the Servo backend to
determine if a property is animatable or not. However, if we do this,
Servo_Property_IsAnimatable will start returning true for the 'display' property
once we mark that as animatable in Servo (for SMIL).

Even if we later fail to actually animate 'display' (due checks added to Servo
in the next patch) we still need to treat 'display' as un-animatable in
KeyframeUtils so that we don't *read* the 'display' property of Keyframe objects
passed to the Animations API, since that is observable.

This patch makes us consult Servo_Property_IsAnimatable when using the Servo
backend and also explicitly treat the 'display' property as not animatable.

MozReview-Commit-ID: 1JllbeJisAS

--HG--
extra : rebase_source : d73b7d9ee0da03bfed68e574b67e10b342c1868d
2017-06-14 15:23:45 +09:00
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