Commit Graph

50199 Commits

Author SHA1 Message Date
Ben Kelly
cab3fd4eb2 Bug 1271905 P1 Don't crash if a closed cache::ReadableStream is serialized. r=asuth 2016-05-12 07:29:20 -07:00
Sebastian Hengst
5bd0507354 Backed out changeset e8354c6f439c (bug 1272182) for missing latest updates. r=backout request by developer 2016-05-12 13:40:42 +02:00
Sebastian Hengst
266bbbd332 Backed out changeset d5eac62c7880 (bug 1272182) 2016-05-12 13:39:36 +02:00
Jean-Yves Avenard
9bc456e050 Bug 1272182: P2. Reject upfront videos for which we have no decoder. r=cpearce
Similar logic with audio tracks, but those are ignored instead.

MozReview-Commit-ID: 6p9ej66aFgD

--HG--
extra : rebase_source : 0d696fed85bc53feabfe248e9ae16c5380e70261
2016-05-12 12:00:21 +10:00
Jean-Yves Avenard
ff6e5b2b5f Bug 1272182: P1. Ignore invalid video tracks. r=cpearce
MozReview-Commit-ID: BdCdLkCMBRt

--HG--
extra : rebase_source : c83e636f9d34d909ed1f9c086eb89af1391a5adb
2016-05-12 11:42:20 +10:00
Sebastian Hengst
acc64686c7 Backed out changeset 3ff28843a8f8 (bug 1088761) for failing form-validation-reportValidity.html on OSX 10.10 debug. r=backout 2016-05-12 13:19:22 +02:00
Sebastian Hengst
bf7ef7a9a1 Backed out changeset 403d9c085544 (bug 1088761) 2016-05-12 13:19:15 +02:00
Sebastian Hengst
64bc0da725 Backed out changeset f757f585e618 (bug 1088761) 2016-05-12 13:19:08 +02:00
Jean-Yves Avenard
88d66c4a43 Bug 1271490: Use MediaPrefs to read preferences. r=cpearce
MozReview-Commit-ID: Ak5mUfGA4kc

--HG--
extra : rebase_source : 8ac6e232081bbf512354f006bd5ae78c09240924
2016-05-10 11:27:05 +10:00
Jean-Yves Avenard
d31cb0499b Bug 1206637: P2. Replace all cached preferences with MediaPrefs ones. r=cpearce
Additionally, clean up stray and unused Preferences.h header.

MozReview-Commit-ID: IcPrD2inkDE

--HG--
extra : rebase_source : c3c6e37767627db3601090c2855a3dfa98cb4368
2016-05-10 11:02:28 +10:00
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
John Dai
4971a1fd72 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
--HG--
extra : rebase_source : 027f8d8e7aa2ebbec5561dd83149b19c16814665
2016-05-11 04:26:00 +02:00
John Dai
def16ce1d5 Bug 1088761 - Support reportValidity() for form controls. r=smaug
--HG--
extra : rebase_source : 56206e694b413ad1afdd7ded5dd12ef3a0d296f1
2016-05-11 04:24:00 +02:00
John Dai
b0ac1b27cb Bug 1088761 - Remove redundant trailing spaces. r=smaug
--HG--
extra : rebase_source : aea196343737511284cbe3ea2c7fc052987a8c85
2016-05-11 04:23:00 +02:00
Alastor Wu
e24e5bdcbd Bug 1269672 - part4 : remake audio and modify test. r=jwwang.
MozReview-Commit-ID: BM691tnmVNd
2016-05-12 15:05:09 +08:00
Alastor Wu
2d52873a0d Bug 1269672 - part2 : move audible data checking from MDSM to DecodedAudioDataSink.
MozReview-Commit-ID: 8uYJ9UA2Jf2
2016-05-12 14:18:53 +08:00
Alastor Wu
5a7ed4aa14 Bug 1269672 - part1 : revert sampling rate changing of the bug1235612.
MozReview-Commit-ID: GxwaZ8qUk1z
2016-05-12 14:15:34 +08:00
Morris Tseng
8d74a6e68f Bug 1268155 - GetAsSourceSurface might return nullptr, let's handle it. r=jgilbert
MozReview-Commit-ID: 6uH9esA2PqC
2016-05-12 14:08:24 +08:00
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano
b2a210c268 Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
MozReview-Commit-ID: 98G9UMv4qqj

