Commit Graph

53498 Commits

Author SHA1 Message Date
Bobby Holley
c0ad82fd11 Bug 1295370 - Add missing include. r=ehsan
Including this header without this causes compilation problems.
2016-08-17 12:46:49 -07:00
Kirk Steuber
63f152486c Bug 1206133 - Add popuppositioning state and popuppositioned event to improve arrow panel position handling. r=enn, r=adw
MozReview-Commit-ID: 6YPRbRB5RBX

--HG--
extra : rebase_source : 2995788c80a25c242d0b94edd0792b4bf3ce978d
2016-08-16 15:33:05 -07:00
Olli Pettay
89332bbcd3 Bug 1295922 - <input type=file webkitdirectory>.click() doesn't work. r=baku
--HG--
extra : rebase_source : cc42f9aa791ec7a694870b9dc933f034e40430d6
2016-08-17 17:59:53 +03:00
Thomas Wisniewski
b6193832b6 Bug 1295128 - Log attempts to use SetRequestHeader to set a forbidden header to the web console. r=mrbkap
--HG--
extra : rebase_source : 9d135eeac085afa8568e2ec00882ba4f691436e9
2016-08-16 11:32:49 -04:00
Thomas Wisniewski
fe6139c017 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
--HG--
extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
2016-08-17 00:11:24 -04:00
Wes Kocher
b7ea1393f2 Backed out 3 changesets (bug 1286476) for frequent windows wpt failures in phases-and-states.html CLOSED TREE
Backed out changeset 53bbfa02d45d (bug 1286476)
Backed out changeset 3947ab570883 (bug 1286476)
Backed out changeset ffd8c37eb695 (bug 1286476)
2016-08-17 10:41:46 -07:00
Dan Minor
3de6cf478f Bug 1281382 - Fix setTargetAtTime using incorrect starting value when earlier event is skipped; r=karlt
This updates mLastComputedValue when removing events during the call to
CleanupEventsOlderThan.

MozReview-Commit-ID: 1Veyv8kLIna

--HG--
extra : rebase_source : 9ee9aeb458b60316f93616e3310ad26f9e85e79c
2016-08-12 14:57:19 -04:00
Edwin Flores
29a30711a0 Bug 1272123 - Limit the size of CanvasRenderingContext2D::mStyleStack - r=mstange 2016-08-17 09:26:11 +01:00
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
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
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
29f8ebb92a Backed out changeset 9e24eb751c21 (bug 1291946) for android debug mda1 failures CLOSED TREE 2016-08-16 12:22:20 -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
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
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
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
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
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
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
JW Wang
f59d74c259 Bug 1295146 - add assertions to debug null-deref. r=jya
MozReview-Commit-ID: 966DpcaT1p8

--HG--
extra : rebase_source : 79a1079161880771bb17bcfbb5786a53b298d060
2016-08-16 09:38:29 +08:00
JW Wang
1558178790 Bug 1294636 - Use macro to simplify the member initialization list of MediaDecoder. r=gerald
MozReview-Commit-ID: LdIXPTKuecf

--HG--
extra : rebase_source : 938b8e4efc8d8f89dc75acf17317888a304d5c27
2016-08-12 15:04:49 +08:00
JW Wang
454fa83d3d Bug 1294615. Part 2 - Refactor MDSM::SetDormant() to remove unnecessary checks for mQueuedSeek.Exists() and mCurrentSeek.Exists(). r=kaku
We've proven that when seek is in action, mQueuedSeek.Exists() is always false and mCurrentSeek.Exists() is always true.

MozReview-Commit-ID: CxNU45NXG88

--HG--
extra : rebase_source : 893dbe33cb2f66b9a0bc7ddb03afb40f06d574d0
2016-08-11 17:33:07 +08:00
JW Wang
7e467b7cda Bug 1294615. Part 1 - Assert mQueuedSeek.Exists() is false in InitiateSeek(). r=kaku
InitiateSeek() is called from several places where we can prove mQueuedSeek.Exists() is false:
1. MaybeFinishDecodeFirstFrame(): mQueuedSeek is moved when calling InitiateSeek().
2. Seek() rejects mQueuedSeek before calling InitiateSeek().
3. StartDecoding(): mQueuedSeek is moved when calling InitiateSeek().
4. VisibilityChanged(): it doesn't call InitiateSeek() when mQueuedSeek.Exists() is true.

