Commit Graph

487235 Commits

Author SHA1 Message Date
Andrea Marchesini
248823da76 Bug 1264053 - MessagePort should support transferable objects in multi-e10s - part 2, r=sfink 2016-08-17 07:54:00 +02:00
Andrea Marchesini
a183983968 Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv 2016-07-21 15:29:42 +02:00
Bob Clary
faa4e6f42c Bug 1295138 - remove expected assertion from test_chrometoSource.xul, r=nfroyd 2016-08-16 22:26:40 -07:00
Bob Clary
b6f6651c5e Bug 1295138 - Change NS_ASSERTION(false, "Existing entry in StartupCache.") to a NS_WARNING, r=nfroyd 2016-08-16 22:26:40 -07:00
David Anderson
47faa17e03 Don't initialize DirectX in the UI process, when the GPU process is enabled. (bug 1294986 part 2, r=mattwoodrow) 2016-08-16 11:03:29 -07:00
David Anderson
4198f82d06 Disable the GPU process when not using Electrolysis. (bug 1294986 part 1, r=mattwoodrow) 2016-08-16 11:00:01 -07:00
Wes Kocher
c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Jonathan Chan
b35975ec17 Bug 1293739 - Part 2: Rename nsCSSPropertySet to nsCSSPropertyIDSet. r=dholbert
The previous patch in this series renamed nsCSSProperty to nsCSSPropertyID.
This patch renames nsCSSPropertySet to nsCSSPropertyIDSet accordingly.

This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSPropertySet\b/nsCSSPropertyIDSet/g' -i''

Then:

  hg mv layout/style/nsCSSPropertySet.h layout/style/nsCSSPropertyIDSet.h

... and finally, manually renaming nsCSSPropertySet in the include guard in
nsCSSPropertyIDSet.h.

(NOTE: Re-landing this patch on a CLOSED TREE to correctly-address the merge bustage that closed the tree.)

MozReview-Commit-ID: ASUNs7FWbKP

--HG--
rename : layout/style/nsCSSPropertySet.h => layout/style/nsCSSPropertyIDSet.h
2016-08-16 18:46:58 -07:00
Jonathan Chan
4b87f11bd9 Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-16 18:37:48 -07:00
Gregory Szorc
1794619188 Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.

CLOSED TREE

--HG--
extra : amend_source : 927e1cdfa8e55ccbd873d404d905caf6871c8c4f
extra : histedit_source : 07095868c3f767258e1d7d2645193bf4811b13bb%2Ca49ae5a28bf6e67298b6208ee9254c25a2539712
2016-08-16 17:50:40 -07:00
Wes Kocher
1df863dbfc Merge bustage fix between bug 1293739 and bug 1277433 a=me CLOSED TREE
--HG--
extra : amend_source : fb7a11b75b874aec7658aca0a6978363279bce80
2016-08-16 17:31:12 -07:00
Wes Kocher
48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Wes Kocher
073e095b66 Merge fx-team to central, a=merge CLOSED TREE 2016-08-16 16:37:28 -07:00
Wes Kocher
29f8ebb92a Backed out changeset 9e24eb751c21 (bug 1291946) for android debug mda1 failures CLOSED TREE 2016-08-16 12:22:20 -07:00
Wes Kocher
f378fa54b1 Backed out changeset f8d33a975228 (bug 1295197) for being a possible cause of crashtest assertions CLOSED TREE 2016-08-16 11:22:23 -07:00
Wes Kocher
57773cd69e Backed out 4 changesets (bug 1295192) for being a possible cause of crashtest assertions CLOSED TREE
Backed out changeset 7f10779fe019 (bug 1295192)
Backed out changeset e683dce4197a (bug 1295192)
Backed out changeset 67d12eaa8074 (bug 1295192)
Backed out changeset 44f143a01f78 (bug 1295192)
2016-08-16 11:22:04 -07:00
Mason Chang
6478db3b8a Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE 2016-08-16 09:17:25 -07:00
Jeff Walden
c07ca36127 Bug 1174386 - Fix a rebase-induced pointer-to-bool conversion error. r=bustage in a CLOSED TREE 2016-08-16 09:08:00 -07:00
Mason Chang
423fb81bd4 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Sebastian Hengst
8505f067f2 Backed out changeset bc160abe215b (bug 1282070) for docshell leakage in browser_visibleFindSelection.js. r=backout 2016-08-16 16:05:45 +02:00
Ian Stakenvicius
1f75b211c2 Bug 1282843 - Add ability to specify system paths to @old_configure_options. r=glandium 2016-08-16 09:42:00 -04:00
Andrea Marchesini
01bf6ba4a1 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
ctai
6127c90007 Bug 1140675 - Enable test_bug879717.html on windows. r=jwwang.
MozReview-Commit-ID: Enl9fCqHhYN