--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
Masayuki Nakano
1663e01f1f Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
MozReview-Commit-ID: FHUaUOE5eIB

--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Masayuki Nakano
0902859a3a Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
MozReview-Commit-ID: JaE0S7BIgVF

--HG--
extra : rebase_source : 2d0f80e49dfd09cecc7ab3c85d2496308055d434
2016-05-12 11:36:41 +09:00
Takahiro Aoyagi
75f4ef756f Bug 1259669 Rename WidgetCommandEvent::command to WidgetCommandEvent::mCommand r=masayuki
--HG--
extra : rebase_source : 75298d438e6c6c77113ba252c955bc084f216015
2016-05-12 13:28:31 +09:00
Masayuki Nakano
a369570d88 Backout bug 1259669 due to commited with wrong user name
--HG--
extra : rebase_source : eec830244783ded2e16bbe1e123849fbab0b3c8e
2016-05-12 13:23:43 +09:00
Phil Ringnalda
c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Kaku Kuo
99248811be Bug 1271581 - use newCurrentTime, instead of GetMediaTime() to decide the nextState; r=jwwang
MozReview-Commit-ID: K7VCHFEMxib

--HG--
extra : transplant_source : %94%AD%12%26%DFf%97Cf%06%19%B4%C0%00%9Ak%88%B3%84%BF
2016-05-10 17:53:42 +08:00
Thomas Nguyen
7a6cb90bcf Bug 1261298 - W3C referrer policy attribute is not passed to image. r=jdm
MozReview-Commit-ID: 3S642wheFu1

--HG--
extra : transplant_source : 8%5B%3Eu%40%D2%26%F4%C4%BF4%A2%EDu%0C%D1.%19%C5%86
2016-05-11 09:38:05 +08:00
JerryShih
cadb8c6cb7 Bug 1256572 - update DataSourceSurface usage. r=bas
Update for Moz2D interface change.

We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
Jean-Yves Avenard
d4512b29ea Bug 1270154: P1. Forget the media element's media-resource-specific tracks when error occurs. r=jwwang
MozReview-Commit-ID: BFpw2sS7aa7

--HG--
extra : rebase_source : 70dc3a468341c57cef1baefefea66902e66b07ae
2016-05-11 21:18:46 +10:00
Seth Fowler
1678f1d3bb Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange 2016-05-11 19:27:27 -07:00
Seth Fowler
180fb0583d Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange 2016-05-11 19:27:27 -07:00
JW Wang
1039567f4e Bug 1271517. Part 2 - remove use of FlushableTaskQueue. r=jya.
MozReview-Commit-ID: 8pkErp6UjC5
2016-05-11 11:30:57 +08:00
JW Wang
92da48deee Bug 1271517. Part 1 - remove use of FlushableTaskQueue::Flush() from FFmpegDataDecoder::Flush(). r=jya.
MozReview-Commit-ID: 2jAyXo2P6p7
2016-05-11 11:30:55 +08:00
Xidorn Quan
efc89967ed Bug 1269157 - Add Document.fullscreen attribute. r=smaug
MozReview-Commit-ID: 7mMjGoc7cvA

--HG--
extra : source : 0a5755272461d84a6a8082ca706d10b1ece84bc6
2016-05-12 10:28:56 +10:00
Xidorn Quan
adac331402 Bug 1268798 part 4 - Mark Document.fullscreenElement and fullscreenEnabled with LenientSetter. r=smaug
MozReview-Commit-ID: B2F2sCLm0G8

--HG--
extra : source : be1844a64bb5207f84692a9a2ed73c2dacb45aa9
2016-05-12 10:28:56 +10:00
Xidorn Quan
114633161f Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
MozReview-Commit-ID: 61wybyS36KE

--HG--
extra : source : 98e1ae5fa2ddf5308fba6e09b47cbb831c60ac8a
2016-05-12 10:28:56 +10:00
Xidorn Quan
fe0ed0d00a Bug 1268798 part 2 - Add result summary for WebIDL parser test. r=khuey
MozReview-Commit-ID: DMgATDa9yXX