MozReview-Commit-ID: BriPw0VID5O

--HG--
extra : rebase_source : 1417b108eab1cf9cf332e55e77077d7947505d27
2016-08-11 16:07:45 +08:00
Arthur Edelstein
215601494b Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden, r=baku
--HG--
extra : rebase_source : 09f66db9914cdf865388669082f3efaca37ce558
2016-08-08 13:33:39 -07:00
Sebastian Hengst
167156e726 Backed out changeset 2d5975fd02bd (bug 1288770) for asserting in ErrorResult.h when test test_errorPropagation.html runs. r=backout 2016-08-16 17:11:22 +02:00
Jessica Jong
5a9b39d967 Bug 1278738 - Add 'week' to the list of valid types attributes for <input>. r=smaug 2016-08-15 23:15:00 -04:00
Ethan Lin
18475abfbc Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical 2016-08-15 23:54:00 -04:00
Marcos Caceres
7be5df61f7 Bug 1295434 - Typo in test in file test_picture_apng.html. r=heycam 2016-08-15 23:53:00 -04:00
Bevis Tseng
b17713a4cb Bug 1271500 - Binary Key Support. r=janv
--HG--
extra : rebase_source : 3762fa91b4c068d7d0158a55911bc3f13b47a93f
2016-08-12 15:03:59 +08:00
ctai
d8858a2e5e Bug 1291946 - Call mozCapturedStreamXXX in onloadedmetadata callback. r=pehrsons
MozReview-Commit-ID: 6gLa4OYT9v2

--HG--
extra : rebase_source : 11d367a49f7e2151253000f2f7519a7e2dd9a11e
2016-08-15 14:46:30 +08:00
ctai
32a45cd487 Bug 1291946 - Append the latest video frames from updateTracks. r=jesup, r=pehrsons
In some cases, we need to resend missed VideoSegment to new added MediaStreamVideoSink. Append the latest video frames from updateTracks.

MozReview-Commit-ID: 76RFs5fgKpY

--HG--
extra : rebase_source : 1b1e4e60e0653cbf4ef21abf364239514cf171c5
2016-08-10 10:31:14 +08:00
Aryeh Gregor
0ba196de55 Bug 1211894 - Throw on range.insertNode(range.startContainer); r=smaug 2016-08-16 15:52:06 +03:00
Andrea Marchesini
6e070dd30b Bug 1288903 - PushManager should create arrayBuffers and keys using the target window, r=kcambridge 2016-08-16 11:15:45 +02:00
Andrea Marchesini
b3d116ff7e Bug 1286487 - WorkerProxyToMainThreadRunnable must keep alive workers using WorkerHolder - part 2, r=me 2016-08-16 09:35:21 +02:00
Andrea Marchesini
780f93ea66 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
Andrea Marchesini
9e6f27182c Bug 898728 - Blob should be invalidated when the window is destroyed, r=smaug 2016-08-16 08:07:53 +02:00
Andrea Marchesini
858757497c Bug 1288561 - nsAttrAndChildArray::GrowBy() must check the return value of mozilla::CeilingLog2, r=njn 2016-08-16 08:04:59 +02:00
Andrea Marchesini
0ba6bcc1bb Bug 1286487 - WorkerProxyToMainThreadRunnable must keep alive workers using WorkerHolder, r=bkelly 2016-07-23 08:31:31 +02:00
Phil Ringnalda
54ad5f454e Back out 6493296521fb (bug 1294607) for crashtest crashes in 1246775-1.html 2016-08-15 20:54:50 -07:00
Ethan Lin
93ca898ab6 Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical 2016-08-11 20:26:00 -04:00
Anthony Jones
bccc9225cc Bug 1287397 - Fix wave chunk size overflow. r=cpearce
MozReview-Commit-ID: Dg1OT13urxe

--HG--
extra : source : 7545a33148f1b87ed695ed67ee880f0c36817e7d
2016-08-09 13:34:58 +12:00
Nicholas Nethercote
ca40b738e4 Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.

The patch also removes a handful of redundant checks on infallible setters.

--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00