--HG--
extra : rebase_source : 2b0345d1e2b2d8cfc31a10057daeef0708492621
2016-08-15 16:07:04 +08:00
Sylvestre Ledru
4d1e5235dd Bug 1294650 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r=aklotz
MozReview-Commit-ID: re4nqi94vk

--HG--
extra : rebase_source : b7df4f51335da611b29c0bf94801e748d0b38ecb
2016-08-12 10:45:37 +02:00
Daisuke Akatsuka
04a02cc919 Bug 1277433 - Part 7: Remove eStyleAnimType_EnumU8 related codes. r=birtles
MozReview-Commit-ID: nVN8r0QK4u

--HG--
extra : rebase_source : 81ba3ce1007858de497e620ba04e60b2d6be19b1
2016-08-16 14:30:16 +09:00
Daisuke Akatsuka
0341859607 Bug 1277433 - Part 6: Add tests that were eStyleAnimType_EnumU8. r=birtles
MozReview-Commit-ID: 3JL6whAD7KH

--HG--
extra : rebase_source : f0f5d1de98dd75b42338ff573ec01eeb738ce12e
2016-08-16 14:30:16 +09:00
Daisuke Akatsuka
2ce1433b3f Bug 1277433 - Part 5: Replace eStyleAnimType_EnumU8 to eStyleAnimType_Discrete. r=birtles
MozReview-Commit-ID: IeQQ9rdcWD2

--HG--
extra : rebase_source : 5ffaec107853a42bf2b8c637e60707ca62cd3a92
2016-08-16 14:30:16 +09:00
Daisuke Akatsuka
b179aa1d62 Bug 1277433 - Part 4: Add CSS Animation tests. r=birtles
MozReview-Commit-ID: 12CdohazBTS

--HG--
extra : rebase_source : 87a6e17b33241d3db230137f4478357df5a8d4f0
2016-08-16 14:30:15 +09:00
Daisuke Akatsuka
4f5ae2e0ce Bug 1277433 - Part 3: Add tests for CSS Flexbox. r=birtles
MozReview-Commit-ID: 6ozB69Mzy5Z

--HG--
rename : testing/web-platform/tests/web-animations/animation-model/animation-types/animation-types.html => testing/web-platform/tests/web-animations/animation-model/animation-types/type-per-property.html
extra : rebase_source : 86c50e8c9373c83875c4eaf92aff749263d606cc
2016-08-16 14:30:15 +09:00
Daisuke Akatsuka
5cf35f38c1 Bug 1277433 - Part 2: Add tests for CSS Alignment. r=birtles
MozReview-Commit-ID: DrFjQzSmiI8

--HG--
extra : rebase_source : 18623b1d79ceff80d5172a39eb98d0e04a06ba6c
2016-08-16 14:30:15 +09:00
Daisuke Akatsuka
095d7039ae Bug 1277433 - Part 1: Use discrete animation for appropriate CSS Alignment properties. r=dholbert,heycam
MozReview-Commit-ID: BHtzuwJOuB5

--HG--
extra : rebase_source : 975720e6ce68743ab8915a62f8f8cda48ee69340
2016-08-16 14:29:21 +09:00
Mark Hammond
e895d544ee Bug 1295410 - ensure we don't pass string objects for GUIDs to PlacesSyncUtils. r=kitcambridge
MozReview-Commit-ID: 8muV3ltTfSx

