Commit Graph

487289 Commits

Author SHA1 Message Date
cku
631a8b1efe Bug 1235015 - A mochitest to verify the return value of mask shorthand. r=dbaron
MozReview-Commit-ID: BH2jy3U8Yvh

--HG--
extra : rebase_source : 904db7ecdd6bc85fc29061b3af308a0b6cc7da4c
2016-06-03 19:28:05 +08:00
cku
7454a40dfc Bug 1295062 - Fix mask-position initial value in nsRuleNode::ComputeSVGResetData. r=astley,heycam
MozReview-Commit-ID: EvbSdG0xLtV

--HG--
extra : rebase_source : b5922cd9576564d7abbbf5f285aa7970de109f45
2016-08-15 15:33:03 +08:00
Manish Goregaokar
0b438b8b77 Bug 1295895 - Correctly capitalize StyleFillRule; r=heycam
MozReview-Commit-ID: ZfHrllA9QV

--HG--
extra : rebase_source : d9b9303d21b3fb5977247ae403caabfd54d666f8
2016-08-17 12:13:26 +05:30
Mark Banner
df79c0ef5e Bug 1295169 - Remove licenses previously associated with Loop. r=gerv
MozReview-Commit-ID: F4GGq128Y5v

--HG--
extra : rebase_source : 4eba9d4926079b23c00731840f71d258faf8489c
2016-07-27 12:23:51 +01:00
Masayuki Nakano
7bacea600f Bug 1295354 part.2 ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't use empty text node as far as possible r=smaug
JS can create empty text nodes. Therefore, ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't use it for computing retrieving a text frame (Although, such text nodes shouldn't have primary frames).

MozReview-Commit-ID: EJAthEpNZNU

--HG--
extra : rebase_source : ccd05b46911077daa855a5c085839fd14aadc2ee
2016-08-17 14:50:19 +09:00
Masayuki Nakano
0283c8daef Bug 1295354 part.1 ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't set nextNodeOfRangeEnd to the start node of aRange because the start node should always be in the range r=smaug
nextNodeOfRangeEnd is used for excluding unnecessary node for computing text rect.  When aRange ends at start of a text node, the frames which are created for the text node shouldn't be used.  However, if the end node of aRange is same as the start node of aRange, the node is not outside of aRange.

This could occur when it's called with empty range or there are some empty text nodes.

MozReview-Commit-ID: C1yCN5WrULe

--HG--
extra : rebase_source : 35d5b8feecd351bef29fe4af79a0f6f5bdad8bec
2016-08-16 14:37:40 +09:00
Alexandre Lissy
0ce8616941 Bug 1295516 - Do not build B2G with RTSP enabled r?
MozReview-Commit-ID: heTGRgh3am

--HG--
extra : rebase_source : 3c64aeece2a7ea608b8cb9baa70eb01317c8ca3b
2016-08-16 11:24:44 +02:00
Dan Glastonbury
0c1756a66f Bug 1295844 - Add webm testing files to video decode suspend tests. r=gerald
Test files transcoded from gizmo.mp4 using:
ffmpeg -i gizmo.mp4 -vcodec vp9 -acodec opus gizmo.webm
ffmpeg -i gizmo.webm -vcodec copy -an gizmo-noaudio.webm

MozReview-Commit-ID: 4OB8G9NtS7A

--HG--
extra : rebase_source : e43b586371fae927d0e997064169e2e56de6b476
2016-08-17 13:04:35 +10:00
Wes Kocher
45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Phil Ringnalda
74f4a938ed Backed out 2 changesets (bug 1287643) for xpcshell failures in test_notification_ack.js and friends
Backed out changeset 816516be0183 (bug 1287643)
Backed out changeset e72a4a5ae5ff (bug 1287643)
2016-08-16 21:28:51 -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
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