--HG--
extra : source : 94aba7834b4c813251b8a8714ef7a9b10b1f3603
2016-05-12 10:28:56 +10:00
Xidorn Quan
82fa51890c Bug 1268798 part 1 - Fix exception whitelist in WebIDL parser. r=khuey
MozReview-Commit-ID: 5rBXjHgQuGd

--HG--
extra : source : 0fbdf91d6cec99db9baf0646c372da0f5cb664e4
2016-05-12 10:28:56 +10:00
Matt Woodrow
96fd641cc2 Bug 881832 - Fix test_bug602962.xul to not assume that resizes have finished flushing when the resize event fires. r=tnikkel
--HG--
extra : rebase_source : 435b12ae6f61e63d2f0cb421a7a06e50ed2f2e14
2016-05-12 12:09:50 +12:00
Mats Palmgren
e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Dan Glastonbury
526fdd85f6 Bug 1224973 - Part 5: Implement suspend decoding for background video. r=cpearce,jwwang,jya
Implemented by short-circuiting calls to RequestVideoData in MDSM so no
frames are decoded. Resuming playback when video moves to foreground by
using the SeekTask/SeekJob/Seek in MDSM with result of GetMediaTime().

Special consideration is made to only seek the video part of Seek() to
remove an audible glitch in the audio playback when the video becomes
visible again.

MozReview-Commit-ID: 7YFDTanslXu
2016-05-12 09:54:15 +10:00
Dan Glastonbury
26d0966736 Bug 1224973 - Part 4: Pref media.suspend-bkgnd-video.enabled. r=cpearce,jwwang
Pref to control feature. Enabled at request of :cpearce.

MozReview-Commit-ID: 7Ci7mNqugOh
2016-05-12 09:54:00 +10:00
Dan Glastonbury
78730160f5 Bug 1224973 - Part 3: Plumb element visibility into MDSM. r=jya,jwwang
change MediaDecoder::mIsVisible to be a Canonical<bool> and plumb through to
the MediaDecoderStateMachine.  This will be used to trigger suspending the
decoding of video frames.

MozReview-Commit-ID: F3Dpf0ogE7c
2016-05-12 09:53:51 +10:00
Dan Glastonbury
9f98a19f8c Bug 1224973 - Part 2: Set MediaDecoder visibility via NotifyOwnerActivityChanged. r=cpearce,jwwang
Make MediaDecoder::SetElementVisibility private.

MozReview-Commit-ID: GjCuSNPalkE
2016-05-12 09:53:02 +10:00
Dan Glastonbury
d4be2cf480 Bug 1224973 - Part 1: Remove MediaDecoderOwner->IsHidden(). r=cpearce,jwwang
Used only by dormant mode calculations, remove IsHidden() and replace with
mIsVisible in MediaDecoder.

MozReview-Commit-ID: CksjiXsbsrb
2016-05-12 09:52:43 +10:00
Jeff Gilbert
80f726ea0b Bug 1271478 - Implement WebGLContextCreationError. - r=jrmuizel,smaug,mtseng 2016-05-11 16:45:43 -07:00
David Keeler
3a4d7b486c bug 883718 - remove nsIEntropyCollector and implementation r=mgoodwin,mrbkap
The rationale behind nsIEntropyCollector was to supplement NSS' source of
entropy with randomness from mouse move events. This obviously doesn't work on
platforms without a mouse (e.g. mobile platforms). Furthermore, as NSS seeds its
random number generator with robust randomness from the operating system, this
is unnecessary anyway. The primary concern is that initialization of the random
number generator must happen after forking, which is exactly what we do with the
child process in e10s mode.

MozReview-Commit-ID: GYQDElSCZy0

--HG--
extra : rebase_source : 6273a78203121c4d4ddf3ed97451f393ceef4b88
2016-05-10 16:24:44 -07:00
Kyle Huey
406bdf1bee Bug 1272066: Slap the compiler. r=khuey 2016-05-11 11:46:36 -07:00
Kyle Huey
b6e81a079e Bug 1267819: Revalidate the state of the world after processing control runnables. r=baku 2016-05-11 11:45:58 -07:00
Wes Kocher
5949ec87d1 Bug 1272066 - Try to stop assertions until a better fix can land rs=khuey
--HG--
extra : rebase_source : 188bad42f87f23026315146d059fc36fbe07063c
2016-05-11 11:37:59 -07:00