--HG--
extra : rebase_source : 3a7f7aa5d529a387f5c151a07b1f573c4b6e9eb0
2016-08-16 13:05:50 +10:00
Jonathan Hao
cb6f7338c9 Bug 1294237 - Set userContextId when DOMContentLoaded before updateBrowserRemoteness. r=mconley
--HG--
extra : rebase_source : 48e73358f0dd8ebbcfe139bee9dfb734cee4dc43
2016-08-12 02:10:00 -04:00
Benoit Chabod
e6a3dde98e Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
MozReview-Commit-ID: 860epGLFO9
2016-08-16 21:56:14 -05:00
Kershaw Chang
9eedf3c0a7 Bug 1295063 - Send reconnect command when NotifyConnected. r=smaug
--HG--
extra : rebase_source : e6ef7aa0852dbbb7de3214d38ca77899cb60f042
2016-08-16 19:32:00 -04:00
bechen
931402dd2f Bug 1291629 - Remove RTSP code. r=jwwang
MozReview-Commit-ID: AxaLwO4rTuY

--HG--
extra : rebase_source : f8a5de1be1471238d62b6bbc419b3a45f2590da6
2016-08-10 10:32:25 +08:00
Manish Goregaokar
41f64b0230 Bug 1275913 - Add Borrowed types for sharing arcs with Rust; r=bholley
MozReview-Commit-ID: 8FyVPXRogDV

--HG--
extra : rebase_source : 57880ce82632b75fd7e4ad760a6c85ead91639a1
2016-08-16 10:40:05 +05:30
Manish Goregaokar
f054dcd843 Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
MozReview-Commit-ID: 5FDS8J2Fo1G

--HG--
extra : rebase_source : d58c4a9ceeaa64c522bd25452d607e3593eab619
2016-08-16 10:38:46 +05:30
Masayuki Nakano
c02794dda5 Bug 1293957 part.3 TSFTextStore::GetTextExt() shouldn't query text rect with 0 length r=m_kato
ContentEventHandler and ContentCache allow 0 length text rect query.  However, if selection is collapsed and caret is at the queried offset, they return actual caret rect whose height (in horizontal layout, width in vertical layout) may be different from actual font height of the line.

Therefore, it may cause "dancing" of candidate or suggest window of TIP.  Therefore, we should query text rect at least 1 length.  Then, even if there is no character at the offset, they computes caret rect with previous character.

MozReview-Commit-ID: 9LprWTPyMsF

--HG--
extra : rebase_source : c0dfad35bcc1961948e21c8b50b21cdf218ba966
2016-08-11 11:31:16 +09:00
Masayuki Nakano
1e9c136ec4 Bug 1293957 part.2 TSFTextStore::GetTextExt() shouldn't return TS_E_NOLAYOUT after hacking the query range r=m_kato
When TSFTextStore::GetTextExt() needs to hack the queried range, it means that the method should not return TS_E_NOLAYOUT since the hacks are implemented for that.  However, currently, if hacked offset is still at modified offset, it returns TS_E_NOLAYOUT.  This causes flicking IME windows.

For avoiding that, this patch adjust the hacked offset to the last unmodified offset or offset of the start of composition string. Even if there is no modified character in the composition string, we can use the offset since even if there is no character at the offset, query content event returns caret rect at the offset and if there are old characters, it returns its rect which the user still see.  So, the rect at the composition start is useful until layout is modified actually.

MozReview-Commit-ID: 4zo9mF3m9u9

--HG--
extra : rebase_source : 6dd15b62422b85edf04150f15caaca45d7bc3600
2016-08-10 19:11:11 +09:00
Masayuki Nakano
2aaddf71a7 Bug 1293957 part.1 TSFTextStore::Content::mMinTextModifiedOffset should be treated as the first offset of modified characters r=m_kato
Currently, TSFTextStore::GetTextExt() checks the offset with mContentForTSF.MinOffsetOfLayoutChanged() as "the first offset of modified characters", however, TSFTextStore::Content::IsLayoutChangedAfter() needs actual offset - 1. This is really not useful. So, we should rename it to IsLayoutChangedAt() and check the offset simply.

Additonally, TSFTextStore::GetTextExt() should set previous offset of MinOffsetOfLayoutChanged() when it hacks the queried range for avoiding bug of active TIP since setting offsets to the result of MinOffsetOfLayoutChanged() means the offset's layout is always not computed yet.

MozReview-Commit-ID: 182BMuubtFc

--HG--
extra : rebase_source : 65355fc4e488592f59dfc0b44806571ff0b87cd6
2016-08-10 18:48:50 +09:00
Piyush Sinha
7e1a93b672 Bug 1274167 - Add Linter(flake8) support for Firefox-ui and Puppeteer.r=whimboo
MozReview-Commit-ID: Ga3iaEH54yH

--HG--
extra : rebase_source : 264c275f6e4bf8feaa2a65479aba43ca1e2cd27e
2016-08-15 02:16:18 +05:30
Boris Chiou
2721920a34 Bug 1293106 - Ignore 'spacing' if dom.animations-api.core.enabled is false. r=birtles
MozReview-Commit-ID: K7hbCjLP6vB

--HG--
extra : rebase_source : 0e774faec05527c2267ae1df48db55856b6b6c75
2016-08-10 17:58:49 +08:00
Phil Ringnalda
0ba1763460 Backed out 2 changesets (bug 1275913) for static analysis bustage
CLOSED TREE

Backed out changeset 4420244e8fba (bug 1275913)
Backed out changeset 324554b04f19 (bug 1275913)
2016-08-15 22:27:16 -07:00
Manish Goregaokar
f1013b42d3 Bug 1275913 - Add Borrowed types for sharing arcs with Rust; r=bholley
MozReview-Commit-ID: 8FyVPXRogDV

--HG--
extra : rebase_source : b6fde5464138b5956982ec148822adacd55d7427
2016-08-16 10:40:05 +05:30
Manish Goregaokar
3f96d89612 Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
MozReview-Commit-ID: 5FDS8J2Fo1G

--HG--
extra : rebase_source : ecbcb3c2eff5a390a24ab97f93899c87a463c791
2016-08-16 10:38:46 +05:30
Manish Goregaokar
6519960758 Bug 1295177 - Convert STYLE_FILL_RULE_* to an enum class; r=xidorn
MozReview-Commit-ID: HnNFNyD4oVJ

--HG--
extra : rebase_source : 12dcee0023ec66a49ea2db673bb5ac85cd006c1e
2016-08-15 21:47:04 +05:30
Chris Pearce
3940f4a605 Bug 1258870 - Don't push late video frames to the compositor, drop them. r=jwwang
We can get out of A/V sync if the decode is struggling to keep up. This is
because of the loop in VideoSink::UpdateRenderedVideoFrames(). If this function
runs while there's only one frame in the video queue, we won't drop that one
frame if it's late. If we're struggling to keep up, it's increasingly likely
that we'll end up running this function with only one frame in the video queue.
That results in us entering VideoSink::RenderVideoFrames() with only 1 late
frame, which the compositor dutifully draws. Resulting in a late frame being
drawn, and thus broken A/V sync.

This change makes VideoSink::UpdateRenderedVideoFrames() drop all late
frames, even the last one in the video queue. We now keep A/V sync when the
decode is struggling to keep up. However, if I do this, we end up dropping
(and reporting that we drop) a lot more frames, and thus rendering a lot fewer.
But since we when we drop the frames we report them as dropped, a well written
MSE player can detect that we've failing miserably to keep up, and and lower
their bitrate.




MozReview-Commit-ID: ybkq48mKk2

--HG--
extra : rebase_source : f03c186059a365a45de698b2a30e632daae47fb8
2016-08-15 13:35:52 +12:00
Ting-Yu Lin
151d2fc6c8 Bug 1294628 - Replace block reflow input flags with a bit fields struct. r=dholbert
MozReview-Commit-ID: 2ZSm9hTrsuh

--HG--
extra : rebase_source : 2d44e6c8e1856274d466ed1c523ff6cbf793b4e7
2016-08-12 15:28:45 +08:00
Phil Ringnalda
d8ad3d3bc3 Back out 26a015091dbc (bug 1293212) for OS X failures in /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.html 2016-08-15 19:42:54 -07:00